create-rwjblue-release-it-setup
v4.0.0
Published
Simple npm init / yarn create bin package to add release-it setup used by rwjblue
Readme
create-rwjblue-release-it-setup
Simple npm init / yarn create bin package to add release-it setup used by rwjblue.
This will do the following:
- add
release-itconfig to thepackage.json - install required dependencies,
- add a
CHANGELOG.md - add a
RELEASE.md - update your repository's labels with my "go to" defaults
Usage
Prerequisites
- Obtain a GitHub personal access token.
- Make sure the token is available as the
GITHUB_AUTHenvironment variable. For instance:
export GITHUB_AUTH=abc123def456Freshly Configuring a Repo
When you want to set up a repo with release-it, you can run:
# in a yarn repo
yarn create rwjblue-release-it-setup
# in an npm repo
npm init rwjblue-release-it-setupUpdating an Already Configured Repo
If you'd like to update an existing repo to use the latest and greatest setup, you can run:
# in a yarn repo
yarn create rwjblue-release-it-setup --update
# in an npm repo
npm init rwjblue-release-it-setup --updateOnly Sync Labels
If you'd like to run only the label sync, you can do that with:
# in a yarn repo
yarn create rwjblue-release-it-setup --labels-only
# in an npm repo
npm init rwjblue-release-it-setup --labels-onlyLicense
This project is licensed under the MIT License.
