From 612b3fddcc02b02949b82b2711ed2bfa196dbb42 Mon Sep 17 00:00:00 2001 From: Zac Butko Date: Wed, 7 Sep 2022 14:53:48 -0700 Subject: [PATCH 1/4] Guide version bump --- docs/main/upgrade_3_to_4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/main/upgrade_3_to_4.md b/docs/main/upgrade_3_to_4.md index f620966cf..fb802dce4 100644 --- a/docs/main/upgrade_3_to_4.md +++ b/docs/main/upgrade_3_to_4.md @@ -41,10 +41,10 @@ and then run the app shell using `yarn run:shell`. ### Running your Frontend Module In your checked-out frontend module, upgrade the `openmrs` and `@openmrs/esm-framework` -packages to version `4.0.0-pre` (use `4.x` once `4.0.0` is released). +packages to version `4.0.1` or later ```sh -yarn upgrade openmrs@4.0.0-pre @openmrs-esm-framework@4.0.0-pre +yarn upgrade 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). From 97632a3a716f5ed8bda38791f348806d1896fa2e Mon Sep 17 00:00:00 2001 From: Zac Butko Date: Thu, 8 Sep 2022 07:08:50 -0700 Subject: [PATCH 2/4] Yarn 3 command --- docs/main/upgrade_3_to_4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/main/upgrade_3_to_4.md b/docs/main/upgrade_3_to_4.md index fb802dce4..c2f306e2a 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). From 6167d2160a8ec99b96c5e5cbfbc83bd4f7dc523f Mon Sep 17 00:00:00 2001 From: Zac Butko Date: Thu, 8 Sep 2022 07:11:47 -0700 Subject: [PATCH 3/4] Command that actually works --- docs/main/upgrade_3_to_4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/main/upgrade_3_to_4.md b/docs/main/upgrade_3_to_4.md index c2f306e2a..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 up 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). From a085f0e78d4b97ba91ecfc8491679990362fd9f4 Mon Sep 17 00:00:00 2001 From: Zac Butko Date: Thu, 8 Sep 2022 07:12:02 -0700 Subject: [PATCH 4/4] bump importmap.json --- .../esm-app-shell/src/assets/importmap.json | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) 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" } }