From a2bb542f395efa687d2e2301f8ee6ca7b761568e Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 11 Feb 2019 08:44:28 +0100 Subject: [PATCH] Allow publishing the master branch using Lerna --- lerna.json | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 7fb3a08e..da762b20 100644 --- a/lerna.json +++ b/lerna.json @@ -10,7 +10,7 @@ }, "publish": { "npmClient": "npm", - "allowBranch": "canary", + "allowBranch": ["master", "canary"], "registry": "https://registry.npmjs.org/" } }, diff --git a/package.json b/package.json index 429563ce..883f21a8 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "typescript": "lerna run typescript", "prepublish": "lerna run prepublish", "publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre", + "publish-stable": "lerna version --force-publish", "lint-staged": "lint-staged" }, "pre-commit": "lint-staged",