@digitalroute/semantic-release-config

5.1.0 • Public • Published

@digitalroute/semantic-release-config

Shared config for semantic-release for DigitalRoute

Usage

1 Install

Install this config and semantic-release as a devDependency:

npm install semantic-release @digitalroute/semantic-release-config --save-dev

2 Configure

Add the following to your package.json:

{
  "release": {
    "extends": "@digitalroute/semantic-release-config/simple"
  }
}

or the following for npm-packages that should be published to npm:

{
  "release": {
    "extends": "@digitalroute/semantic-release-config/npm"
  }
}

3 Add script

Add the following to your scripts in package.json:

"semantic-release": "semantic-release"

4 CI/CD

Add a step in your CI/CD that runs npm run semantic-release.

Configurations

npm

For publishing npm modules.

Plugins

Environment variables

  • NPM_TOKEN: so semantic-release can publish to npm.
  • SLACK_WEBHOOK: so semantic-release-slack-bot can notify slack.

simple

For keeping track of changes.

Plugins

Package Sidebar

Install

npm i @digitalroute/semantic-release-config

Weekly Downloads

26

Version

5.1.0

License

MIT

Unpacked Size

7.2 kB

Total Files

6

Last publish

Collaborators

  • dot-bot
  • pierre.lemerle
  • polarn
  • jcelik
  • timberbain
  • saeger