create-vue3-enterprise 1.0.21 → 1.0.23

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.23",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
2
  # ============================================
5
3
  # 📝 Commit Message Validation
6
4
  # Uses Conventional Commits format
@@ -16,6 +14,8 @@ if ! npx commitlint --edit ${1}; then
16
14
  echo "❌ Commit message validation FAILED"
17
15
  echo ""
18
16
  echo "📖 Correct format:"
17
+ echo " <type>: <subject>"
18
+ echo " OR"
19
19
  echo " <type>(<scope>): <subject>"
20
20
  echo ""
21
21
  echo " Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert"
@@ -24,6 +24,10 @@ if ! npx commitlint --edit ${1}; then
24
24
  echo " • feat: add user login button"
25
25
  echo " • fix: resolve memory leak in component"
26
26
  echo " • docs: update API documentation"
27
+ echo " • feat(auth): add login API"
28
+ echo ""
29
+ echo " ⚠️ Note: Use a SPACE after the colon!"
30
+ echo " ❌ feat:test -> ✅ feat: test"
27
31
  echo ""
28
32
  echo " Run 'npm run commit' for interactive commit"
29
33
  echo ""
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
2
  # ============================================
5
3
  # 🧹 Pre-commit Checks
6
4
  # - Code formatting (Prettier)
@@ -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