release-it-beautiful-changelog v0.1.1
release-it-beautiful-changelog
A plugin for release-it
that uses @unjs/changelogen
to generate beautiful change-logs and update your project's CHANGELOG.md file based on conventional commits. Leave all the release-related stuff to release-it
and enjoy the beauty of our change-logs.
- Release-it for version management, release management, publish and so on...
- @unjs/changelogen for extracting beautiful changelog based on conventional commit
You are free to use release-it
and changelogen
independently and make any changes or configurations you need to them. During a new release, this plugin only calls the changelogen
on-the-fly and adds the generated changelog to the CHANGELOG.md file.
Usage
!IMPORTANT You must install
changelogen
independently and add it to your project's dependencies. This plugin will work correctly assumingchangelogen
is present.
Now, install this plugin using npm
or pnpm
:
pnpm add -D release-it-beautiful-changelog
In release-it
configuration file (.release-it.json
) add the release-it-beautiful-changelog
plugin:
{
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
},
"npm": {
"release": true
},
"plugins": {
"release-it-beautiful-changelog": {
"disable": false, // default
"changelogFile": "./CHANGELOG.md" // default
}
}
}