1.0.5 • Published 6 years ago

cz-aop-changelog v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

cz-aop-changelog

Commitizen rules about aop for standardized commit msg

commit-message规范:

  • 参考Angular官方的commit-message规范,由type, scope, subject, body, footer部分组成
  • typescope各有一套枚举值,用于指明本次提交的类型影响面,cr阶段会重点关注提交人是否对改动进行合理的拆分后再提交
  • subject是本次提交的简要主题,字符数至少8个,最多64个,不支持换行,并以.号结尾
  • type, scope, subjectheader部分,占整个commit-message的第一行
  • body是本次提交的详细描述,与header间隔1行,body部分至少1行,最多2行,每行字符数至少8个,最多64
  • footer是本次提交的icafe描述,与body间隔1行,footer部分只有1行,格式为icafe: fc-native-thrd-<ID>,可用Tab完成自动提示
  • 使用npm run commit提交时,对上述规范都有校验,保证提交操作的高效和有效,其他提交方式请自行保证commit-message规范,否则无法通过最终的校验

type枚举值参 /src/types/index.js

scope枚举值参 /src/scopes/index.js