"@release-it/conventional-changelog": "^10.0.5",
"release-it": "^19.2.4"
import type { Config } from "release-it";
export default {
npm: {
publish: false,
},
git: {
commitMessage: "chore: release v${version}",
push: false,
requireBranch: "main",
requireCleanWorkingDir: true,
},
plugins: {
"@release-it/conventional-changelog": {
infile: "CHANGELOG.md",
preset: {
name: "conventionalcommits",
},
},
},
} satisfies Config;
❯ npx release-it --dry-run
$ git rev-parse --abbrev-ref HEAD
$ git rev-parse --abbrev-ref HEAD [cached]
$ git config --get branch.main.remote
$ git remote get-url origin
! git fetch
$ git rev-parse --abbrev-ref HEAD [cached]
$ git describe --tags --match=* --abbrev=0
$ git symbolic-ref HEAD
$ git for-each-ref --format="%(upstream:short)" refs/heads/main
ERROR parseCommits is not a function
I tried with and without the
conventional-changelog-conventionalcommitsoverride also.Output looks like this: