From 3ce2216a0872b866b7c6f9b0d27feb54b5a12cb8 Mon Sep 17 00:00:00 2001 From: Zac Butko Date: Thu, 8 Sep 2022 07:26:06 -0700 Subject: [PATCH] (docs) Update migration guide - yarn 3 (#527) --- docs/main/upgrade_3_to_4.md | 2 +- .../esm-app-shell/src/assets/importmap.json | 50 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/main/upgrade_3_to_4.md b/docs/main/upgrade_3_to_4.md index fb802dce4..d9c9fff57 100644 --- a/docs/main/upgrade_3_to_4.md +++ b/docs/main/upgrade_3_to_4.md @@ -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). diff --git a/packages/shell/esm-app-shell/src/assets/importmap.json b/packages/shell/esm-app-shell/src/assets/importmap.json index 2a5f39fb3..60fbe5931 100644 --- a/packages/shell/esm-app-shell/src/assets/importmap.json +++ b/packages/shell/esm-app-shell/src/assets/importmap.json @@ -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" } }