2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-24 14:04:06 +03:00

chore(lerna): add options for commit message and publishing

This commit is contained in:
Nikolay Kostyurin
2020-03-26 00:23:01 +02:00
parent 0b74be7830
commit 0a213abbf7
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -1,5 +1,6 @@
{
"lerna": "2.11.0",
"version": "2.5.4",
"packages": [
"packages/bbob-cli",
"packages/bbob-core",
@@ -15,5 +16,9 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"version": "2.5.4"
"command": {
"version": {
"message": "chore(release): publish %s"
}
}
}
+2 -2
View File
@@ -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",