Skip to content

Commit

Permalink
[main > 6.0] build: Remove lerna from client and build-tools (#16908)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbutler authored Aug 17, 2023
1 parent 934e70d commit 8b9e980
Show file tree
Hide file tree
Showing 11 changed files with 406 additions and 2,122 deletions.
1 change: 1 addition & 0 deletions .releaseGroup
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The presence of this file in a directory indicates it is the root of a release group.
1 change: 1 addition & 0 deletions build-tools/.releaseGroup
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The presence of this file in a directory indicates it is the root of a release group.
37 changes: 17 additions & 20 deletions build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,23 @@
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run build:compile && npm run lint && npm run build:docs",
"build:ci": "lerna run build:compile --stream",
"build:compile": "lerna run build:compile --stream",
"build:docs": "lerna run build:docs --stream --parallel",
"build:compile": "pnpm run -r --stream build:compile",
"build:docs": "pnpm run -r --no-sort --stream build:docs",
"build:fast": "fluid-build --root .. -g build-tools",
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 2 --commit-path . -t build-tools_v --context lerna.json",
"ci:build": "lerna run build:compile --stream",
"ci:build:docs": "lerna run ci:build:docs --stream --parallel",
"ci:eslint": "lerna run eslint --no-sort --stream",
"ci:test": "npm run test:report ; t1=$? ; npm run test:copyresults ; exit $t1",
"ci:build": "npm run build",
"ci:eslint": "pnpm run -r --no-sort --stream --no-bail eslint",
"ci:test": "npm run test:mocha:report",
"ci:test:coverage": "npm run test:coverage ; t1=$? ; npm run test:copyresults ; exit $t1",
"clean": "lerna run clean --stream --parallel && npm run clean:docs && npm run clean:nyc",
"clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf --glob \"**/_api-extractor-temp\" \"docs/api/*/**\"",
"clean:nyc": "rimraf --glob \"nyc/**\"",
"commit": "git-cz",
"format": "npm run prettier:fix",
"preinstall": "node ../scripts/only-pnpm.cjs",
"install:commitlint": "npm install --global @commitlint/config-conventional",
"lint": "npm run prettier && npm run ci:eslint",
"lint:fix": "lerna run lint:fix --no-sort --stream",
"lint": "npm run syncpack:deps && npm run syncpack:versions && npm run prettier && npm run ci:eslint",
"lint:fix": "npm run syncpack:deps:fix && npm run syncpack:versions:fix && npm run prettier:fix && pnpm run -r --no-sort --stream lint:fix",
"policy-check": "node packages/build-cli/bin/dev check policy",
"policy-check:asserts": "node packages/build-cli/bin/dev check policy --handler assert-short-codes --fix",
"policy-check:fix": "node packages/build-cli/bin/dev check policy --excludeHandler assert-short-codes --fix",
Expand All @@ -43,14 +41,13 @@
"test": "npm run test:mocha",
"test:bail": "npm run test:mocha:bail",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test:report",
"test:mocha": "lerna run test:mocha --stream --no-bail --no-sort",
"test:mocha:bail": "lerna run test:mocha --stream",
"test:mocha:report": "lerna run test:mocha --stream --no-bail --no-sort -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml",
"test:report": "npm run test:mocha:report",
"tsc": "lerna run tsc --stream",
"tsc:fast": "fluid-build --root .. -t tsc --buildTools",
"watch": "lerna run --parallel tsc -- -- --watch"
"test:coverage": "c8 npm run test:mocha:report",
"test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color",
"test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha",
"test:mocha:report": "pnpm run -r --no-sort --stream --no-bail test:mocha:multireport -- --timeout 4s",
"tsc": "fluid-build --task tsc",
"tsc:fast": "fluid-build --root . --task tsc --worker",
"watch": "pnpm run -r --parallel tsc --watch"
},
"nyc": {
"all": true,
Expand All @@ -69,8 +66,9 @@
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@commitlint/cz-commitlint": "^17.5.0",
"@fluid-tools/build-cli": "^0.22.0",
"@fluidframework/build-common": "^2.0.0",
"@fluidframework/build-tools": "^0.21.0",
"@fluidframework/build-tools": "^0.22.0",
"@microsoft/api-documenter": "^7.22.24",
"@microsoft/api-extractor": "^7.36.1",
"c8": "^7.14.0",
Expand All @@ -82,7 +80,6 @@
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"inquirer": "^8.2.5",
"lerna": "^5.6.2",
"prettier": "~2.6.2",
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6",
Expand Down
Loading

0 comments on commit 8b9e980

Please sign in to comment.