-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
husky lint-staged commitlint committtizen cz-customizable conventional-changelog
- Loading branch information
Showing
11 changed files
with
3,780 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
module.exports = { | ||
types: [ | ||
{ | ||
value: ':sparkles: feat', | ||
name: '✨ feat: 新功能' | ||
}, | ||
{ | ||
value: ':bug: fix', | ||
name: '🐛 fix: 修复bug' | ||
}, | ||
{ | ||
value: ':package: build', | ||
name: '📦️ build: 打包' | ||
}, | ||
{ | ||
value: ':zap: perf', | ||
name: '⚡️ perf: 性能优化' | ||
}, | ||
{ | ||
value: ':tada: release', | ||
name: '🎉 release: 发布正式版' | ||
}, | ||
{ | ||
value: ':lipstick: style', | ||
name: '💄 style: 代码的样式美化' | ||
}, | ||
{ | ||
value: ':recycle: refactor', | ||
name: '♻️ refactor: 重构' | ||
}, | ||
{ | ||
value: ':pencil2: docs', | ||
name: '✏️ docs: 文档变更' | ||
}, | ||
{ | ||
value: ':white_check_mark: test', | ||
name: '✅ test: 测试' | ||
}, | ||
{ | ||
value: ':rewind: revert', | ||
name: '⏪️ revert: 回退' | ||
}, | ||
{ | ||
value: ':rocket: chore', | ||
name: '🚀 chore: 构建/工程依赖/工具' | ||
}, | ||
{ | ||
value: ':construction_worker: ci', | ||
name: '👷 ci: CI related changes' | ||
} | ||
], | ||
scopes: [ | ||
{ name: 'components' }, | ||
{ name: 'assets' }, | ||
{ name: 'router' }, | ||
{ name: 'utils' }, | ||
{ name: 'views' }, | ||
{ name: 'types' }, | ||
], | ||
messages: { | ||
type: '请选择提交类型(必填)', | ||
customScope: '请输入文件修改范围(可选)', | ||
subject: '请简要描述提交(必填)', | ||
body: '请输入详细描述(可选)', | ||
breaking: '列出任何BREAKING CHANGES(可选)', | ||
footer: '请输入要关闭的issue(可选)', | ||
confirmCommit: '确定提交此说明吗?' | ||
}, | ||
allowCustomScopes: true, | ||
subjectLimit: 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## <small>0.0.1 (2023-07-20)</small> | ||
|
||
* ✨ feat: 增加Eslint和perttier配置 ([99484f6](https://github.com/AnyFork/vite-standard-template/commit/99484f6)) | ||
* 🎉 init: 项目初始化 ([3a026c9](https://github.com/AnyFork/vite-standard-template/commit/3a026c9)) | ||
* Initial commit ([dc86fcc](https://github.com/AnyFork/vite-standard-template/commit/dc86fcc)) | ||
|
||
|
||
|
Oops, something went wrong.