@jcoreio/semantic-release-monorepo

1.0.1 • Public • Published

@jcoreio/semantic-release-monorepo

CircleCI Coverage Status semantic-release Commitizen friendly npm version

semantic-release-monorepo determines which commits apply to a given packages by seeing if they touched files in that package.

This fork instead uses only the commit messages to determine which packages are affected. In accordance with cz-lerna-changelog, the fork in this folder looks for a line in the commit message like

affects: @jcoreio/license-api, @jcoreio/license-api-backend

This is for special cases where the packages to publish are built by scripts in such a way that looking at which files were affected by a commit can't always determine which packages were actually affected.

Usage

Run semantic-release in the root of a monorepo package and apply @jcoreio/semantic-release-monorepo via the extends option.

On the command line:

$ npm run semantic-release -e @jcoreio/semantic-release-monorepo

Or in the release config:

{
  "extends": "@jcoreio/semantic-release-monorepo"
}

/@jcoreio/semantic-release-monorepo/

    Package Sidebar

    Install

    npm i @jcoreio/semantic-release-monorepo

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    9.48 kB

    Total Files

    9

    Last publish

    Collaborators

    • gravitate1838
    • manojrsingireddy
    • avramdodson
    • forrest-keller
    • jrmclaurin
    • jedwards1211
    • eladendorf