cloudcc-cli 1.7.8 → 1.7.9

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.7.9
2
+ #### 发布日期:2025-1-15
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化
6
+ * create1模版调整。
7
+
1
8
  # ReleaseV1.7.8
2
9
  #### 发布日期:2025-1-15
3
10
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "scripts": {
18
18
  "cc-pull": "git fetch --tags -f && git pull",
19
- "publish-lib": "npm --proxy http://127.0.0.1:33210/ publish --registry https://registry.npmjs.org && git add . && git commit -m '发布新版' && git push && curl https://npmmirror.com/sync/cloudcc-cli"
19
+ "publish-lib": "npm publish --registry https://registry.npmjs.org && git add . && git commit -m '发布新版' && git push && curl https://npmmirror.com/sync/cloudcc-cli"
20
20
  },
21
21
  "dependencies": {
22
22
  "axios": "^0.21.4",
@@ -19,9 +19,9 @@ data() {
19
19
  return {
20
20
  componentInfo: {
21
21
 
22
- component: "cloudcc-demo-01",
22
+ component: "component-${name}",
23
23
 
24
- compName: "cloudcc-demo-01",
24
+ compName: "compName-${name}",
25
25
 
26
26
  compDesc: "Component description information",
27
27
  },
@@ -44,7 +44,7 @@ data() {
44
44
  try {
45
45
  fs.mkdirSync(pluginPath, { recursive: true })
46
46
  fs.writeFileSync(path.join(pluginPath, name + ".vue"), temp)
47
- fs.writeFileSync(path.join(pluginPath, "config.json"), `{"component":"${name}","compName":"${name}","compDesc":"Description"}`)
47
+ fs.writeFileSync(path.join(pluginPath, "config.json"), `{"component":"component-${name}","compName":"compName-${name}","compDesc":"Component description information"}`)
48
48
  console.log()
49
49
  console.log(chalk.green("Successfully Created:" + name))
50
50
  console.log()