Skip to content

Commit 34b5394

Browse files
committed
chore(!): optimise lerna.json
1 parent 5388aa8 commit 34b5394

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lerna.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"nextVersion": "Unreleased"
1111
},
1212
"command": {
13+
"version": {
14+
"allowBranch": ["master", "next"]
15+
},
1316
"publish": {
14-
"allowBranch": ["main", "next"],
17+
"allowBranch": ["master", "next"],
1518
"conventionalCommits": true,
1619
"message": "chore(release): %s"
1720
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prelerna:version": "copyfiles README.md LICENSE packages/eslint-config-ns/",
1919
"test": "FORCE_COLOR=1 lerna exec --stream -- yarn test",
2020
"test-app": "FORCE_COLOR=1 lerna exec --stream --scope example-app* -- yarn test",
21-
"lerna:version": "lerna version --no-commit-hooks --no-changelog --no-push --no-git-tag-version --allow-branch \"next/*\""
21+
"lerna:version": "lerna version --no-commit-hooks --no-changelog --no-push"
2222
},
2323
"workspaces": {
2424
"packages": [

0 commit comments

Comments
 (0)