.versionrc.js 1.2 KB

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. header: '## 变更日志\n', // 可自定义添加生成的changelog头部内容
  3. types: [
  4. { type: 'feat', section: '✨ Features | 新功能' },
  5. { type: 'fix', section: '🐛 Bug Fixes | Bug 修复' },
  6. // { type: 'init', section: '🎉 Init | 初始化' },
  7. // { type: 'docs', section: '✏️ Documentation | 文档' },
  8. // { type: 'style', section: '💄 Styles | 风格' },
  9. // { type: 'refactor', section: '♻️ Code Refactoring | 代码重构' },
  10. // { type: 'perf', section: '⚡ Performance Improvements | 性能优化' },
  11. // { type: 'test', section: '✅ Tests | 测试' },
  12. // { type: 'revert', section: '⏪ Revert | 回退' },
  13. // { type: 'build', section: '📦 Build System | 打包构建' },
  14. // { type: 'update', section: '🚀 update | 构建/工程依赖/工具升级' },
  15. // { type: 'tool', section: '🚀 tool | 工具升级' },
  16. // { type: 'ci', section: '👷 Continuous Integration | CI 配置' },
  17. ],
  18. // 跳过相关内容
  19. skip: {
  20. bump: false, // 是否跳过更改版本
  21. changelog: false, // 是否跳过生产changelog
  22. commit: false, // 是否跳过自动commit
  23. tag: false, // 是否跳过打tag
  24. },
  25. }