@jskit-ai/jskit-cli 0.2.123 → 0.2.125
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.
|
|
3
|
+
"version": "0.2.125",
|
|
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.
|
|
24
|
-
"@jskit-ai/kernel": "0.1.
|
|
25
|
-
"@jskit-ai/shell-web": "0.1.
|
|
23
|
+
"@jskit-ai/jskit-catalog": "0.1.120",
|
|
24
|
+
"@jskit-ai/kernel": "0.1.113",
|
|
25
|
+
"@jskit-ai/shell-web": "0.1.112",
|
|
26
26
|
"@vue/compiler-sfc": "^3.5.29",
|
|
27
27
|
"ts-morph": "^28.0.0"
|
|
28
28
|
},
|
|
@@ -46,6 +46,20 @@ function buildMaterializedInstallRoot({ appRoot, packageEntry }) {
|
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
function buildCatalogPackageCacheInstallArgs(packageSpec) {
|
|
50
|
+
// The cache only needs package-owned descriptors/templates. App installs still validate peer dependencies.
|
|
51
|
+
return [
|
|
52
|
+
"install",
|
|
53
|
+
"--no-save",
|
|
54
|
+
"--ignore-scripts",
|
|
55
|
+
"--package-lock=false",
|
|
56
|
+
"--no-audit",
|
|
57
|
+
"--no-fund",
|
|
58
|
+
"--legacy-peer-deps",
|
|
59
|
+
packageSpec
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
|
|
49
63
|
async function ensureMaterializedInstallWorkspace(installRoot) {
|
|
50
64
|
await mkdir(installRoot, { recursive: true });
|
|
51
65
|
const packageJsonPath = path.join(installRoot, "package.json");
|
|
@@ -80,15 +94,7 @@ async function installCatalogPackageIntoCache({
|
|
|
80
94
|
await new Promise((resolve, reject) => {
|
|
81
95
|
const child = spawn(
|
|
82
96
|
"npm",
|
|
83
|
-
|
|
84
|
-
"install",
|
|
85
|
-
"--no-save",
|
|
86
|
-
"--ignore-scripts",
|
|
87
|
-
"--package-lock=false",
|
|
88
|
-
"--no-audit",
|
|
89
|
-
"--no-fund",
|
|
90
|
-
packageSpec
|
|
91
|
-
],
|
|
97
|
+
buildCatalogPackageCacheInstallArgs(packageSpec),
|
|
92
98
|
{
|
|
93
99
|
cwd: installRoot,
|
|
94
100
|
stdio: ["ignore", "pipe", "pipe"]
|
|
@@ -307,6 +313,7 @@ async function cleanupMaterializedPackageRoots() {
|
|
|
307
313
|
}
|
|
308
314
|
|
|
309
315
|
export {
|
|
316
|
+
buildCatalogPackageCacheInstallArgs,
|
|
310
317
|
cleanupMaterializedPackageRoots,
|
|
311
318
|
materializeCatalogPackageRoot,
|
|
312
319
|
resolvePackageTemplateRoot
|