@zeppos/zeus-cli 1.5.20 → 1.5.21
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": "@zeppos/zeus-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.21",
|
|
4
4
|
"description": "zeus mini-program tools",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"author": "zepp",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"qrcode-terminal": "^0.12.0",
|
|
22
22
|
"vorpal": "^1.12.0",
|
|
23
23
|
"yargs": "^17.5.1",
|
|
24
|
-
"@zeppos/zpm": "^3.0.
|
|
24
|
+
"@zeppos/zpm": "^3.0.30",
|
|
25
25
|
"axios": "^0.27.2",
|
|
26
26
|
"chalk": "^4.1.2",
|
|
27
27
|
"chokidar": "^3.5.3",
|
|
@@ -151,6 +151,10 @@ var buildSupportV3Config = function (workspace, mode, buildConfigOption) {
|
|
|
151
151
|
case 3: return [4, (0, zpm_1.start)(buildOptions)];
|
|
152
152
|
case 4:
|
|
153
153
|
zabName_1 = _j.sent();
|
|
154
|
+
if (!zabName_1) {
|
|
155
|
+
index_1.logger.error("Build package error, the package name is ".concat(zabName_1));
|
|
156
|
+
process.exit(1);
|
|
157
|
+
}
|
|
154
158
|
if (buildConfigOption.renameWithAppId) {
|
|
155
159
|
distDir_1 = path.join(workspace, 'dist');
|
|
156
160
|
name_1 = zabName_1.replace(/[\s]/g, '_').split('.zab');
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dev": "nodemon -e ts,tsx --exec \"rimraf dist && tsc && ts-node build.ts\" --ignore types/ --ignore dist/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@zeppos/zpm": "^3.0.
|
|
16
|
+
"@zeppos/zpm": "^3.0.30",
|
|
17
17
|
"axios": "^0.27.2",
|
|
18
18
|
"chalk": "^4.1.2",
|
|
19
19
|
"chokidar": "^3.5.3",
|