I'm trying to use standard-version in my javascript project. I added the release script to my package.json:
"scripts": {
...
"release": "standard-version"
}
My problem is that I added a commit to my git repo with the following message:
feat: test
I run npm run release and it increased the patch version of the project.
So my initial version was 0.2.1 (tag: v0.2.1), and it generated 0.2.2 with this commit message
chore(release): 0.2.2
Why didn't it increase the minor version?
Until you publish your first release, the bumping of the package.json is going to be that way. In the package documentation, it is better explained
https://github.com/conventional-changelog/standard-version#first-release