Skip to content

Commit 3f55e4c

Browse files
authored
chore: remove lerna from where it might run on exotic platforms in CI (#1621)
* remove some lerna usage * lerna@7 * make lerna optional * tweaks * convert bump to use getPackagesInTopologicalOrder() * remove tests for now, remove console.log, check package name * add @mongodb-js/monorepo-tools dep
1 parent 92ee414 commit 3f55e4c

File tree

33 files changed

+17909
-18697
lines changed

33 files changed

+17909
-18697
lines changed

configs/eslint-config-mongosh/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
"lint": "prettier --check .",
3636
"reformat": "prettier --write .",
3737
"test": "echo \"no tests\"",
38-
"test-ci": "npm run test"
38+
"test-ci": "npm run test",
39+
"test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
40+
"test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci"
3941
},
4042
"repository": {
4143
"type": "git",

configs/tsconfig-mongosh/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"lint": "prettier --check .",
2121
"reformat": "prettier --write .",
2222
"test": "echo \"no tests\"",
23-
"test-ci": "npm run test"
23+
"test-ci": "npm run test",
24+
"test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
25+
"test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci"
2426
},
2527
"repository": {
2628
"type": "git",

0 commit comments

Comments
 (0)