@openmrs/esm-user-onboarding-app 4.0.1-pre.129 → 4.0.1-pre.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"name":"tutorials","slot":"help-menu-slot","component":"tutorial","online":true,"offline":true}],"modals":[{"name":"tutorial-modal","component":"tutorialModal"}],"pages":[{"component":"root","route":true}],"version":"4.0.1-pre.129"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"name":"tutorials","slot":"help-menu-slot","component":"tutorial","online":true,"offline":true}],"modals":[{"name":"tutorial-modal","component":"tutorialModal"}],"pages":[{"component":"root","route":true}],"version":"4.0.1-pre.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-user-onboarding-app",
3
- "version": "4.0.1-pre.129",
3
+ "version": "4.0.1-pre.3",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An OpenMRS microfrontend for user onboarding walkthroughs",
6
6
  "browser": "dist/openmrs-esm-user-onboarding-app.js",
@@ -55,7 +55,7 @@
55
55
  "devDependencies": {
56
56
  "@openmrs/esm-framework": "next",
57
57
  "@openmrs/esm-styleguide": "next",
58
- "@playwright/test": "1.44.0",
58
+ "@playwright/test": "^1.52.0",
59
59
  "@swc/cli": "^0.3.12",
60
60
  "@swc/core": "^1.3.68",
61
61
  "@swc/jest": "^0.2.36",
@@ -0,0 +1,43 @@
1
+ import { execSync } from 'node:child_process';
2
+
3
+ try {
4
+ // NB for other places use '@openmrs/*@next'; here we want to ignore patient-common-lib
5
+ execSync(`yarn up --fixed '@openmrs/esm-framework@next' 'openmrs@next'`, {
6
+ stdio: ['ignore', 'inherit', 'inherit'],
7
+ windowsHide: true,
8
+ });
9
+ } catch (error) {
10
+ console.error(`Error while updating dependencies: ${error.message ?? error}`);
11
+ process.exit(1);
12
+ }
13
+
14
+ try {
15
+ execSync(`yarn dedupe`, {
16
+ stdio: ['ignore', 'inherit', 'inherit'],
17
+ windowsHide: true,
18
+ });
19
+ } catch (error) {
20
+ console.error(`Error while deduplicating dependencies: ${error.message ?? error}`);
21
+ process.exit(1);
22
+ }
23
+
24
+ try {
25
+ execSync(`git diff-index --quiet HEAD --`, {
26
+ stdio: 'ignore',
27
+ windowsHide: true,
28
+ });
29
+ process.exit(0);
30
+ } catch (error) {
31
+ // git diff-index --quite HEAD --
32
+ // exits with status 1 if there are changes; we only need to run yarn verify if there are changes
33
+ }
34
+
35
+ try {
36
+ execSync(`yarn verify`, {
37
+ stdio: ['ignore', 'inherit', 'inherit'],
38
+ windowsHide: true,
39
+ });
40
+ } catch (error) {
41
+ console.error(`Error while running yarn verify: ${error.message ?? error}. Updates require manual intervention.`);
42
+ process.exit(1);
43
+ }
package/tsconfig.json CHANGED
@@ -14,7 +14,8 @@
14
14
  "es2015.promise",
15
15
  "es2016.array.include",
16
16
  "es2018",
17
- "es2020"
17
+ "es2020",
18
+ "es2022"
18
19
  ],
19
20
  "resolveJsonModule": true,
20
21
  "noEmit": true,