|
15 | 15 | "bootstrap-ci": "lerna bootstrap --ci",
|
16 | 16 | "clean": "lerna clean -y && rm -Rf node_modules",
|
17 | 17 | "check": "lerna run check --since HEAD --exclude-dependents",
|
18 |
| - "check-ci": "lerna run check", |
| 18 | + "check-ci": "npm run check --workspaces --if-present", |
19 | 19 | "depalign": "depalign",
|
20 | 20 | "predepcheck": "npm run depalign",
|
21 |
| - "depcheck": "lerna run --stream depcheck", |
22 |
| - "lint": "lerna run lint", |
| 21 | + "depcheck": "npm run depcheck --workspaces --if-present", |
| 22 | + "lint": "npm run lint --workspaces --if-present", |
23 | 23 | "test": "rimraf .nyc_output && lerna exec -- nyc --no-clean --cwd ../.. --reporter=none npm run test && npm run report-coverage",
|
24 | 24 | "test-ci": "rimraf .nyc_output && lerna exec -- nyc --no-clean --cwd ../.. --reporter=none npm run test-ci && npm run post-process-nyc",
|
25 | 25 | "test-ci-nocoverage": "lerna exec -- npm run test-ci",
|
26 |
| - "test-e2e": "lerna run --stream test-e2e", |
27 |
| - "test-e2e-ci": "lerna run --stream test-e2e-ci", |
28 |
| - "test-apistrict-ci": "lerna run --stream test-apistrict-ci", |
29 |
| - "test-connectivity": "lerna run --stream test-connectivity", |
| 26 | + "test-e2e": "npm run test-e2e --workspaces --if-present", |
| 27 | + "test-e2e-ci": "npm run test-e2e-ci --workspaces --if-present", |
| 28 | + "test-apistrict-ci": "npm run test-apistrict-ci --workspaces --if-present", |
| 29 | + "test-connectivity": "npm run test-connectivity --workspaces --if-present", |
30 | 30 | "replace-package": "node scripts/replace-package.js",
|
31 | 31 | "test-nodedriver": "bash .evergreen/test-node-driver.sh",
|
32 | 32 | "compile": "lerna run compile",
|
33 | 33 | "compile-cli": "lerna run compile --scope @mongosh/cli-repl --include-dependencies",
|
34 | 34 | "prestart-cli": "npm run compile-cli",
|
35 | 35 | "start-cli": "lerna exec npm start --scope @mongosh/cli-repl",
|
36 |
| - "compile-browser": "lerna run --stream build --scope @mongosh/browser-repl", |
37 |
| - "prestart-browser": "npm run compile-browser", |
38 |
| - "start-browser": "lerna exec npm start --scope @mongosh/browser-repl", |
| 36 | + "start-browser": "npm run start --workspace @mongosh/browser-repl", |
39 | 37 | "start": "npm run start-cli",
|
40 | 38 | "precompile-exec": "npm run compile-cli",
|
41 | 39 | "compile-exec": "npm run evergreen-release compile",
|
42 | 40 | "compile-all": "npm run compile-compass && npm run compile-exec",
|
43 | 41 | "evergreen-release": "cd packages/build && npm run evergreen-release --",
|
44 | 42 | "release": "cd packages/build && npm run release --",
|
45 |
| - "report-missing-help": "lerna run --stream --scope @mongosh/shell-api report-missing-help", |
46 |
| - "report-supported-api": "lerna run --stream --scope @mongosh/shell-api report-supported-api", |
| 43 | + "report-missing-help": "npm run report-missing-help --workspace @mongosh/shell-api", |
| 44 | + "report-supported-api": "npm run report-supported-api --workspace @mongosh/shell-api", |
47 | 45 | "post-process-nyc": "ts-node scripts/nyc/post-process-nyc-output.ts",
|
48 | 46 | "pre-process-coverage": "ts-node scripts/nyc/pre-process-coverage.ts",
|
49 | 47 | "report-coverage": "nyc report --reporter=text --reporter=html",
|
50 | 48 | "report-coverage-ci": "npm run pre-process-coverage && nyc report --reporter=text --reporter=html",
|
51 | 49 | "check-coverage": "nyc check-coverage --lines=90",
|
52 |
| - "generate-error-overview": "lerna run --stream --scope @mongosh/errors generate-error-overview", |
| 50 | + "generate-error-overview": "npm run generate-error-overview --workspace @mongosh/errors", |
53 | 51 | "update-authors": "ts-node -P configs/tsconfig-mongosh/tsconfig.common.json scripts/generate-authors.ts",
|
54 | 52 | "preupdate-third-party-notices": "npm run webpack-build -w packages/cli-repl",
|
55 | 53 | "update-third-party-notices": "mongodb-sbom-tools generate-3rd-party-notices --product='mongosh' --dependencies=.sbom/dependencies.json > THIRD_PARTY_NOTICES.md",
|
|
63 | 61 | "generate-vulnerability-report": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json,.sbom/node-js-vuln.json --dependencies=.sbom/dependencies.json,.sbom/node-js-dep.json --fail-on=high > .sbom/vulnerability-report.md",
|
64 | 62 | "create-vulnerability-tickets": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json,.sbom/node-js-vuln.json --dependencies=.sbom/dependencies.json,.sbom/node-js-dep.json --create-jira-issues",
|
65 | 63 | "where": "monorepo-where",
|
66 |
| - "reformat": "lerna run reformat --stream --no-bail", |
| 64 | + "reformat": "npm run reformat --workspaces --if-present", |
67 | 65 | "prepare": "husky install",
|
68 | 66 | "precommit": "precommit"
|
69 | 67 | },
|
|
0 commit comments