Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(docs) Update migration guide - yarn 3 #527

Merged
merged 5 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/main/upgrade_3_to_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ In your checked-out frontend module, upgrade the `openmrs` and `@openmrs/esm-fra
packages to version `4.0.1` or later

```sh
yarn upgrade openmrs@next @openmrs-esm-framework@next
yarn up openmrs@next @openmrs/esm-framework@next
```

In `openmrs-esm-core` run `yarn run:shell`. Then in your frontend module run `yarn serve` your frontend module and load it using the [import map overrides UI](https://o3-dev.docs.openmrs.org/#/getting_started/setup?id=import-map-overrides).
Expand Down
50 changes: 25 additions & 25 deletions packages/shell/esm-app-shell/src/assets/importmap.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"imports": {
"@openmrs/esm-home-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-home-app/2022-08-11_81257fcc34e36cfc0488a76fc661852e74a8de3d/openmrs-esm-home-app.js",
"@openmrs/esm-form-entry-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-form-entry-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-form-entry-app.js",
"@openmrs/esm-patient-chart-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-chart-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-chart-app.js",
"@openmrs/esm-patient-registration-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-registration-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-patient-registration-app.js",
"@openmrs/esm-patient-biometrics-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-biometrics-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-biometrics-app.js",
"@openmrs/esm-patient-banner-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-banner-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-banner-app.js",
"@openmrs/esm-patient-appointments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-appointments-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-appointments-app.js",
"@openmrs/esm-patient-forms-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-forms-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-forms-app.js",
"@openmrs/esm-patient-vitals-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-vitals-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-vitals-app.js",
"@openmrs/esm-patient-immunizations-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-immunizations-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-immunizations-app.js",
"@openmrs/esm-patient-notes-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-notes-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-notes-app.js",
"@openmrs/esm-patient-medications-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-medications-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-medications-app.js",
"@openmrs/esm-patient-conditions-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-conditions-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-conditions-app.js",
"@openmrs/esm-patient-attachments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-attachments-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-attachments-app.js",
"@openmrs/esm-patient-programs-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-programs-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-programs-app.js",
"@openmrs/esm-patient-allergies-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-allergies-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-allergies-app.js",
"@openmrs/esm-patient-test-results-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-test-results-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-patient-test-results-app.js",
"@openmrs/esm-home-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-home-app/2022-09-02_7be305da7bd6a5fdc9a9ebef0af85002e802bcaa/openmrs-esm-home-app.js",
"@openmrs/esm-form-entry-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-form-entry-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-form-entry-app.js",
"@openmrs/esm-patient-chart-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-chart-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-chart-app.js",
"@openmrs/esm-patient-registration-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-registration-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-patient-registration-app.js",
"@openmrs/esm-patient-biometrics-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-biometrics-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-biometrics-app.js",
"@openmrs/esm-patient-banner-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-banner-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-banner-app.js",
"@openmrs/esm-patient-appointments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-appointments-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-appointments-app.js",
"@openmrs/esm-patient-forms-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-forms-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-forms-app.js",
"@openmrs/esm-patient-vitals-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-vitals-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-vitals-app.js",
"@openmrs/esm-patient-immunizations-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-immunizations-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-immunizations-app.js",
"@openmrs/esm-patient-notes-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-notes-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-notes-app.js",
"@openmrs/esm-patient-medications-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-medications-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-medications-app.js",
"@openmrs/esm-patient-conditions-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-conditions-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-conditions-app.js",
"@openmrs/esm-patient-attachments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-attachments-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-attachments-app.js",
"@openmrs/esm-patient-programs-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-programs-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-programs-app.js",
"@openmrs/esm-patient-allergies-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-allergies-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-allergies-app.js",
"@openmrs/esm-patient-test-results-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-test-results-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-patient-test-results-app.js",
"@openmrs/esm-patient-clinical-view-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-clinical-view-app/2022-04-08_b28254252a120ac5468d9a2a16e03db05d3bfe99/openmrs-esm-patient-clinical-view-app.js",
"@openmrs/esm-patient-search-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-search-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-patient-search-app.js",
"@openmrs/esm-patient-list-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-list-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-patient-list-app.js",
"@openmrs/esm-active-visits-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-active-visits-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-active-visits-app.js",
"@openmrs/esm-generic-patient-widgets-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-generic-patient-widgets-app/2022-08-19_b1c844ce541d1ba45b37e5ff0da428703ed1f241/openmrs-esm-generic-patient-widgets-app.js",
"@openmrs/esm-outpatient-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-outpatient-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-outpatient-app.js",
"@openmrs/esm-fast-data-entry-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-fast-data-entry-app/2022-08-16_98cf1a86b503f35abeef074f4b18d18732bc459c/openmrs-esm-fast-data-entry-app.js",
"@openmrs/esm-appointments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-appointments-app/2022-08-19_d2edea9716a48bfc15e498a5272a2930c67d1d41/openmrs-esm-appointments-app.js",
"@openmrs/esm-cohort-builder-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-cohort-builder-app/2022-08-20_e3dc6668fc218144cb61593668a05f5a4b866566/openmrs-esm-cohort-builder-app.js"
"@openmrs/esm-patient-search-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-search-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-patient-search-app.js",
"@openmrs/esm-patient-list-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-patient-list-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-patient-list-app.js",
"@openmrs/esm-active-visits-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-active-visits-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-active-visits-app.js",
"@openmrs/esm-generic-patient-widgets-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-generic-patient-widgets-app/2022-09-08_ade7330fbc8f7cbb9ad078b2290af03f654b8732/openmrs-esm-generic-patient-widgets-app.js",
"@openmrs/esm-outpatient-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-outpatient-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-outpatient-app.js",
"@openmrs/esm-fast-data-entry-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-fast-data-entry-app/2022-09-02_2ecb69af2aa2a5e0791b6e5cfa80b2afd8b39fa7/openmrs-esm-fast-data-entry-app.js",
"@openmrs/esm-appointments-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-appointments-app/2022-09-08_940ca8dbf856f18fd321ed7e9d7ed521986dbafa/openmrs-esm-appointments-app.js",
"@openmrs/esm-cohort-builder-app": "https://spa-modules.nyc3.cdn.digitaloceanspaces.com/@openmrs/esm-cohort-builder-app/2022-08-27_d5a90946761f82527831098eab689fe5838b10f2/openmrs-esm-cohort-builder-app.js"
}
}