build: workspace

pull/21/merge
xiaojunnuo 2023-05-07 01:32:47 +08:00
parent 0fca7dc3ce
commit daa990ee96
2 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,13 @@
{ {
"$schema": "node_modules/lerna/schemas/lerna-schema.json", "$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true, "useWorkspaces": true,
"version": "1.0.0", "command": {
"npmClient": "yarn" "bootstrap": {
} "npmClientArgs": [
"--no-package-lock"
]
}
},
"npmClient": "pnpm",
"version": "1.0.0"
}

5
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,5 @@
packages:
# all packages in subdirs of packages/ and components/
- 'packages/**'
# exclude packages that are inside test directories
- '!**/test/**'