javascript-studio / studio-changes

📦 Generate a changelog as part of the npm version command
https://medium.com/javascript-studio/nice-and-easy-module-releases-a32c906b564e
MIT License
49 stars 7 forks source link
automation changelog commits git npm release versioning

Studio Changes

📦 Generate a changelog as part of the npm version command

npm Version SemVer Build Status License

Usage

Install

❯ npm install @studio/changes --save-dev

Configure

❯ npx changes --init

This will add the following to your package.json:

{
  "scripts": {
    "preversion": "npm test",
    "version": "changes",
    "postversion": "git push --follow-tags && npm publish"
  }
}

Options

Configure your preferred editor with the $EDITOR environment variable.

Preview next release

Preview the release notes for the next release by running:

❯ npx changes

License

MIT

Made with ❤️ on 🌍

[1]: https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b