Socket
Socket
Sign inDemoInstall

lerna-git-flow-deploy

Package Overview
Dependencies
381
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lerna-git-flow-deploy

Configure your `lerna publish` deploys with ease. Works well with a `git-flow` development cycle.


Version published
Maintainers
1
Install size
9.65 MB
Created

Readme

Source

lerna-git-flow-deploy

Configure your lerna publish deploys with ease. Works well with a git-flow development cycle.

Requirements

lerna configuration lerna-changelog configuration

Features

  • SemVer based on lerna-changelog labels
  • GH Release creation
  • GH Prerelease pull request creation
  • Auto backfill

Run lerna-deploy:

lerna-deploy --help

Options:
  --version  Show version number                       [boolean]
  --help     Show help                                 [boolean]
  --type                                       [default: "next"]

Examples:
  lerna-deploy                    publish next candidate release
  lerna-deploy --type=stable              publish stable release

Example lerna.json config:

{
  "version": "1.0.0",
  "lerna": "2.8.0",
  "packages": ["packages/*"],
  "npmClient": "yarn",
  "useWorkspaces": true,
  "parallel": true,
  "message": "[ci skip] publish %s",
  "changelog": {
    "repo": "farism/lerna-git-flow-deploy-example",
    "labels": {
      "Tag: Breaking Change": ":boom: Breaking Change",
      "Tag: Bug Fix": ":bug: Bug Fix",
      "Tag: New Feature": ":rocket: New Feature"
    },
    "cacheDir": ".changelog"
  },
  "deploys": {
    "repo": "farism/lerna-git-flow-deploy-example",
    "semver": {
      "major": [":boom: Breaking Change"],
      "minor": [":rocket: New Feature"],
      "patch": [":bug: Bug Fix"]
    },
    "gitflow": {
      "master": "master",
      "develop": "develop"
    },
    "types": {
      "stable": {
        "tag": "latest",
        "publish": {
          "stable": true,
          "npm": true,
          "git": true
        }
      },
      "next": {
        "preid": "rc",
        "tag": "next",
        "publish": {
          "npm": true,
          "git": false
        }
      }
    }
  }
}

Keywords

FAQs

Last updated on 29 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc