feat(projects): Add more commit types according to Apache specifications (#610)

This commit is contained in:
青菜白玉汤 2024-08-27 15:19:42 +08:00 committed by GitHub
parent 3830ec7a69
commit 878d9c395c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,8 +11,10 @@ export const locales = {
}, },
gitCommitTypes: [ gitCommitTypes: [
['feat', '新功能'], ['feat', '新功能'],
['feat-wip', '开发中的功能,比如某功能的部分代码'],
['fix', '修复Bug'], ['fix', '修复Bug'],
['docs', '只涉及文档更新'], ['docs', '只涉及文档更新'],
['typo', '代码或文档勘误,比如错误拼写'],
['style', '修改代码风格,不影响代码含义的变更'], ['style', '修改代码风格,不影响代码含义的变更'],
['refactor', '代码重构,既不修复 bug 也不添加功能的代码变更'], ['refactor', '代码重构,既不修复 bug 也不添加功能的代码变更'],
['perf', '可提高性能的代码更改'], ['perf', '可提高性能的代码更改'],
@ -47,8 +49,10 @@ export const locales = {
}, },
gitCommitTypes: [ gitCommitTypes: [
['feat', 'A new feature'], ['feat', 'A new feature'],
['feat-wip', 'Features in development, such as partial code for a certain feature'],
['fix', 'A bug fix'], ['fix', 'A bug fix'],
['docs', 'Documentation only changes'], ['docs', 'Documentation only changes'],
['typo', 'Code or document corrections, such as spelling errors'],
['style', 'Changes that do not affect the meaning of the code'], ['style', 'Changes that do not affect the meaning of the code'],
['refactor', 'A code change that neither fixes a bug nor adds a feature'], ['refactor', 'A code change that neither fixes a bug nor adds a feature'],
['perf', 'A code change that improves performance'], ['perf', 'A code change that improves performance'],