create-vue3-enterprise 1.0.21 → 1.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue3-enterprise",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,6 +16,8 @@ if ! npx commitlint --edit ${1}; then
16
16
  echo "❌ Commit message validation FAILED"
17
17
  echo ""
18
18
  echo "📖 Correct format:"
19
+ echo " <type>: <subject>"
20
+ echo " OR"
19
21
  echo " <type>(<scope>): <subject>"
20
22
  echo ""
21
23
  echo " Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert"
@@ -24,6 +26,10 @@ if ! npx commitlint --edit ${1}; then
24
26
  echo " • feat: add user login button"
25
27
  echo " • fix: resolve memory leak in component"
26
28
  echo " • docs: update API documentation"
29
+ echo " • feat(auth): add login API"
30
+ echo ""
31
+ echo " ⚠️ Note: Use a SPACE after the colon!"
32
+ echo " ❌ feat:add -> ✅ feat: add"
27
33
  echo ""
28
34
  echo " Run 'npm run commit' for interactive commit"
29
35
  echo ""
@@ -1,4 +1,4 @@
1
- export default {
1
+ module.exports = {
2
2
  extends: ['@commitlint/config-conventional'],
3
3
  rules: {
4
4
  // Type envelope: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test