使用Lerna 和 monorepo管理项目结构

This commit is contained in:
YHH
2025-08-07 13:29:12 +08:00
parent 4479f0fab0
commit ea8523be35
135 changed files with 7058 additions and 372 deletions

25
lerna.json Normal file
View 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
}