Skip to content

Commit

Permalink
chore(lerna): add options for commit message and publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
JiLiZART committed Mar 25, 2020
1 parent 0b74be7 commit 0a213ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lerna": "2.11.0",
"version": "2.5.4",
"packages": [
"packages/bbob-cli",
"packages/bbob-core",
Expand All @@ -15,5 +16,9 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"version": "2.5.4"
"command": {
"version": {
"message": "chore(release): publish %s"
}
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"scripts": {
"prepublishOnly": "npm run test",
"bootstrap": "lerna bootstrap",
"publish-all": "lerna run --parallel build && lerna publish --conventional-commits --registry=https://registry.npmjs.org/",
"publish-patch": "lerna run --parallel build && lerna publish --conventional-commits --cd-version patch --registry=https://registry.npmjs.org/",
"publish-all": "lerna run --parallel build && lerna publish --include-merged-tags --conventional-commits --create-release github --registry=https://registry.npmjs.org/",
"publish-patch": "lerna run --parallel build && lerna publish --include-merged-tags --conventional-commits --create-release github --cd-version patch --registry=https://registry.npmjs.org/",
"size": "lerna run --parallel size",
"bundlesize": "lerna run --parallel bundlesize",
"test": "npm run build && lerna run --parallel link && lerna run --parallel test",
Expand Down

0 comments on commit 0a213ab

Please sign in to comment.