Skip to content

Commit 88de93d

Browse files
author
mazhaobo
committed
build(lerna): 更新 Lerna 配置以使用工作区
- 添加 "useWorkspaces": true 配置项 - 移除多余的空格和换行符
1 parent 3858489 commit 88de93d

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

lerna.json

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,18 @@
22
"lerna": "8",
33
"version": "1.5.0",
44
"npmClient": "pnpm",
5-
"packages": [
6-
"packages/*"
7-
],
5+
"useWorkspaces": true,
6+
"packages": ["packages/*"],
87
"command": {
98
"version": {
10-
"allowBranch": [
11-
"master",
12-
"main",
13-
"release/*",
14-
"daily/*",
15-
"refactor/*"
16-
]
9+
"allowBranch": ["master", "main", "release/*", "daily/*", "refactor/*"]
1710
},
1811
"publish": {
1912
"npmClient": "pnpm",
2013
"verifyRegistry": false,
21-
"ignoreChanges": [
22-
"**/*.md",
23-
"**/test/**"
24-
],
14+
"ignoreChanges": ["**/*.md", "**/test/**"],
2515
"message": "chore(release): publish %v",
2616
"conventionalCommits": true
2717
}
2818
}
29-
}
19+
}

0 commit comments

Comments
 (0)