ci: 🎡 添加交互式提交功能
正在显示
commitlint.config copy.js
0 → 100644
... | ... | @@ -20,7 +20,8 @@ |
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", | ||
"prepare": "husky", | ||
"preinstall": "npx only-allow pnpm", | ||
"plop": "plop --plopfile ./plop-templates/plopfile.cjs" | ||
"plop": "plop --plopfile ./plop-templates/plopfile.cjs", | ||
"commit": "git-cz" | ||
}, | ||
"keywords": [ | ||
"vue-pure-admin", | ||
... | ... | @@ -138,7 +139,9 @@ |
"@vitejs/plugin-vue-jsx": "^4.1.2", | ||
"boxen": "^8.0.1", | ||
"code-inspector-plugin": "^0.20.7", | ||
"commitizen": "^4.3.1", | ||
"cssnano": "^7.0.6", | ||
"cz-git": "^1.11.1", | ||
"dagre": "^0.8.5", | ||
"eslint": "^9.24.0", | ||
"eslint-config-prettier": "^10.1.1", | ||
... | ... | @@ -205,5 +208,10 @@ |
"typeit", | ||
"vue-demi" | ||
] | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-git" | ||
} | ||
} | ||
} |
请
注册
或者
登录
后发表评论