spire-plugin-lerna-release

5.0.1 • Public • Published

spire-plugin-lerna-release

lerna publish plugin for Spire.

Quick start

  1. Install spire-plugin-lerna-release
yarn add --dev spire-plugin-lerna-release
  1. Add spire-plugin-lerna-release to list of plugins
{
  "spire": {
    "plugins": ["spire-plugin-lerna-release"]
  }
}

Hooks

  • setup Adds release command and prepares lerna arguments.
  • run Runs lerna publish.

Options

  • Plugin ['spire-plugin-lerna-release', options]

    • command <string> Command to run semantic-release on. Defaults to release.
    • gitAuthorName <string> Git author and commiter name. Defaults to undefined, which falls back to default value of lerna.
    • gitAuthorEmail <string> Git author and commiter email. Defaults to undefined, which falls back to default value of lerna.
    • allowBranch <string> Allowed branch to be released. Defaults to master.
    • createRelease <false|"github"|"gitlab"> Whether to create a GitHub or GitLab release or not.
    • extraArgs <Array<string>> Array of extra argumnets to pass to lerna publish. Defaults to [].
  • CLI npx spire release [args]

    • Passes all arguments as-is to lerna.

License

MIT © ResearchGate

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i spire-plugin-lerna-release

    Weekly Downloads

    1

    Version

    5.0.1

    License

    MIT

    Unpacked Size

    10.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • sbekrin
    • researchgate-bot
    • stefanhoth
    • mdio