Skip to content

Commit

Permalink
chore(projects): 更新.cz-config
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jul 10, 2022
1 parent f64bc91 commit b18c49e
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .cz-config.js
@@ -1,16 +1,17 @@
module.exports = {
types: [
{ value: 'feat', name: 'feat: 新增功能' },
{ value: 'init', name: 'init: 项目初始化' },
{ value: 'feat', name: 'feat: 添加新特性' },
{ value: 'fix', name: 'fix: 修复bug' },
{ value: 'docs', name: 'docs: 文档变更' },
{ value: 'style', name: 'style: 代码格式(不影响功能,例如空格、分号等格式修正)' },
{ value: 'refactor', name: 'refactor: 代码重构(不包括 bug 修复、功能新增)' },
{ value: 'perf', name: 'perf: 性能优化' },
{ value: 'test', name: 'test: 添加、修改测试用例' },
{ value: 'build', name: 'build: 构建流程、外部依赖变更(如升级 npm 包、修改 脚手架 配置等)' },
{ value: 'ci', name: 'ci: 修改 CI 配置、脚本' },
{ value: 'chore', name: 'chore: 对构建过程或辅助工具和库的更改(不影响源文件、测试用例)' },
{ value: 'revert', name: 'revert: 回滚 commit' }
{ value: 'docs', name: 'docs: 仅仅修改文档' },
{ value: 'style', name: 'style: 仅仅修改了空格、格式缩进、逗号等等,不改变代码逻辑' },
{ value: 'refactor', name: 'refactor: 代码重构,没有加新功能或者修复bug' },
{ value: 'perf', name: 'perf: 优化相关,比如提升性能、体验' },
{ value: 'test', name: 'test: 添加测试用例' },
{ value: 'build', name: 'build: 依赖相关的内容' },
{ value: 'ci', name: 'ci: CI配置相关,例如对k8s,docker的配置文件的修改' },
{ value: 'chore', name: 'chore: 改变构建流程、或者增加依赖库、工具等' },
{ value: 'revert', name: 'revert: 回滚到上一个版本' }
],
scopes: [
['projects', '项目搭建'],
Expand Down

1 comment on commit b18c49e

@vercel
Copy link

@vercel vercel bot commented on b18c49e Jul 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.