release-it-beautiful-changelog
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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 assuming changelogen 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
    }
  }
}

Package Sidebar

Install

npm i release-it-beautiful-changelog

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • mohammadq