Generate a changelog as part of the npm version command.
npm version [patch|minor|major]to create a release
$ npm install @studio/changes --save-dev
Add this to your
-h: Display a help message.
-f: Specify the name of the changelog file. Defaults to
Configure your preferred editor with the
$EDITOR environment variable.
If the current version in your
package.json is already in the changelog, the
changes command aborts and shows the unreleased commits. Preview the release
notes for the next release like this: