@jskit-ai/jskit-cli 0.2.122 → 0.2.124

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/jskit-cli",
3
- "version": "0.2.122",
3
+ "version": "0.2.124",
4
4
  "description": "Bundle and package orchestration CLI for JSKIT apps.",
5
5
  "type": "module",
6
6
  "files": [
@@ -20,9 +20,9 @@
20
20
  "test": "node --test"
21
21
  },
22
22
  "dependencies": {
23
- "@jskit-ai/jskit-catalog": "0.1.117",
24
- "@jskit-ai/kernel": "0.1.110",
25
- "@jskit-ai/shell-web": "0.1.109",
23
+ "@jskit-ai/jskit-catalog": "0.1.119",
24
+ "@jskit-ai/kernel": "0.1.112",
25
+ "@jskit-ai/shell-web": "0.1.111",
26
26
  "@vue/compiler-sfc": "^3.5.29",
27
27
  "ts-morph": "^28.0.0"
28
28
  },
@@ -46,6 +46,19 @@ function buildMaterializedInstallRoot({ appRoot, packageEntry }) {
46
46
  );
47
47
  }
48
48
 
49
+ function buildCatalogPackageCacheInstallArgs(packageSpec) {
50
+ return [
51
+ "install",
52
+ "--no-save",
53
+ "--ignore-scripts",
54
+ "--package-lock=false",
55
+ "--no-audit",
56
+ "--no-fund",
57
+ "--legacy-peer-deps",
58
+ packageSpec
59
+ ];
60
+ }
61
+
49
62
  async function ensureMaterializedInstallWorkspace(installRoot) {
50
63
  await mkdir(installRoot, { recursive: true });
51
64
  const packageJsonPath = path.join(installRoot, "package.json");
@@ -80,15 +93,7 @@ async function installCatalogPackageIntoCache({
80
93
  await new Promise((resolve, reject) => {
81
94
  const child = spawn(
82
95
  "npm",
83
- [
84
- "install",
85
- "--no-save",
86
- "--ignore-scripts",
87
- "--package-lock=false",
88
- "--no-audit",
89
- "--no-fund",
90
- packageSpec
91
- ],
96
+ buildCatalogPackageCacheInstallArgs(packageSpec),
92
97
  {
93
98
  cwd: installRoot,
94
99
  stdio: ["ignore", "pipe", "pipe"]
@@ -307,6 +312,7 @@ async function cleanupMaterializedPackageRoots() {
307
312
  }
308
313
 
309
314
  export {
315
+ buildCatalogPackageCacheInstallArgs,
310
316
  cleanupMaterializedPackageRoots,
311
317
  materializeCatalogPackageRoot,
312
318
  resolvePackageTemplateRoot