3.0.0 • Published 5 months ago

@studio/changes v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 months ago

Usage

  • Use npm version [patch|minor|major] to create a release
  • Your editor will open with a generated CHANGES.md file
  • When you're done writing the release notes, save and close the editor to continue
  • To abort the release, remove the heading with the new version number

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

  • --help, -h: Display a help message.
  • --commits, -c: Generate links to commits using the given URL as base. If no URL is given it defaults to ${homepage}/commit using the homepage configured in the package.json.
  • --footer: Generate a footer with the git author and release date. The author name is taken from $GIT_AUTHOR_NAME and $GIT_AUTHOR_EMAIL is used to find the authors GitHub profile page.
  • --file, -f: Specify the name of the changelog file. Defaults to CHANGES.md.
  • --init: Add version lifecycle scripts to package.json. Can be combined with --file and --commits to configure the changes invocation.
  • --tag: Use a custom git tag, supports simple replacement of package.json fields. Defaults to v${version}.

Configure your preferred editor with the $EDITOR environment variable.

Preview next release

Preview the release notes for the next release by running:

❯ npx changes

npm.io

License

MIT

3.0.0

5 months ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.7.0

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago