diff --git a/package.json b/package.json index e66c49b..b1587a8 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/scripts/src/locales/index.ts b/packages/scripts/src/locales/index.ts index 8d28dd5..553181c 100644 --- a/packages/scripts/src/locales/index.ts +++ b/packages/scripts/src/locales/index.ts @@ -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或测试文件的其他变更'],