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 CHANGED
@@ -1,3 +1,9 @@
1
+ # ReleaseV0.5.0
2
+ #### 发布日期:2021-10-20
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化:替换打包命令提示
6
+
1
7
  # ReleaseV0.4.9
2
8
  #### 发布日期:2021-10-20
3
9
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "0.4.9",
3
+ "version": "0.5.0",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
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(chalk.red('请提供build打包命令'));
163
- return;
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('编译成功!'));