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

Package detail

faction-sementic-release-shared-config

factioninc19MIT2.5.0

Sharable configuration for semantic-release, extends experience for publishing to NPM & Github: generates release-notes, changelog, publishes new version with Github actions.

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

readme

faction-sementic-release-shared-config

Version Version Documentation Maintenance License: MIT

Semantic-release shareable configuration for easy publishing to NPM, Github or Github Package Registry.

About

This sharable configuration conforms to angular standard

  • Using @semantic-release/commit-analyzer ensures that commits are conformed to the conventional commits specification.
    • PATCH version created if any of build, ci, chore, docs, refactor, style, test commit types pushed to master
    • MINOR version created if fix commit type pushed
    • MAJOR version created if feat commit type pushed
  • Publishes the new version to NPM.
  • Bumps a version in package.json.
  • Generates or updates a changelog file including all PATCH keywords (not included in default angular package).
  • Releases new release for NPM & Github.

This repository can be also used as a template repository for creation of sharable semantic-release configurations.

  • Install semantic-release:
npm install --save-dev semantic-release
  • Add semantic-release to scripts:
"scripts": {
    "semantic-release": "semantic-release"
}
  • Install faction-sementic-release-shared-config:
npm install --save-dev semantic-release-npm-github-publish
  • Add npx semantic-release to a "Release" step of your CD setup

Usage

To use this sharable config, extend your semantic release configuration in .releaserc.yaml:

branch: main
ci: false
dryRun: false
debug: false
extends: "semantic-release-npm-github-publish"

Contributing

Package based onsemantic-release-npm-github-publish

Build with


For faction