|
12 | 12 | "prepare": "husky install",
|
13 | 13 | "commit-msg": "commitlint --config commitlint.config.cjs --edit",
|
14 | 14 | "pre-commit": "npm run test:lint",
|
15 |
| - "install": "lerna bootstrap", |
16 | 15 | "test": "npm run test:lint && npm run test:packages",
|
17 | 16 | "test:lint": "lint-staged",
|
18 | 17 | "test:lint:ci": "ts-standard",
|
19 | 18 | "test:unit": "cd packages/$PACKAGE && c8 npm run test:unit",
|
20 | 19 | "test:benchmark": "cd packages/$PACKAGE && npm run test:benchmark",
|
21 |
| - "test:packages": "npm run test:packages:typings && npm run test:packages:unit", |
22 |
| - "test:packages:unit": "c8 lerna exec --bail --concurrency 5 npm run test:unit", |
23 |
| - "test:packages:benchmark": "lerna exec --bail --concurrency 1 npm run test:benchmark", |
24 |
| - "test:packages:typings": "lerna exec --bail --concurrency 5 tsd", |
| 20 | + "test:packages": "npm run test:packages:typings && npm run test:packages:unit --workspaces", |
| 21 | + "test:packages:unit": "c8 npm run test:unit --workspaces", |
| 22 | + "test:packages:benchmark": "npm run test:benchmark --workspaces", |
| 23 | + "test:packages:typings": "tsd --workspaces", |
25 | 24 | "release:tag": "git tag $npm_package_version && git push --tags",
|
26 |
| - "lerna:rm": "npm run lerna:rm:coverage && npm run lerna:rm:node_modules && npm run lerna:rm:lock", |
27 |
| - "lerna:rm:coverage": "lerna exec -- rm -rf coverage", |
28 |
| - "lerna:rm:lock": "lerna exec -- rm -rf package-lock.json", |
29 |
| - "lerna:rm:node_modules": "lerna exec -- rm -rf node_modules", |
30 |
| - "lerna:update": "lerna exec --bail --concurrency 5 npm update && npm install", |
31 |
| - "lerna:outdated": "lerna exec --concurrency 5 --no-bail npm outdated", |
32 |
| - "lerna:audit": "lerna exec --concurrency 2 npm audit fix", |
33 |
| - "lerna:fund": "lerna exec --concurrency 2 npm fund", |
34 |
| - "lerna:sync": "lerna exec --bail --concurrency 2 npm install && lerna publish --exact --yes --skip-npm --skip-git --repo-version $npm_package_version", |
| 25 | + "rm": "npm run lerna:rm:coverage && npm run lerna:rm:node_modules && npm run lerna:rm:lock", |
| 26 | + "rm:coverage": "rm -rf coverage --workspaces", |
| 27 | + "rm:lock": "rm -rf package-lock.json --workspaces", |
| 28 | + "rm:node_modules": "rm -rf node_modules --workspaces", |
| 29 | + "update": "npm update --workspaces && npm install --workspaces", |
| 30 | + "outdated": "npm outdated --workspaces", |
| 31 | + "audit": "npm audit fix --workspaces", |
| 32 | + "lerna:sync": "npm install && lerna publish --exact --yes --skip-npm --skip-git --repo-version $npm_package_version", |
35 | 33 | "lerna:publish": "lerna publish --exact --yes --skip-git --repo-version $npm_package_version",
|
36 | 34 | "lerna:publish:next": "lerna publish --exact --yes --skip-git --repo-version $npm_package_version --dist-tag next"
|
37 | 35 | },
|
|
65 | 63 | "aws-sdk-client-mock": "^3.0.0",
|
66 | 64 | "c8": "^9.0.0",
|
67 | 65 | "husky": "^8.0.0",
|
68 |
| - "lerna": "^6.0.0", |
| 66 | + "lerna": "^8.0.0", |
69 | 67 | "lint-staged": "^15.0.0",
|
70 | 68 | "prettier": "^3.0.0",
|
71 | 69 | "sinon": "^17.0.0",
|
|
74 | 72 | "ts-standard": "^12.0.0",
|
75 | 73 | "tsd": "^0.30.0"
|
76 | 74 | },
|
| 75 | + "workspaces": [ |
| 76 | + "packages/*" |
| 77 | + ], |
77 | 78 | "ts-standard": {
|
78 | 79 | "ignore": [
|
79 | 80 | "website/build/**/*.js"
|
|
0 commit comments