cloudcc-cli 1.2.3 → 1.2.4

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,10 @@
1
+ # ReleaseV1.2.4
2
+ #### 发布日期:2022-11-17
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化
6
+ * 自动升级源更换为阿里源
7
+
1
8
  # ReleaseV1.2.3
2
9
  #### 发布日期:2022-11-16
3
10
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
@@ -59,7 +59,7 @@ function askUpdate() {
59
59
  function update(onlineVersion) {
60
60
  console.log()
61
61
  console.log(chalk.green("升级中,请稍后..."));
62
- exec(`npm install -g cloudcc-cli@${onlineVersion} --registry https://registry.npmjs.org`)
62
+ exec(`npm install -g cloudcc-cli@${onlineVersion} --registry http://registry.npmmirror.com`)
63
63
  console.log()
64
64
  console.log(chalk.green("升级完成!请重新运行"));
65
65
  }