使用Lerna 和 monorepo管理项目结构
This commit is contained in:
25
lerna.json
Normal file
25
lerna.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "independent",
|
||||
"npmClient": "npm",
|
||||
"command": {
|
||||
"publish": {
|
||||
"registry": "https://registry.npmjs.org/",
|
||||
"allowBranch": ["master", "main"],
|
||||
"conventionalCommits": true,
|
||||
"message": "chore(release): publish packages",
|
||||
"topologicalSort": true,
|
||||
"verifyAccess": true,
|
||||
"verifyRegistry": true
|
||||
},
|
||||
"version": {
|
||||
"allowBranch": ["master", "main"],
|
||||
"conventionalCommits": true,
|
||||
"message": "chore(release): version packages",
|
||||
"push": false
|
||||
}
|
||||
},
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"useWorkspaces": true
|
||||
}
|
||||
Reference in New Issue
Block a user