|
12 | 12 | "author": "Microsoft and contributors",
|
13 | 13 | "scripts": {
|
14 | 14 | "build": "npm run build:compile && npm run lint && npm run build:docs",
|
15 |
| - "build:ci": "lerna run build:compile --stream", |
16 |
| - "build:compile": "lerna run build:compile --stream", |
17 |
| - "build:docs": "lerna run build:docs --stream --parallel", |
| 15 | + "build:compile": "pnpm run -r --stream build:compile", |
| 16 | + "build:docs": "pnpm run -r --no-sort --stream build:docs", |
18 | 17 | "build:fast": "fluid-build --root .. -g build-tools",
|
19 | 18 | "changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 2 --commit-path . -t build-tools_v --context lerna.json",
|
20 |
| - "ci:build": "lerna run build:compile --stream", |
21 |
| - "ci:build:docs": "lerna run ci:build:docs --stream --parallel", |
22 |
| - "ci:eslint": "lerna run eslint --no-sort --stream", |
23 |
| - "ci:test": "npm run test:report ; t1=$? ; npm run test:copyresults ; exit $t1", |
| 19 | + "ci:build": "npm run build", |
| 20 | + "ci:eslint": "pnpm run -r --no-sort --stream --no-bail eslint", |
| 21 | + "ci:test": "npm run test:mocha:report", |
24 | 22 | "ci:test:coverage": "npm run test:coverage ; t1=$? ; npm run test:copyresults ; exit $t1",
|
25 |
| - "clean": "lerna run clean --stream --parallel && npm run clean:docs && npm run clean:nyc", |
| 23 | + "clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc", |
26 | 24 | "clean:docs": "rimraf --glob \"**/_api-extractor-temp\" \"docs/api/*/**\"",
|
27 | 25 | "clean:nyc": "rimraf --glob \"nyc/**\"",
|
28 | 26 | "commit": "git-cz",
|
29 | 27 | "format": "npm run prettier:fix",
|
30 | 28 | "preinstall": "node ../scripts/only-pnpm.cjs",
|
31 | 29 | "install:commitlint": "npm install --global @commitlint/config-conventional",
|
32 |
| - "lint": "npm run prettier && npm run ci:eslint", |
33 |
| - "lint:fix": "lerna run lint:fix --no-sort --stream", |
| 30 | + "lint": "npm run syncpack:deps && npm run syncpack:versions && npm run prettier && npm run ci:eslint", |
| 31 | + "lint:fix": "npm run syncpack:deps:fix && npm run syncpack:versions:fix && npm run prettier:fix && pnpm run -r --no-sort --stream lint:fix", |
34 | 32 | "policy-check": "node packages/build-cli/bin/dev check policy",
|
35 | 33 | "policy-check:asserts": "node packages/build-cli/bin/dev check policy --handler assert-short-codes --fix",
|
36 | 34 | "policy-check:fix": "node packages/build-cli/bin/dev check policy --excludeHandler assert-short-codes --fix",
|
|
43 | 41 | "test": "npm run test:mocha",
|
44 | 42 | "test:bail": "npm run test:mocha:bail",
|
45 | 43 | "test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
|
46 |
| - "test:coverage": "c8 npm run test:report", |
47 |
| - "test:mocha": "lerna run test:mocha --stream --no-bail --no-sort", |
48 |
| - "test:mocha:bail": "lerna run test:mocha --stream", |
49 |
| - "test:mocha:report": "lerna run test:mocha --stream --no-bail --no-sort -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", |
50 |
| - "test:report": "npm run test:mocha:report", |
51 |
| - "tsc": "lerna run tsc --stream", |
52 |
| - "tsc:fast": "fluid-build --root .. -t tsc --buildTools", |
53 |
| - "watch": "lerna run --parallel tsc -- -- --watch" |
| 44 | + "test:coverage": "c8 npm run test:mocha:report", |
| 45 | + "test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color", |
| 46 | + "test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha", |
| 47 | + "test:mocha:report": "pnpm run -r --no-sort --stream --no-bail test:mocha:multireport -- --timeout 4s", |
| 48 | + "tsc": "fluid-build --task tsc", |
| 49 | + "tsc:fast": "fluid-build --root . --task tsc --worker", |
| 50 | + "watch": "pnpm run -r --parallel tsc --watch" |
54 | 51 | },
|
55 | 52 | "nyc": {
|
56 | 53 | "all": true,
|
|
69 | 66 | "@commitlint/cli": "^17.6.6",
|
70 | 67 | "@commitlint/config-conventional": "^17.6.6",
|
71 | 68 | "@commitlint/cz-commitlint": "^17.5.0",
|
| 69 | + "@fluid-tools/build-cli": "^0.22.0", |
72 | 70 | "@fluidframework/build-common": "^2.0.0",
|
73 |
| - "@fluidframework/build-tools": "^0.21.0", |
| 71 | + "@fluidframework/build-tools": "^0.22.0", |
74 | 72 | "@microsoft/api-documenter": "^7.22.24",
|
75 | 73 | "@microsoft/api-extractor": "^7.36.1",
|
76 | 74 | "c8": "^7.14.0",
|
|
82 | 80 | "cz-conventional-changelog": "^3.3.0",
|
83 | 81 | "cz-customizable": "^7.0.0",
|
84 | 82 | "inquirer": "^8.2.5",
|
85 |
| - "lerna": "^5.6.2", |
86 | 83 | "prettier": "~2.6.2",
|
87 | 84 | "rimraf": "^4.4.1",
|
88 | 85 | "run-script-os": "^1.1.6",
|
|
0 commit comments