create-vue3-enterprise 1.0.44 → 1.0.46

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/dist/index.js CHANGED
@@ -92,9 +92,9 @@ async function generatePackageJson(targetDir, options) {
92
92
  },
93
93
  devDependencies: {
94
94
  "@vitejs/plugin-vue": "^5.0.0",
95
- typescript: "^5.3.0",
95
+ typescript: "5.3.3",
96
96
  vite: "^5.0.0",
97
- "vue-tsc": "^1.8.0",
97
+ "vue-tsc": "^3.2.5",
98
98
  "@rushstack/eslint-patch": "^1.16.1"
99
99
  }
100
100
  };
@@ -127,7 +127,7 @@ async function generatePackageJson(targetDir, options) {
127
127
  pkg.devDependencies["@playwright/test"] = "^1.41.0";
128
128
  }
129
129
  if (options.features?.includes("mcp")) {
130
- pkg.devDependencies["vue3-enterprise-mcp"] = "^1.0.0";
130
+ pkg.devDependencies["vue3-enterprise-mcp"] = "^1.0.1";
131
131
  }
132
132
  if (options.features?.includes("ci")) {
133
133
  pkg.devDependencies["vue3-enterprise-ci"] = "^1.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue3-enterprise",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,6 +24,6 @@
24
24
  "@types/minimist": "^1.2.5",
25
25
  "@types/node": "^20.0.0",
26
26
  "@types/prompts": "^2.4.9",
27
- "typescript": "^5.3.0"
27
+ "typescript": "5.3.3"
28
28
  }
29
29
  }
@@ -14,6 +14,9 @@ if ! npx commitlint --edit ${1}; then
14
14
  echo "❌ 提交消息验证失败!"
15
15
  echo ""
16
16
  echo "请参考 .husky/代码规范.md 中的提交规范指南进行修改。"
17
+ echo ""
18
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
19
+ echo ""
17
20
  exit 1
18
21
  fi
19
22
 
@@ -11,6 +11,8 @@ if ! npx lint-staged; then
11
11
  echo ""
12
12
  echo "修复: npm run lint -- --fix"
13
13
  echo ""
14
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
15
+ echo ""
14
16
  exit 1
15
17
  fi
16
18
 
@@ -24,11 +24,3 @@ create-vue3-enterprise 脚手架在 git 代码提交时自动触发上面3个检
24
24
  选择 "Vue3 + TypeScript + Vite + Pinia" → 只询问 Router
25
25
  选择 "Vue3 + TypeScript + Vite + Pinia + Vue Router" → 都不询问
26
26
  ```
27
-
28
- ```
29
- git提交代码触发pre-commit checks,如果代码检查成功,只打印代码检查成功提示,如果代码检查失败去除多余日志,只保留错误代码文件名和错误代码行数
30
- ```
31
-
32
- ```
33
- git提交代码后,.husky文件夹里的commit-msg和pre-commit脚本日志没有输出到控制台,需要输出到控制台
34
- ```