@cabloy/cli 3.0.104 → 3.1.1
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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/index.js +1 -1
- package/package.json +13 -10
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -154,7 +154,7 @@ class LocalCommon {
|
|
|
154
154
|
// all modules: type file
|
|
155
155
|
const promises = [];
|
|
156
156
|
for (const module of this.cli.modulesMeta.modulesArray) {
|
|
157
|
-
if (module.info.node_modules) continue;
|
|
157
|
+
if (module.info.node_modules && !fse.existsSync(path.join(module.root, 'src/.metadata'))) continue;
|
|
158
158
|
const moduleTypeFile = path.join(module.root, 'src/.metadata/modules.d.ts');
|
|
159
159
|
promises.push(this._generateTypeModulesFileInner(typeFile, typeFileStat, moduleTypeFile));
|
|
160
160
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/cli",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.1.1",
|
|
4
|
+
"gitHead": "991189da4443b789fcf77872990b901ccf43bccb",
|
|
5
5
|
"description": "@cabloy/cli",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cabloy-cli",
|
|
@@ -26,12 +26,19 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
31
|
+
"tsc:publish": "npm run clean && vona :bin:buildGeneral && tsc",
|
|
32
|
+
"prepublishOnly": "npm run tsc:publish",
|
|
33
|
+
"prepack": "clean-package",
|
|
34
|
+
"postpack": "clean-package restore"
|
|
35
|
+
},
|
|
29
36
|
"dependencies": {
|
|
30
37
|
"@babel/parser": "^7.26.5",
|
|
31
|
-
"@cabloy/module-glob": "^5.
|
|
38
|
+
"@cabloy/module-glob": "^5.3.1",
|
|
32
39
|
"@cabloy/module-info": "^2.0.0",
|
|
33
|
-
"@cabloy/process-helper": "^3.
|
|
34
|
-
"@cabloy/utils": "^2.
|
|
40
|
+
"@cabloy/process-helper": "^3.1.1",
|
|
41
|
+
"@cabloy/utils": "^2.1.1",
|
|
35
42
|
"@cabloy/word-utils": "^2.0.2",
|
|
36
43
|
"@npmcli/config": "^10.4.2",
|
|
37
44
|
"@zhennann/common-bin": "^4.0.0",
|
|
@@ -49,9 +56,5 @@
|
|
|
49
56
|
"semver": "^7.6.2",
|
|
50
57
|
"tmp": "^0.2.3",
|
|
51
58
|
"urllib": "^3.24.0"
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
55
|
-
"tsc:publish": "npm run clean && vona :bin:buildGeneral && tsc"
|
|
56
59
|
}
|
|
57
|
-
}
|
|
60
|
+
}
|