Lerna for convenient package collection scripting

This commit is contained in:
Tony Garnock-Jones 2021-05-24 10:39:23 +02:00
parent 9bdfc4c3ab
commit aaee62044c
3 changed files with 3308 additions and 43 deletions

View File

@ -0,0 +1,6 @@
{
"packages": ["packages/*"],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
}

View File

@ -4,6 +4,7 @@
"devDependencies": {
"@types/jest": "^26.0.19",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"rollup": "^2.40.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.2",
@ -14,11 +15,11 @@
"packages/*"
],
"scripts": {
"prepare": "yarn workspaces run prepare",
"clean": "yarn workspaces run clean",
"veryclean": "yarn run veryclean:local && yarn workspaces run veryclean",
"prepare": "lerna exec yarn run prepare",
"clean": "lerna exec yarn run clean",
"veryclean": "yarn run veryclean:local && lerna exec yarn run veryclean",
"veryclean:local": "rm -rf node_modules",
"build": "yarn workspaces run prepare",
"test": "yarn workspaces run test"
"build": "lerna exec yarn run prepare",
"test": "lerna exec yarn run test"
}
}

File diff suppressed because it is too large Load Diff