openmrs 10.0.1-pre.5607 → 10.0.1-pre.5619
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/package.json +5 -5
- package/src/utils/compress.ts +1 -1
- package/src/utils/packages.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openmrs",
|
|
3
|
-
"version": "10.0.1-pre.
|
|
3
|
+
"version": "10.0.1-pre.5619",
|
|
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.
|
|
55
|
-
"@openmrs/esm-app-shell": "10.0.1-pre.
|
|
56
|
-
"@openmrs/rspack-config": "10.0.1-pre.
|
|
57
|
-
"@openmrs/webpack-config": "10.0.1-pre.
|
|
54
|
+
"@openmrs/carbon-css-guard": "10.0.1-pre.5619",
|
|
55
|
+
"@openmrs/esm-app-shell": "10.0.1-pre.5619",
|
|
56
|
+
"@openmrs/rspack-config": "10.0.1-pre.5619",
|
|
57
|
+
"@openmrs/webpack-config": "10.0.1-pre.5619",
|
|
58
58
|
"@pnpm/npm-conf": "^3.0.2",
|
|
59
59
|
"@rspack/cli": "1.7.9",
|
|
60
60
|
"@rspack/core": "1.7.9",
|
package/src/utils/compress.ts
CHANGED
|
@@ -191,7 +191,7 @@ function describeError(e: unknown) {
|
|
|
191
191
|
return `${code}: ${e}`;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
return e instanceof Error ? e.message : JSON.stringify(e) ?? String(e);
|
|
194
|
+
return e instanceof Error ? e.message : (JSON.stringify(e) ?? String(e));
|
|
195
195
|
} catch {
|
|
196
196
|
return 'an error that could not be rendered';
|
|
197
197
|
}
|
package/src/utils/packages.ts
CHANGED
|
@@ -9,7 +9,7 @@ function readPackageJson(pkgPath: string): PackageJson {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
function getWorkspacePatterns(pkg: PackageJson): Array<string> | null {
|
|
12
|
-
const workspaces = Array.isArray(pkg.workspaces) ? pkg.workspaces : pkg.workspaces?.packages ?? null;
|
|
12
|
+
const workspaces = Array.isArray(pkg.workspaces) ? pkg.workspaces : (pkg.workspaces?.packages ?? null);
|
|
13
13
|
return workspaces && workspaces.length > 0 ? workspaces : null;
|
|
14
14
|
}
|
|
15
15
|
|