.versionrc.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. const internalSection = `Internals`;
  2. /*
  3. * Used for creating CHANGELOG.md automatically.
  4. * Anything under the internalSection should be boilerplate internals
  5. * and shouldn't interest the end users, meaning that the template shouldn't be effected.
  6. */
  7. // Check the descriptions of the types -> https://github.com/commitizen/conventional-commit-types/blob/master/index.json
  8. module.exports = {
  9. types: [
  10. { type: 'feat', section: 'Features', hidden: false },
  11. { type: 'fix', section: 'Bug Fixes', hidden: false },
  12. { type: 'perf', section: 'Performance Updates', hidden: false },
  13. // Other changes that don't modify src or test files
  14. { type: 'chore', section: internalSection, hidden: false },
  15. // Adding missing tests or correcting existing tests
  16. { type: 'test', section: internalSection, hidden: false },
  17. // Changes to our CI configuration files and scripts
  18. { type: 'ci', section: internalSection, hidden: false },
  19. // A code change that neither fixes a bug nor adds a feature
  20. { type: 'refactor', section: internalSection, hidden: false },
  21. // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  22. { type: 'style', section: internalSection, hidden: false },
  23. // Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  24. { type: 'build', section: internalSection, hidden: false },
  25. ],
  26. skip: {
  27. changelog: true,
  28. },
  29. commitAll: true,
  30. };