Skip to content

Commit

Permalink
style(projects): rename script czh to commit:zh (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azir-11 authored Aug 13, 2024
1 parent a8f923e commit 5094f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:test": "vite build --mode test",
"cleanup": "sa cleanup",
"commit": "sa git-commit",
"czh": "sa git-commit -l=zh-cn",
"commit:zh": "sa git-commit -l=zh-cn",
"dev": "vite --mode test",
"dev:prod": "vite --mode prod",
"gen-route": "sa gen-route",
Expand Down
4 changes: 2 additions & 2 deletions packages/scripts/src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export const locales = {
gitCommitTypes: [
['feat', '新功能'],
['fix', '修复Bug'],
['docs', '只更新文档'],
['docs', '只涉及文档更新'],
['style', '修改代码风格,不影响代码含义的变更'],
['refactor', '代码重构,既不修复 bug 也不添加功能的代码变更'],
['perf', '可提高性能的代码更改'],
['optimize', '优化代码质量的代码更改'],
['test', '添加缺失的测试或更正现有测'],
['test', '添加缺失的测试或更正现有测试'],
['build', '影响构建系统或外部依赖项的更改'],
['ci', '对 CI 配置文件和脚本的更改'],
['chore', '没有修改src或测试文件的其他变更'],
Expand Down

0 comments on commit 5094f0e

Please sign in to comment.