conventional-release-setup
A command-line tool for setting up a package for committing and releasing with conventional commits:
$ npx conventional-release-setup
Installation
To install the package globally:
$ npm install --global conventional-release-setup
$ yarn global add conventional-release-setup
Usage
If the package is installed globally, you can execute it in the command-line:
$ conventional-release-setup
Otherwise, you can install and execute the package binary like so:
$ npx conventional-release-setup
What does this script do?
It installs the devDependencies:
And copies the configs to your project root:
For your first release, it's recommended to do the following:
$ npm version 1.0.0
$ git add package.json
$ git commit -m 'chore(package): bump version to 1.0.0'
$ npx standard-version --first-release
See standard-version > First Release for more details.
Release
Only collaborators with credentials can release and publish:
$ npm run release
$ git push --follow-tags && npm publish
License
MIT