DEV Community

Discussion on: Semantic versioning in JavaScript projects made easy

Collapse
 
pdina profile image
Paolo E Basta

Awesome, thank you very much for this, I was able to setup version management as I intended in a couple of hours.

I'd like to add just this, if you need/want to change the generated changelog, adding for example chore commit messages, you can create a .versionrc file and add something like:

{
  "types": [
    {"type":"feat","section":"Features"},
    {"type":"fix","section":"Bug Fixes"},
    {"type":"chore","section":"Chores"},
    {"type":"test","section":"Tests", "hidden": true},
    {"type":"build","section":"Build System", "hidden": true},
    {"type":"ci","hidden":true}
  ]
}
Enter fullscreen mode Exit fullscreen mode