cloudcc-cli 0.4.9 → 0.5.0
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/README.md +6 -0
- package/package.json +1 -1
- package/src/publish.js +5 -3
package/README.md
CHANGED
package/package.json
CHANGED
package/src/publish.js
CHANGED
|
@@ -158,9 +158,11 @@ class Publish {
|
|
|
158
158
|
try {
|
|
159
159
|
exec('npm run build');
|
|
160
160
|
} catch (error) {
|
|
161
|
-
console.log("error", error.toString("utf8").trim());
|
|
162
|
-
console.log(
|
|
163
|
-
|
|
161
|
+
// console.log("error", error.toString("utf8").trim());
|
|
162
|
+
console.log();
|
|
163
|
+
console.log(chalk.green('未找到bulid命令,已使用备用命令打包:npx vue-cli-service build'));
|
|
164
|
+
console.log();
|
|
165
|
+
exec('npx vue-cli-service build');
|
|
164
166
|
}
|
|
165
167
|
|
|
166
168
|
console.log(chalk.green('编译成功!'));
|