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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 24 files with swc (78.85ms)
1
+ [0] Successfully compiled: 24 files with swc (104.04ms)
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmrs",
3
- "version": "10.0.1-pre.5607",
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.5607",
55
- "@openmrs/esm-app-shell": "10.0.1-pre.5607",
56
- "@openmrs/rspack-config": "10.0.1-pre.5607",
57
- "@openmrs/webpack-config": "10.0.1-pre.5607",
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",
@@ -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
  }
@@ -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