|
2 | 2 | "name": "root", |
3 | 3 | "private": true, |
4 | 4 | "scripts": { |
5 | | - "build": "lerna run build", |
| 5 | + "build": "pnpm -r run build", |
6 | 6 | "ci:release": "lerna publish from-package --yes", |
7 | 7 | "ci:versionup:major": "lerna version major --no-push --no-git-tag-version --yes && pnpm run commit-version", |
8 | 8 | "ci:versionup:minor": "lerna version minor --no-push --no-git-tag-version --yes && pnpm run commit-version", |
9 | 9 | "ci:versionup:patch": "lerna version patch --no-push --no-git-tag-version --yes && pnpm run commit-version", |
10 | | - "clean": "lerna run clean", |
| 10 | + "clean": "pnpm -r run clean", |
11 | 11 | "commit-version": "git add . && git commit -m \"chore(release): v`node -p 'require(\"./lerna.json\").version'`\"", |
12 | 12 | "eslint": "eslint --cache \"packages/**/{src,test}/**/*.{js,ts}\"", |
13 | 13 | "eslint:fix": "eslint --fix --cache \"packages/**/{src,test}/**/*.{js,ts}\"", |
|
19 | 19 | "release": "lerna publish from-package", |
20 | 20 | "test": "npm-run-all --parallel lint test:projectReferences test:packages", |
21 | 21 | "test:all": "npm-run-all test test:examples test:integration test:docs", |
22 | | - "test:docs": "lerna run test --scope textlint-website", |
23 | | - "test:examples": "lerna run test:ci --scope textlint-example-*", |
24 | | - "test:integration": "lerna run test --scope integration-test", |
25 | | - "test:packages": "lerna run test --ignore integration-test --ignore textlint-example-* --ignore textlint-script-* --ignore textlint-website", |
| 22 | + "test:docs": "pnpm --filter textlint-website run test", |
| 23 | + "test:examples": "pnpm --filter \"textlint-example-*\" run test:ci", |
| 24 | + "test:integration": "pnpm --filter integration-test run test", |
| 25 | + "test:packages": "pnpm --filter \"!root\" --filter \"!integration-test\" --filter \"!textlint-example-*\" --filter \"!textlint-scripts-*\" --filter \"!textlint-website\" -r run test", |
26 | 26 | "test:projectReferences": "workspaces-to-typescript-project-references --includesRoot --check", |
27 | 27 | "type-check": "tsc -b .", |
28 | 28 | "update:projectReferences": "workspaces-to-typescript-project-references --includesRoot ", |
29 | | - "updateSnapshot": "lerna run updateSnapshot", |
| 29 | + "updateSnapshot": "pnpm -r run updateSnapshot", |
30 | 30 | "versionup": "lerna version", |
31 | | - "website": "pnpm run build && lerna run build --scope textlint-website" |
| 31 | + "website": "pnpm run build && pnpm --filter textlint-website run build" |
32 | 32 | }, |
33 | 33 | "lint-staged": { |
34 | 34 | "*.{js,jsx,ts,tsx,css}": [ |
|
43 | 43 | }, |
44 | 44 | "devDependencies": { |
45 | 45 | "@eslint/js": "^9.39.4", |
| 46 | + "@lerna-lite/cli": "^4.11.5", |
| 47 | + "@lerna-lite/publish": "^4.11.5", |
| 48 | + "@lerna-lite/version": "^4.11.5", |
46 | 49 | "@monorepo-utils/workspaces-to-typescript-project-references": "^2.11.0", |
47 | 50 | "@typescript-eslint/eslint-plugin": "^8.58.0", |
48 | 51 | "@typescript-eslint/parser": "^8.58.0", |
49 | 52 | "ajv": "^8.18.0", |
50 | 53 | "eslint": "^9.0.0", |
51 | 54 | "eslint-config-prettier": "^10.1.8", |
52 | 55 | "globals": "^16.5.0", |
53 | | - "lerna": "^9.0.7", |
54 | 56 | "lint-staged": "^16.4.0", |
55 | 57 | "npm-run-all2": "^8.0.4", |
56 | 58 | "prettier": "^2.7.1", |
|
0 commit comments