openmrs 10.0.1-pre.5752 → 11.0.0

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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 24 files with swc (126.75ms)
1
+ [0] Successfully compiled: 24 files with swc (129.76ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
File without changes
@@ -0,0 +1,312 @@
1
+
2
+  RUN  v4.1.2 /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/tooling/openmrs
3
+
4
+ ✓ src/utils/importmap.test.ts (42 tests) 166ms
5
+ ✓ src/commands/assemble.test.ts (35 tests) 185ms
6
+ ✓ src/utils/compress.test.ts (32 tests) 1208ms
7
+ ✓ src/commands/assemble.integration.test.ts (6 tests) 202ms
8
+ ✓ src/cli.test.ts (30 tests) 547ms
9
+ ✓ src/utils/packages.test.ts (12 tests) 111ms
10
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > serves a rewritten index.html with development env and configUrls
11
+ [HPM] Proxy created: (path) => {
12
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
13
+ } -> https://dev3.openmrs.org
14
+
15
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > serves the inline importmap at /importmap.json
16
+ [HPM] Proxy created: (path) => {
17
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
18
+ } -> https://dev3.openmrs.org
19
+
20
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > serves the inline routes at /routes.registry.json
21
+ [HPM] Proxy created: (path) => {
22
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
23
+ } -> https://dev3.openmrs.org
24
+
25
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > serves config files at the local config URL prefix
26
+ [HPM] Proxy created: (path) => {
27
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
28
+ } -> https://dev3.openmrs.org
29
+
30
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > serves static assets from the app shell dist directory
31
+ [HPM] Proxy created: (path) => {
32
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
33
+ } -> https://dev3.openmrs.org
34
+
35
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with default spaPath (/openmrs/spa) > does not serve importmap.json from static assets when importmap is inline
36
+ [HPM] Proxy created: (path) => {
37
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
38
+ } -> https://dev3.openmrs.org
39
+
40
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with custom spaPath > serves the rewritten index.html under the custom spaPath
41
+ [HPM] Proxy created: (path) => {
42
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
43
+ } -> https://dev3.openmrs.org
44
+
45
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with custom spaPath > serves the inline importmap under the custom spaPath
46
+ [HPM] Proxy created: (path) => {
47
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
48
+ } -> https://dev3.openmrs.org
49
+
50
+ stdout | src/commands/develop.integration.test.ts > runDevelop > with custom spaPath > serves the inline routes under the custom spaPath
51
+ [HPM] Proxy created: (path) => {
52
+ return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
53
+ } -> https://dev3.openmrs.org
54
+
55
+ ✓ src/commands/develop.integration.test.ts (9 tests) 517ms
56
+ ✓ src/utils/untar.test.ts (11 tests) 263ms
57
+ ✓ src/utils/port.test.ts (16 tests) 42ms
58
+ ✓ src/utils/dependencies.test.ts (8 tests) 53ms
59
+ ✓ src/utils/config.test.ts (16 tests) 27ms
60
+ ✓ src/utils/npmConfig.test.ts (6 tests) 34ms
61
+ stdout | src/commands/start.integration.test.ts > runStart > serves the app shell index.html at the spa path
62
+ [HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
63
+
64
+ stdout | src/commands/start.integration.test.ts > runStart > serves static JS bundles from the app shell dist
65
+ [HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
66
+
67
+ stdout | src/commands/start.integration.test.ts > runStart > serves static CSS files from the app shell dist
68
+ [HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
69
+
70
+ stdout | src/commands/start.integration.test.ts > runStart > returns index.html for catch-all routes (SPA routing)
71
+ [HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
72
+
73
+ ✓ src/commands/start.integration.test.ts (4 tests) 410ms
74
+ ✓ src/utils/helpers.test.ts (15 tests) 39ms
75
+ ✓ src/utils/logger.test.ts (3 tests) 21ms
76
+ ✓ src/utils/variables.test.ts (4 tests) 13ms
77
+ ✓ src/utils/port.integration.test.ts (1 test) 29ms
78
+ stdout | src/commands/build.integration.test.ts > runBuild > produces a complete build with correct index.html content
79
+ assets by path fonts/*.woff2 1.04 MiB
80
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
81
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
82
+ + 88 assets
83
+ assets by info 2.03 MiB [immutable]
84
+ assets by path *.js 1.99 MiB 67 assets
85
+ assets by path *.css 40.4 KiB 2 assets
86
+ assets by path *.png 64.8 KiB
87
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
88
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
89
+ + 6 assets
90
+ + 5 assets
91
+ orphan modules 9.73 MiB (javascript) 746 bytes (runtime) [orphan] 2301 modules
92
+ runtime modules 21.5 KiB 19 modules
93
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
94
+ javascript modules 7.7 MiB 245 modules
95
+ json modules 152 KiB
96
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
97
+ + 41 modules
98
+ css modules 46.1 KiB 25 modules
99
+ provide-module modules 630 bytes
100
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
101
+ + 10 modules
102
+ consume-shared-module modules 630 bytes
103
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
104
+ + 10 modules
105
+
106
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
107
+ │ Assets:
108
+ │ a1a16a579c86ecfa.js (660.791 KiB)
109
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
110
+ │ aaa273e703996a0f.js (557.227 KiB)
111
+ 
112
+
113
+ Rspack 1.7.9 compiled with 1 warning in 11.07 s
114
+
115
+ stdout | src/commands/build.integration.test.ts > runBuild > produces at least one hashed JS bundle named openmrs.<hash>.js
116
+ assets by path fonts/*.woff2 1.04 MiB
117
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
118
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
119
+ + 88 assets
120
+ assets by info 2.03 MiB [immutable]
121
+ assets by path *.js 1.99 MiB 67 assets
122
+ assets by path *.css 40.4 KiB 2 assets
123
+ assets by path *.png 64.8 KiB
124
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
125
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
126
+ + 6 assets
127
+ + 5 assets
128
+ orphan modules 9.73 MiB (javascript) 1.07 KiB (runtime) [orphan] 2301 modules
129
+ runtime modules 21.1 KiB 19 modules
130
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
131
+ javascript modules 7.7 MiB 245 modules
132
+ json modules 152 KiB
133
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
134
+ + 41 modules
135
+ css modules 46.1 KiB 25 modules
136
+ provide-module modules 630 bytes
137
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
138
+ + 10 modules
139
+ consume-shared-module modules 630 bytes
140
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
141
+ + 10 modules
142
+
143
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
144
+ │ Assets:
145
+ │ a1a16a579c86ecfa.js (660.791 KiB)
146
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
147
+ │ aaa273e703996a0f.js (557.227 KiB)
148
+ 
149
+
150
+ Rspack 1.7.9 compiled with 1 warning in 9.77 s
151
+
152
+ stdout | src/commands/build.integration.test.ts > runBuild > produces at least one CSS file
153
+ assets by path fonts/*.woff2 1.04 MiB
154
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
155
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
156
+ + 88 assets
157
+ assets by info 2.03 MiB [immutable]
158
+ assets by path *.js 1.99 MiB 67 assets
159
+ assets by path *.css 40.4 KiB 2 assets
160
+ assets by path *.png 64.8 KiB
161
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
162
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
163
+ + 6 assets
164
+ + 5 assets
165
+ orphan modules 9.73 MiB (javascript) 1.07 KiB (runtime) [orphan] 2301 modules
166
+ runtime modules 21.1 KiB 19 modules
167
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
168
+ javascript modules 7.7 MiB 245 modules
169
+ json modules 152 KiB
170
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
171
+ + 41 modules
172
+ css modules 46.1 KiB 25 modules
173
+ provide-module modules 630 bytes
174
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
175
+ + 10 modules
176
+ consume-shared-module modules 630 bytes
177
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
178
+ + 10 modules
179
+
180
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
181
+ │ Assets:
182
+ │ a1a16a579c86ecfa.js (660.791 KiB)
183
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
184
+ │ aaa273e703996a0f.js (557.227 KiB)
185
+ 
186
+
187
+ Rspack 1.7.9 compiled with 1 warning in 12.51 s
188
+
189
+ stdout | src/commands/build.integration.test.ts > runBuild > copies config files from configPaths to the target directory
190
+ assets by path fonts/*.woff2 1.04 MiB
191
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
192
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
193
+ + 88 assets
194
+ assets by info 2.03 MiB [immutable]
195
+ assets by path *.js 1.99 MiB 67 assets
196
+ assets by path *.css 40.4 KiB 2 assets
197
+ assets by path *.png 64.8 KiB
198
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
199
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
200
+ + 6 assets
201
+ + 5 assets
202
+ orphan modules 9.73 MiB (javascript) 1.22 KiB (runtime) [orphan] 2303 modules
203
+ runtime modules 21 KiB 17 modules
204
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
205
+ javascript modules 7.7 MiB 245 modules
206
+ json modules 152 KiB
207
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
208
+ + 41 modules
209
+ css modules 46.1 KiB 25 modules
210
+ provide-module modules 630 bytes
211
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
212
+ + 10 modules
213
+ consume-shared-module modules 630 bytes
214
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
215
+ + 10 modules
216
+
217
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
218
+ │ Assets:
219
+ │ a1a16a579c86ecfa.js (660.791 KiB)
220
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
221
+ │ aaa273e703996a0f.js (557.227 KiB)
222
+ 
223
+
224
+ Rspack 1.7.9 compiled with 1 warning in 7.63 s
225
+
226
+ stdout | src/commands/build.integration.test.ts > runBuild > emits precompressed siblings for its own output and for pre-existing assembled files
227
+ assets by path fonts/*.woff2 1.04 MiB
228
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
229
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
230
+ + 88 assets
231
+ assets by info 2.03 MiB [immutable]
232
+ assets by path *.js 1.99 MiB 67 assets
233
+ assets by path *.css 40.4 KiB 2 assets
234
+ assets by path *.png 64.8 KiB
235
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
236
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
237
+ + 6 assets
238
+ + 5 assets
239
+ orphan modules 9.73 MiB (javascript) 1.24 KiB (runtime) [orphan] 2303 modules
240
+ runtime modules 21 KiB 17 modules
241
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
242
+ javascript modules 7.7 MiB 245 modules
243
+ json modules 152 KiB
244
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
245
+ + 41 modules
246
+ css modules 46.1 KiB 25 modules
247
+ provide-module modules 630 bytes
248
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
249
+ + 10 modules
250
+ consume-shared-module modules 630 bytes
251
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
252
+ + 10 modules
253
+
254
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
255
+ │ Assets:
256
+ │ a1a16a579c86ecfa.js (660.791 KiB)
257
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
258
+ │ aaa273e703996a0f.js (557.227 KiB)
259
+ 
260
+
261
+ Rspack 1.7.9 compiled with 1 warning in 7.99 s
262
+
263
+ stdout | src/commands/build.integration.test.ts > runBuild > resolves a hashed importmap filename when the exact file does not exist
264
+ assets by path fonts/*.woff2 1.04 MiB
265
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2 19.6 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [copied]
266
+ asset fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2 19.3 KiB [emitted] [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [copied]
267
+ + 88 assets
268
+ assets by info 2.03 MiB [immutable]
269
+ assets by path *.js 1.99 MiB 67 assets
270
+ assets by path *.css 40.4 KiB 2 assets
271
+ assets by path *.png 64.8 KiB
272
+ asset logo-512.png 15.5 KiB [emitted] [from: logo-512.png] [copied]
273
+ asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
274
+ + 6 assets
275
+ + 5 assets
276
+ orphan modules 9.73 MiB (javascript) 724 bytes (runtime) [orphan] 2301 modules
277
+ runtime modules 21.5 KiB 19 modules
278
+ cacheable modules 7.84 MiB (javascript) 46.1 KiB (css/mini-extract) 630 bytes (share-init) 630 bytes (consume-shared)
279
+ javascript modules 7.7 MiB 245 modules
280
+ json modules 152 KiB
281
+ ../../framework/esm-translations/translations/am.json 3.42 KiB [built] [code generated]
282
+ + 41 modules
283
+ css modules 46.1 KiB 25 modules
284
+ provide-module modules 630 bytes
285
+ modules by path provide shared module (default) swr/ 210 bytes 5 modules
286
+ + 10 modules
287
+ consume-shared-module modules 630 bytes
288
+ modules by path consume shared module (default) swr/ 210 bytes 5 modules
289
+ + 10 modules
290
+
291
+ WARNING in âš  asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
292
+ │ Assets:
293
+ │ a1a16a579c86ecfa.js (660.791 KiB)
294
+ │ openmrs.f542494f33fc3fd1.css (1.016 MiB)
295
+ │ aaa273e703996a0f.js (557.227 KiB)
296
+ 
297
+
298
+ Rspack 1.7.9 compiled with 1 warning in 3.07 s
299
+
300
+ ✓ src/commands/build.integration.test.ts (6 tests) 69128ms
301
+ ✓ produces a complete build with correct index.html content  15077ms
302
+ ✓ produces at least one hashed JS bundle named openmrs.<hash>.js  12338ms
303
+ ✓ produces at least one CSS file  16041ms
304
+ ✓ copies config files from configPaths to the target directory  10115ms
305
+ ✓ emits precompressed siblings for its own output and for pre-existing assembled files  11868ms
306
+ ✓ resolves a hashed importmap filename when the exact file does not exist  3686ms
307
+
308
+  Test Files  18 passed (18)
309
+  Tests  256 passed (256)
310
+  Start at  17:23:47
311
+  Duration  73.52s (transform 2.16s, setup 638ms, import 6.21s, tests 73.00s, environment 19ms)
312
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmrs",
3
- "version": "10.0.1-pre.5752",
3
+ "version": "11.0.0",
4
4
  "license": "MPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -51,10 +51,10 @@
51
51
  "homepage": "https://github.com/openmrs/openmrs-esm-core#readme",
52
52
  "dependencies": {
53
53
  "@inquirer/prompts": "8.3.2",
54
- "@openmrs/carbon-css-guard": "10.0.1-pre.5752",
55
- "@openmrs/esm-app-shell": "10.0.1-pre.5752",
56
- "@openmrs/rspack-config": "10.0.1-pre.5752",
57
- "@openmrs/webpack-config": "10.0.1-pre.5752",
54
+ "@openmrs/carbon-css-guard": "11.0.0",
55
+ "@openmrs/esm-app-shell": "11.0.0",
56
+ "@openmrs/rspack-config": "11.0.0",
57
+ "@openmrs/webpack-config": "11.0.0",
58
58
  "@pnpm/npm-conf": "^3.0.2",
59
59
  "@rspack/cli": "1.7.9",
60
60
  "@rspack/core": "1.7.9",
@@ -106,6 +106,5 @@
106
106
  "cross-env": "^10.1.0",
107
107
  "rimraf": "^6.1.3",
108
108
  "vitest": "^4.1.2"
109
- },
110
- "stableVersion": "10.0.0"
109
+ }
111
110
  }