Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bubkoo/semantic-release-config

bubkoo802MIT2.0.0

Sharable configuration for semantic-release, extends experience for publishing to NPM & Github

semantic-release, semantic-release-config, .releaserc, .releaserc.js, .releaserc.json, release.config.js, semantic, git, npm, github, release, changelog

readme

semantic-release-config

semantic-release shareable configuration for npm & GitHub

Plugins

This shareable configuration uses the following plugins:

Summary

  • Provides an informative git commit message for the release commit that does not trigger continuous integration and conforms to the conventional commits specification (e.g., "chore(release): 1.2.3 [skip ci]\n\nnotes").
  • Creates a tarball that gets uploaded with each GitHub release.
  • Publishes the same tarball to npm.
  • Commits the version change in package.json.
  • Creates or updates a changelog file.

Install

$ npm install --save-dev semantic-release @bubkoo/semantic-release-config

Usage

The shareable config can be configured in the semantic-release configuration file with default configuration:

{
  "extends": "@bubkoo/semantic-release-config"
}

We can also specify plugin options in .releaserc.js file:

var config = require('@bubkoo/semantic-release-config/config');
module.exports = config({
  commitAnalyzer: {...},
  releaseNotesGenerator: {...},
  changelog: {...},
  npm: {...},
  github: {...},
  git: {...},
})