openmrs 11.0.0 → 11.0.1-pre.5771
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/.turbo/turbo-build.log +1 -1
- package/dist/commands/assemble.d.ts.map +1 -1
- package/dist/commands/assemble.js +11 -3
- package/package.json +7 -6
- package/src/commands/assemble.test.ts +32 -2
- package/src/commands/assemble.ts +7 -2
- package/.turbo/turbo-lint.log +0 -0
- package/.turbo/turbo-test.log +0 -312
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assemble.d.ts","sourceRoot":"","sources":["../../src/commands/assemble.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"assemble.d.ts","sourceRoot":"","sources":["../../src/commands/assemble.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AA6QD,wBAAsB,WAAW,CAAC,IAAI,EAAE,YAAY,iBAwInD"}
|
|
@@ -119,13 +119,21 @@ async function downloadPackage(esmName, esmVersion, baseDir, fetchOptions) {
|
|
|
119
119
|
return Buffer.from(await response.arrayBuffer());
|
|
120
120
|
} else {
|
|
121
121
|
const packageName = esmVersion ? `${esmName}@${esmVersion}` : esmName;
|
|
122
|
-
|
|
122
|
+
// shared so that tarball() downloads from the same packument manifest() resolved against
|
|
123
|
+
const packumentCache = new Map();
|
|
124
|
+
const tarManifest = await pacote.manifest(packageName, {
|
|
125
|
+
...fetchOptions,
|
|
126
|
+
packumentCache
|
|
127
|
+
});
|
|
123
128
|
if (!Boolean(tarManifest) || !Boolean(tarManifest._resolved) || !Boolean(tarManifest._integrity)) {
|
|
124
129
|
throw new Error(`Failed to load manifest for ${packageName} from registry ${fetchOptions.registry}`);
|
|
125
130
|
}
|
|
126
|
-
return pacote.tarball(
|
|
131
|
+
return pacote.tarball(packageName, {
|
|
127
132
|
...fetchOptions,
|
|
128
|
-
|
|
133
|
+
packumentCache,
|
|
134
|
+
resolved: tarManifest._resolved,
|
|
135
|
+
integrity: tarManifest._integrity,
|
|
136
|
+
ignoreScripts: true
|
|
129
137
|
});
|
|
130
138
|
}
|
|
131
139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openmrs",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.1-pre.5771",
|
|
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": "11.0.
|
|
55
|
-
"@openmrs/esm-app-shell": "11.0.
|
|
56
|
-
"@openmrs/rspack-config": "11.0.
|
|
57
|
-
"@openmrs/webpack-config": "11.0.
|
|
54
|
+
"@openmrs/carbon-css-guard": "11.0.1-pre.5771",
|
|
55
|
+
"@openmrs/esm-app-shell": "11.0.1-pre.5771",
|
|
56
|
+
"@openmrs/rspack-config": "11.0.1-pre.5771",
|
|
57
|
+
"@openmrs/webpack-config": "11.0.1-pre.5771",
|
|
58
58
|
"@pnpm/npm-conf": "^3.0.2",
|
|
59
59
|
"@rspack/cli": "1.7.9",
|
|
60
60
|
"@rspack/core": "1.7.9",
|
|
@@ -106,5 +106,6 @@
|
|
|
106
106
|
"cross-env": "^10.1.0",
|
|
107
107
|
"rimraf": "^6.1.3",
|
|
108
108
|
"vitest": "^4.1.2"
|
|
109
|
-
}
|
|
109
|
+
},
|
|
110
|
+
"stableVersion": "11.0.0"
|
|
110
111
|
}
|
|
@@ -315,8 +315,38 @@ describe('runAssemble', () => {
|
|
|
315
315
|
|
|
316
316
|
expect(mockPacoteManifest).toHaveBeenCalledWith('@openmrs/esm-test-app@1.0.0', expect.any(Object));
|
|
317
317
|
expect(mockPacoteTarball).toHaveBeenCalledWith(
|
|
318
|
-
|
|
319
|
-
expect.objectContaining({
|
|
318
|
+
'@openmrs/esm-test-app@1.0.0',
|
|
319
|
+
expect.objectContaining({
|
|
320
|
+
resolved: 'https://registry.npmjs.org/@openmrs/esm-test-app/-/@openmrs/esm-test-app-1.0.0.tgz',
|
|
321
|
+
integrity: 'sha512-fake',
|
|
322
|
+
ignoreScripts: true,
|
|
323
|
+
}),
|
|
324
|
+
);
|
|
325
|
+
});
|
|
326
|
+
|
|
327
|
+
it('downloads the tarball from the same packument the manifest was resolved from', async () => {
|
|
328
|
+
setupSingleModuleRun('@openmrs/esm-test-app', '1.0.0');
|
|
329
|
+
|
|
330
|
+
await runAssemble(defaultArgs());
|
|
331
|
+
|
|
332
|
+
const manifestCache = (mockPacoteManifest.mock.calls[0][1] as { packumentCache?: unknown }).packumentCache;
|
|
333
|
+
const tarballCache = (mockPacoteTarball.mock.calls[0][1] as { packumentCache?: unknown }).packumentCache;
|
|
334
|
+
expect(manifestCache).toBeInstanceOf(Map);
|
|
335
|
+
expect(tarballCache).toBe(manifestCache);
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
it('never passes the registry-supplied tarball location to pacote as a spec', async () => {
|
|
339
|
+
setupSingleModuleRun('@openmrs/esm-test-app', '1.0.0');
|
|
340
|
+
mockPacoteManifest.mockResolvedValue({
|
|
341
|
+
_resolved: 'git+https://attacker.test/x.git',
|
|
342
|
+
_integrity: 'sha512-fake',
|
|
343
|
+
} as unknown as Awaited<ReturnType<typeof pacote.manifest>>);
|
|
344
|
+
|
|
345
|
+
await runAssemble(defaultArgs());
|
|
346
|
+
|
|
347
|
+
expect(mockPacoteTarball).toHaveBeenCalledWith(
|
|
348
|
+
'@openmrs/esm-test-app@1.0.0',
|
|
349
|
+
expect.objectContaining({ resolved: 'git+https://attacker.test/x.git' }),
|
|
320
350
|
);
|
|
321
351
|
});
|
|
322
352
|
|
package/src/commands/assemble.ts
CHANGED
|
@@ -182,15 +182,20 @@ async function downloadPackage(
|
|
|
182
182
|
return Buffer.from(await response.arrayBuffer());
|
|
183
183
|
} else {
|
|
184
184
|
const packageName = esmVersion ? `${esmName}@${esmVersion}` : esmName;
|
|
185
|
-
|
|
185
|
+
// shared so that tarball() downloads from the same packument manifest() resolved against
|
|
186
|
+
const packumentCache = new Map();
|
|
187
|
+
const tarManifest = await pacote.manifest(packageName, { ...fetchOptions, packumentCache });
|
|
186
188
|
|
|
187
189
|
if (!Boolean(tarManifest) || !Boolean(tarManifest._resolved) || !Boolean(tarManifest._integrity)) {
|
|
188
190
|
throw new Error(`Failed to load manifest for ${packageName} from registry ${fetchOptions.registry}`);
|
|
189
191
|
}
|
|
190
192
|
|
|
191
|
-
return pacote.tarball(
|
|
193
|
+
return pacote.tarball(packageName, {
|
|
192
194
|
...fetchOptions,
|
|
195
|
+
packumentCache,
|
|
196
|
+
resolved: tarManifest._resolved,
|
|
193
197
|
integrity: tarManifest._integrity,
|
|
198
|
+
ignoreScripts: true,
|
|
194
199
|
});
|
|
195
200
|
}
|
|
196
201
|
}
|
package/.turbo/turbo-lint.log
DELETED
|
File without changes
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
[1m[46m RUN [49m[22m [36mv4.1.2 [39m[90m/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/tooling/openmrs[39m
|
|
3
|
-
|
|
4
|
-
[32m✓[39m src/utils/importmap.test.ts [2m([22m[2m42 tests[22m[2m)[22m[32m 166[2mms[22m[39m
|
|
5
|
-
[32m✓[39m src/commands/assemble.test.ts [2m([22m[2m35 tests[22m[2m)[22m[32m 185[2mms[22m[39m
|
|
6
|
-
[32m✓[39m src/utils/compress.test.ts [2m([22m[2m32 tests[22m[2m)[22m[33m 1208[2mms[22m[39m
|
|
7
|
-
[32m✓[39m src/commands/assemble.integration.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 202[2mms[22m[39m
|
|
8
|
-
[32m✓[39m src/cli.test.ts [2m([22m[2m30 tests[22m[2m)[22m[33m 547[2mms[22m[39m
|
|
9
|
-
[32m✓[39m src/utils/packages.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 111[2mms[22m[39m
|
|
10
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mserves a rewritten index.html with development env and configUrls
|
|
11
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
12
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
13
|
-
} -> https://dev3.openmrs.org
|
|
14
|
-
|
|
15
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mserves the inline importmap at /importmap.json
|
|
16
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
17
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
18
|
-
} -> https://dev3.openmrs.org
|
|
19
|
-
|
|
20
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mserves the inline routes at /routes.registry.json
|
|
21
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
22
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
23
|
-
} -> https://dev3.openmrs.org
|
|
24
|
-
|
|
25
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mserves config files at the local config URL prefix
|
|
26
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
27
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
28
|
-
} -> https://dev3.openmrs.org
|
|
29
|
-
|
|
30
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mserves static assets from the app shell dist directory
|
|
31
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
32
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
33
|
-
} -> https://dev3.openmrs.org
|
|
34
|
-
|
|
35
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith default spaPath (/openmrs/spa)[2m > [22m[2mdoes not serve importmap.json from static assets when importmap is inline
|
|
36
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
37
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
38
|
-
} -> https://dev3.openmrs.org
|
|
39
|
-
|
|
40
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith custom spaPath[2m > [22m[2mserves the rewritten index.html under the custom spaPath
|
|
41
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
42
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
43
|
-
} -> https://dev3.openmrs.org
|
|
44
|
-
|
|
45
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith custom spaPath[2m > [22m[2mserves the inline importmap under the custom spaPath
|
|
46
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
47
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
48
|
-
} -> https://dev3.openmrs.org
|
|
49
|
-
|
|
50
|
-
[90mstdout[2m | src/commands/develop.integration.test.ts[2m > [22m[2mrunDevelop[2m > [22m[2mwith custom spaPath[2m > [22m[2mserves the inline routes under the custom spaPath
|
|
51
|
-
[22m[39m[HPM] Proxy created: (path) => {
|
|
52
|
-
return new RegExp(`${apiUrl}/.*`).test(path) && !indexHtmlPathMatcher.test(path);
|
|
53
|
-
} -> https://dev3.openmrs.org
|
|
54
|
-
|
|
55
|
-
[32m✓[39m src/commands/develop.integration.test.ts [2m([22m[2m9 tests[22m[2m)[22m[33m 517[2mms[22m[39m
|
|
56
|
-
[32m✓[39m src/utils/untar.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 263[2mms[22m[39m
|
|
57
|
-
[32m✓[39m src/utils/port.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 42[2mms[22m[39m
|
|
58
|
-
[32m✓[39m src/utils/dependencies.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 53[2mms[22m[39m
|
|
59
|
-
[32m✓[39m src/utils/config.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
60
|
-
[32m✓[39m src/utils/npmConfig.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 34[2mms[22m[39m
|
|
61
|
-
[90mstdout[2m | src/commands/start.integration.test.ts[2m > [22m[2mrunStart[2m > [22m[2mserves the app shell index.html at the spa path
|
|
62
|
-
[22m[39m[HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
|
|
63
|
-
|
|
64
|
-
[90mstdout[2m | src/commands/start.integration.test.ts[2m > [22m[2mrunStart[2m > [22m[2mserves static JS bundles from the app shell dist
|
|
65
|
-
[22m[39m[HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
|
|
66
|
-
|
|
67
|
-
[90mstdout[2m | src/commands/start.integration.test.ts[2m > [22m[2mrunStart[2m > [22m[2mserves static CSS files from the app shell dist
|
|
68
|
-
[22m[39m[HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
|
|
69
|
-
|
|
70
|
-
[90mstdout[2m | src/commands/start.integration.test.ts[2m > [22m[2mrunStart[2m > [22m[2mreturns index.html for catch-all routes (SPA routing)
|
|
71
|
-
[22m[39m[HPM] Proxy created: /openmrs/**,!/openmrs/spa/** -> https://dev3.openmrs.org/
|
|
72
|
-
|
|
73
|
-
[32m✓[39m src/commands/start.integration.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 410[2mms[22m[39m
|
|
74
|
-
[32m✓[39m src/utils/helpers.test.ts [2m([22m[2m15 tests[22m[2m)[22m[32m 39[2mms[22m[39m
|
|
75
|
-
[32m✓[39m src/utils/logger.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
76
|
-
[32m✓[39m src/utils/variables.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 13[2mms[22m[39m
|
|
77
|
-
[32m✓[39m src/utils/port.integration.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 29[2mms[22m[39m
|
|
78
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2mproduces a complete build with correct index.html content
|
|
79
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
80
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
81
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
82
|
-
+ 88 assets
|
|
83
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
84
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
85
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
86
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
87
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
88
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
89
|
-
+ 6 assets
|
|
90
|
-
+ 5 assets
|
|
91
|
-
orphan modules 9.73 MiB (javascript) 746 bytes (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
97
|
-
+ 41 modules
|
|
98
|
-
css modules 46.1 KiB 25 modules
|
|
99
|
-
provide-module modules 630 bytes
|
|
100
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
101
|
-
+ 10 modules
|
|
102
|
-
consume-shared-module modules 630 bytes
|
|
103
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
104
|
-
+ 10 modules
|
|
105
|
-
|
|
106
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
112
|
-
|
|
113
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 11.07 s
|
|
114
|
-
|
|
115
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2mproduces at least one hashed JS bundle named openmrs.<hash>.js
|
|
116
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
117
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
118
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
119
|
-
+ 88 assets
|
|
120
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
121
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
122
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
123
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
124
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
125
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
126
|
-
+ 6 assets
|
|
127
|
-
+ 5 assets
|
|
128
|
-
orphan modules 9.73 MiB (javascript) 1.07 KiB (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
134
|
-
+ 41 modules
|
|
135
|
-
css modules 46.1 KiB 25 modules
|
|
136
|
-
provide-module modules 630 bytes
|
|
137
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
138
|
-
+ 10 modules
|
|
139
|
-
consume-shared-module modules 630 bytes
|
|
140
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
141
|
-
+ 10 modules
|
|
142
|
-
|
|
143
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
149
|
-
|
|
150
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 9.77 s
|
|
151
|
-
|
|
152
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2mproduces at least one CSS file
|
|
153
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
154
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
155
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
156
|
-
+ 88 assets
|
|
157
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
158
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
159
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
160
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
161
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
162
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
163
|
-
+ 6 assets
|
|
164
|
-
+ 5 assets
|
|
165
|
-
orphan modules 9.73 MiB (javascript) 1.07 KiB (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
171
|
-
+ 41 modules
|
|
172
|
-
css modules 46.1 KiB 25 modules
|
|
173
|
-
provide-module modules 630 bytes
|
|
174
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
175
|
-
+ 10 modules
|
|
176
|
-
consume-shared-module modules 630 bytes
|
|
177
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
178
|
-
+ 10 modules
|
|
179
|
-
|
|
180
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
186
|
-
|
|
187
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 12.51 s
|
|
188
|
-
|
|
189
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2mcopies config files from configPaths to the target directory
|
|
190
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
191
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
192
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
193
|
-
+ 88 assets
|
|
194
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
195
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
196
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
197
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
198
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
199
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
200
|
-
+ 6 assets
|
|
201
|
-
+ 5 assets
|
|
202
|
-
orphan modules 9.73 MiB (javascript) 1.22 KiB (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
208
|
-
+ 41 modules
|
|
209
|
-
css modules 46.1 KiB 25 modules
|
|
210
|
-
provide-module modules 630 bytes
|
|
211
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
212
|
-
+ 10 modules
|
|
213
|
-
consume-shared-module modules 630 bytes
|
|
214
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
215
|
-
+ 10 modules
|
|
216
|
-
|
|
217
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
223
|
-
|
|
224
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 7.63 s
|
|
225
|
-
|
|
226
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2memits precompressed siblings for its own output and for pre-existing assembled files
|
|
227
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
228
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
229
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
230
|
-
+ 88 assets
|
|
231
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
232
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
233
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
234
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
235
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
236
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
237
|
-
+ 6 assets
|
|
238
|
-
+ 5 assets
|
|
239
|
-
orphan modules 9.73 MiB (javascript) 1.24 KiB (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
245
|
-
+ 41 modules
|
|
246
|
-
css modules 46.1 KiB 25 modules
|
|
247
|
-
provide-module modules 630 bytes
|
|
248
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
249
|
-
+ 10 modules
|
|
250
|
-
consume-shared-module modules 630 bytes
|
|
251
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
252
|
-
+ 10 modules
|
|
253
|
-
|
|
254
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
260
|
-
|
|
261
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 7.99 s
|
|
262
|
-
|
|
263
|
-
[90mstdout[2m | src/commands/build.integration.test.ts[2m > [22m[2mrunBuild[2m > [22m[2mresolves a hashed importmap filename when the exact file does not exist
|
|
264
|
-
[22m[39massets by path [1m[32mfonts/*.woff2[39m[22m 1.04 MiB
|
|
265
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2[39m[22m 19.6 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2] [1m[32m[copied][39m[22m
|
|
266
|
-
asset [1m[32mfonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2[39m[22m 19.3 KiB [1m[32m[emitted][39m[22m [from: IBMPlexSerif-SemiBoldItalic-Latin1.woff2] [1m[32m[copied][39m[22m
|
|
267
|
-
+ 88 assets
|
|
268
|
-
assets by info 2.03 MiB [1m[32m[immutable][39m[22m
|
|
269
|
-
assets by path [1m[32m*.js[39m[22m 1.99 MiB 67 assets
|
|
270
|
-
assets by path [1m[32m*.css[39m[22m 40.4 KiB 2 assets
|
|
271
|
-
assets by path [1m[32m*.png[39m[22m 64.8 KiB
|
|
272
|
-
asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: logo-512.png] [1m[32m[copied][39m[22m
|
|
273
|
-
asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
274
|
-
+ 6 assets
|
|
275
|
-
+ 5 assets
|
|
276
|
-
orphan modules 9.73 MiB (javascript) 724 bytes (runtime) [1m[33m[orphan][39m[22m 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
|
-
[1m../../framework/esm-translations/translations/am.json[39m[22m 3.42 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
282
|
-
+ 41 modules
|
|
283
|
-
css modules 46.1 KiB 25 modules
|
|
284
|
-
provide-module modules 630 bytes
|
|
285
|
-
modules by path [1mprovide shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
286
|
-
+ 10 modules
|
|
287
|
-
consume-shared-module modules 630 bytes
|
|
288
|
-
modules by path [1mconsume shared module (default) swr/[39m[22m 210 bytes 5 modules
|
|
289
|
-
+ 10 modules
|
|
290
|
-
|
|
291
|
-
[1m[33mWARNING[39m[22m in [33mâš [0m 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
|
-
[0m
|
|
297
|
-
|
|
298
|
-
Rspack 1.7.9 compiled with [1m[33m1 warning[39m[22m in 3.07 s
|
|
299
|
-
|
|
300
|
-
[32m✓[39m src/commands/build.integration.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 69128[2mms[22m[39m
|
|
301
|
-
[33m[2m✓[22m[39m produces a complete build with correct index.html content [33m 15077[2mms[22m[39m
|
|
302
|
-
[33m[2m✓[22m[39m produces at least one hashed JS bundle named openmrs.<hash>.js [33m 12338[2mms[22m[39m
|
|
303
|
-
[33m[2m✓[22m[39m produces at least one CSS file [33m 16041[2mms[22m[39m
|
|
304
|
-
[33m[2m✓[22m[39m copies config files from configPaths to the target directory [33m 10115[2mms[22m[39m
|
|
305
|
-
[33m[2m✓[22m[39m emits precompressed siblings for its own output and for pre-existing assembled files [33m 11868[2mms[22m[39m
|
|
306
|
-
[33m[2m✓[22m[39m resolves a hashed importmap filename when the exact file does not exist [33m 3686[2mms[22m[39m
|
|
307
|
-
|
|
308
|
-
[2m Test Files [22m [1m[32m18 passed[39m[22m[90m (18)[39m
|
|
309
|
-
[2m Tests [22m [1m[32m256 passed[39m[22m[90m (256)[39m
|
|
310
|
-
[2m Start at [22m 17:23:47
|
|
311
|
-
[2m Duration [22m 73.52s[2m (transform 2.16s, setup 638ms, import 6.21s, tests 73.00s, environment 19ms)[22m
|
|
312
|
-
|