@cabloy/cli 3.1.26 → 3.1.28
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/dist/index.js +3 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -261,7 +261,7 @@ class LocalCommon {
|
|
|
261
261
|
}
|
|
262
262
|
_handleDeps('dependencies', deps);
|
|
263
263
|
_handleDeps('devDependencies', depsDev);
|
|
264
|
-
//
|
|
264
|
+
// zova rest workspace
|
|
265
265
|
await this._generatePackageJson_pkgFromZovaRest(projectPath, pkgOriginal.dependencies);
|
|
266
266
|
// save
|
|
267
267
|
if (!DeepEqual(pkg?.scripts, pkgOriginal.scripts) || !DeepEqual(pkg?.dependencies, pkgOriginal.dependencies) || !DeepEqual(pkg?.devDependencies, pkgOriginal.devDependencies)) {
|
|
@@ -284,7 +284,7 @@ class LocalCommon {
|
|
|
284
284
|
});
|
|
285
285
|
for (const bundle of bundles) {
|
|
286
286
|
const name = `zova-rest-${bundle}`;
|
|
287
|
-
devDependencies[name] =
|
|
287
|
+
devDependencies[name] = 'workspace:^';
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
async _generatePackageJson_saveBack(pkg, pkgOriginal, pkgOriginalFile, deps, depsDev) {
|
|
@@ -304,7 +304,7 @@ class LocalCommon {
|
|
|
304
304
|
const isZovaRest = key.includes('zova-rest-');
|
|
305
305
|
const isModule = key.includes('vona-module-') || key.includes('zova-module-');
|
|
306
306
|
const isModuleWorkspace = isModule && version.startsWith('workspace:');
|
|
307
|
-
if (isZovaRest
|
|
307
|
+
if (isZovaRest) continue;
|
|
308
308
|
if (isModuleWorkspace) continue;
|
|
309
309
|
// if (deps[key] && !isModule) continue;
|
|
310
310
|
if (isModule) continue;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/cli",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.1.28",
|
|
4
|
+
"gitHead": "7a711c5f09e0c1d3b0fda2084710297ea45b5d8e",
|
|
5
5
|
"description": "@cabloy/cli",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cabloy-cli",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/parser": "^7.29.2",
|
|
38
|
-
"@cabloy/module-glob": "^5.3.
|
|
39
|
-
"@cabloy/module-info": "^2.0.
|
|
38
|
+
"@cabloy/module-glob": "^5.3.17",
|
|
39
|
+
"@cabloy/module-info": "^2.0.3",
|
|
40
40
|
"@cabloy/process-helper": "^3.1.8",
|
|
41
|
-
"@cabloy/utils": "^2.1.
|
|
41
|
+
"@cabloy/utils": "^2.1.26",
|
|
42
42
|
"@cabloy/word-utils": "^2.1.8",
|
|
43
43
|
"@npmcli/config": "^10.8.1",
|
|
44
44
|
"@zhennann/common-bin": "^4.0.1",
|