Skip to content

Commit

Permalink
Allow publishing the master branch using Lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Feb 11, 2019
1 parent 7d6eb38 commit a2bb542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"publish": {
"npmClient": "npm",
"allowBranch": "canary",
"allowBranch": ["master", "canary"],
"registry": "https://registry.npmjs.org/"
}
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a2bb542

Please sign in to comment.