From d8c4d6154f17f6d2a704aa46395de8dabcad121f Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Fri, 24 Jul 2026 09:55:42 -0400 Subject: [PATCH] chore: sort deps and run pkg fix --- .../compute-test-group.mjs | 0 .github/scripts/lint-pkg.mjs | 45 +++++++++++++++++++ .github/workflows/check-test.yaml | 20 ++++++++- configs/eslint-config-devtools/package.json | 2 +- configs/eslint-plugin-devtools/package.json | 2 +- configs/mocha-config-devtools/package.json | 2 +- configs/prettier-config-devtools/package.json | 2 +- configs/tsconfig-devtools/package.json | 2 +- packages/aggregation-stage-icons/package.json | 2 +- packages/device-id/package.json | 2 +- packages/devtools-connect/package.json | 2 +- packages/devtools-proxy-support/package.json | 6 +-- packages/dl-center/package.json | 4 +- packages/download-url/package.json | 6 +-- packages/get-os-info/package.json | 2 +- packages/mongodb-build-info/package.json | 2 +- packages/mongodb-cloud-info/package.json | 2 +- packages/mongodb-constants/package.json | 2 +- packages/mongodb-downloader/package.json | 8 ++-- packages/mongodb-log-writer/package.json | 2 +- packages/mongodb-ns/package.json | 2 +- packages/mongodb-redact/package.json | 6 +-- packages/mongodb-runner/package.json | 2 +- .../mongodb-server-log-checker/package.json | 2 +- packages/mongodb-ts-autocomplete/package.json | 2 +- packages/monorepo-tools/package.json | 14 +++--- packages/mql-typescript/package.json | 2 +- packages/native-machine-id/package.json | 8 ++-- .../package.json | 2 +- packages/oidc-http-server-pages/package.json | 5 +-- packages/oidc-mock-provider/package.json | 2 +- packages/query-parser/package.json | 4 +- packages/saslprep/package.json | 2 +- packages/sbom-tools/package.json | 4 +- packages/shell-bson-parser/package.json | 2 +- packages/signing-utils/package.json | 6 +-- packages/tracking-plan/package.json | 2 +- packages/ts-autocomplete/package.json | 2 +- scripts/package.json | 4 +- 39 files changed, 125 insertions(+), 63 deletions(-) rename .github/{workflows => scripts}/compute-test-group.mjs (100%) create mode 100644 .github/scripts/lint-pkg.mjs diff --git a/.github/workflows/compute-test-group.mjs b/.github/scripts/compute-test-group.mjs similarity index 100% rename from .github/workflows/compute-test-group.mjs rename to .github/scripts/compute-test-group.mjs diff --git a/.github/scripts/lint-pkg.mjs b/.github/scripts/lint-pkg.mjs new file mode 100644 index 00000000..4d35ed03 --- /dev/null +++ b/.github/scripts/lint-pkg.mjs @@ -0,0 +1,45 @@ +// @ts-check +import fs from "node:fs"; + +// Find every package.json in this repo that is not in node_modules and not in .github +// and run local us-en sort on the dependencies, devDependencies and peerDependencies. +// assert that there's no changes. + +const collator = new Intl.Collator("en-US"); + +/** @param {string[]} keys */ +function isSorted(keys) { + const sorted = keys.toSorted(collator.compare); + return keys.every((key, index) => key === sorted[index]); +} + +/** @type {string[]} */ +const packageJsonPaths = []; +for await (const path of fs.promises.glob("**/package.json")) { + if (!path.includes("node_modules/") && !path.startsWith(".github/")) { + packageJsonPaths.push(path); + } +} + +const results = await Promise.all( + packageJsonPaths.map(async (path) => { + const pkg = JSON.parse(await fs.promises.readFile(path, "utf8")); + return ["dependencies", "devDependencies", "peerDependencies"] + .filter((field) => pkg[field] && !isSorted(Object.keys(pkg[field]))) + .map((field) => `${path} (${field})`); + }), +); + +const unsorted = results.flat(); + +if (unsorted.length > 0) { + console.error( + "Error: The following package.json files have unsorted dependencies:\n" + + unsorted.map((entry) => ` - ${entry}`).join("\n"), + ); + process.exitCode = 1; +} else { + console.log( + `Success: Checked ${packageJsonPaths.length} package.json files, all dependencies are sorted.`, + ); +} diff --git a/.github/workflows/check-test.yaml b/.github/workflows/check-test.yaml index c1db3b68..3dd3b0a9 100644 --- a/.github/workflows/check-test.yaml +++ b/.github/workflows/check-test.yaml @@ -105,7 +105,7 @@ jobs: - name: Run Tests run: | - scopes=$(node .github/workflows/compute-test-group.mjs "${{ matrix.group }}" "${TOTAL_GROUPS}") + scopes=$(node .github/scripts/compute-test-group.mjs "${{ matrix.group }}" "${TOTAL_GROUPS}") echo "Testing group ${{ matrix.group }}/${TOTAL_GROUPS} with: ${scopes}" npm run test-ci -- --stream ${scopes} shell: bash @@ -143,3 +143,21 @@ jobs: COVERALLS_GIT_BRANCH: ${{ github.head_ref || github.ref_name }} COVERALLS_REPO_TOKEN: ${{ github.token }} COVERALLS_GIT_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }} + + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + submodules: recursive + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: 22.21.1 + + - name: Run Lint + run: node .github/scripts/lint-pkg.mjs diff --git a/configs/eslint-config-devtools/package.json b/configs/eslint-config-devtools/package.json index c1782ab9..a6678ddc 100644 --- a/configs/eslint-config-devtools/package.json +++ b/configs/eslint-config-devtools/package.json @@ -38,7 +38,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "homepage": "https://github.com/mongodb-js/devtools-shared", "publishConfig": { diff --git a/configs/eslint-plugin-devtools/package.json b/configs/eslint-plugin-devtools/package.json index 6922c351..95c189ec 100644 --- a/configs/eslint-plugin-devtools/package.json +++ b/configs/eslint-plugin-devtools/package.json @@ -5,7 +5,7 @@ "version": "0.3.4", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "index.js", diff --git a/configs/mocha-config-devtools/package.json b/configs/mocha-config-devtools/package.json index a09b5742..f9fe4859 100644 --- a/configs/mocha-config-devtools/package.json +++ b/configs/mocha-config-devtools/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "homepage": "https://github.com/mongodb-js/devtools-shared", "publishConfig": { diff --git a/configs/prettier-config-devtools/package.json b/configs/prettier-config-devtools/package.json index ca277f1d..a8c230d8 100644 --- a/configs/prettier-config-devtools/package.json +++ b/configs/prettier-config-devtools/package.json @@ -17,7 +17,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "homepage": "https://github.com/mongodb-js/devtools-shared", "publishConfig": { diff --git a/configs/tsconfig-devtools/package.json b/configs/tsconfig-devtools/package.json index 1aa597e9..4973dd40 100644 --- a/configs/tsconfig-devtools/package.json +++ b/configs/tsconfig-devtools/package.json @@ -21,7 +21,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "homepage": "https://github.com/mongodb-js/devtools", "publishConfig": { diff --git a/packages/aggregation-stage-icons/package.json b/packages/aggregation-stage-icons/package.json index 6ebe099c..c6fc0aef 100644 --- a/packages/aggregation-stage-icons/package.json +++ b/packages/aggregation-stage-icons/package.json @@ -16,7 +16,7 @@ "version": "0.2.14", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/device-id/package.json b/packages/device-id/package.json index b731bb17..3531ab9f 100644 --- a/packages/device-id/package.json +++ b/packages/device-id/package.json @@ -16,7 +16,7 @@ "version": "0.4.13", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/devtools-connect/package.json b/packages/devtools-connect/package.json index b9ddfa86..59077697 100644 --- a/packages/devtools-connect/package.json +++ b/packages/devtools-connect/package.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/mongodb-js/devtools-shared/tree/main/packages/devtools-connect", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "publishConfig": { "access": "public" diff --git a/packages/devtools-proxy-support/package.json b/packages/devtools-proxy-support/package.json index d2f444c8..bac2d22b 100644 --- a/packages/devtools-proxy-support/package.json +++ b/packages/devtools-proxy-support/package.json @@ -16,7 +16,7 @@ "version": "0.7.17", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -67,11 +67,11 @@ "@mongodb-js/socksv5": "^0.0.10", "agent-base": "^7.1.1", "debug": "^4.4.0", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", "lru-cache": "^11.3.5", "node-fetch": "^3.3.2", "pac-proxy-agent": "^7.0.2", - "http-proxy-agent": "^7.0.2", - "https-proxy-agent": "^7.0.5", "socks-proxy-agent": "^8.0.4", "ssh2": "^1.17.0", "system-ca": "^3.0.0" diff --git a/packages/dl-center/package.json b/packages/dl-center/package.json index d4b9583f..6d5fdd1a 100644 --- a/packages/dl-center/package.json +++ b/packages/dl-center/package.json @@ -16,7 +16,7 @@ "version": "1.6.13", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -63,11 +63,11 @@ "@types/node": "^25.5.2", "@types/s3rver": "^3.7.4", "@types/sinon-chai": "^4.0.0", - "json-schema-to-typescript": "^13.0.2", "chai": "^4.5.0", "depcheck": "^1.4.7", "eslint": "^7.25.0 || ^8.0.0", "gen-esm-wrapper": "^1.1.3", + "json-schema-to-typescript": "^13.0.2", "mocha": "^8.4.0", "nock": "^14.0.12", "nyc": "^15.1.0", diff --git a/packages/download-url/package.json b/packages/download-url/package.json index d2a6ddf6..56c18c75 100644 --- a/packages/download-url/package.json +++ b/packages/download-url/package.json @@ -65,8 +65,8 @@ "nyc": "^15.1.0", "prettier": "^3.8.1", "sinon": "^9.2.3", - "typescript": "^5.9.3", - "ts-node": "^10.9.2" + "ts-node": "^10.9.2", + "typescript": "^5.9.3" }, "keywords": [ "mongodb", @@ -74,7 +74,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "author": "Lucas Hrabovsky (http://imlucas.com)", "license": "Apache-2.0", diff --git a/packages/get-os-info/package.json b/packages/get-os-info/package.json index d9bf9079..aa413aaf 100644 --- a/packages/get-os-info/package.json +++ b/packages/get-os-info/package.json @@ -16,7 +16,7 @@ "version": "0.7.0", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/mongodb-build-info/package.json b/packages/mongodb-build-info/package.json index 09cda8bd..c84de612 100644 --- a/packages/mongodb-build-info/package.json +++ b/packages/mongodb-build-info/package.json @@ -29,7 +29,7 @@ "homepage": "https://github.com/mongodb-js/devtools-shared", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git", + "url": "git+https://github.com/mongodb-js/devtools-shared.git", "directory": "packages/mongodb-build-info" }, "license": "Apache-2.0", diff --git a/packages/mongodb-cloud-info/package.json b/packages/mongodb-cloud-info/package.json index b3fce712..743cb9f1 100644 --- a/packages/mongodb-cloud-info/package.json +++ b/packages/mongodb-cloud-info/package.json @@ -16,7 +16,7 @@ "homepage": "https://github.com/mongodb-js/devtools-shared", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/mongodb-constants/package.json b/packages/mongodb-constants/package.json index bb060738..6e584331 100644 --- a/packages/mongodb-constants/package.json +++ b/packages/mongodb-constants/package.json @@ -16,7 +16,7 @@ "version": "0.34.2", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/mongodb-downloader/package.json b/packages/mongodb-downloader/package.json index 45d6f5eb..72f989ab 100644 --- a/packages/mongodb-downloader/package.json +++ b/packages/mongodb-downloader/package.json @@ -16,7 +16,7 @@ "version": "1.1.16", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -53,18 +53,18 @@ }, "dependencies": { "debug": "^4.4.0", - "tar": "^7.5.11", "decompress": "^4.2.1", "mongodb-download-url": "^1.8.14", "node-fetch": "^2.7.0", - "proper-lockfile": "^4.1.2" + "proper-lockfile": "^4.1.2", + "tar": "^7.5.11" }, "devDependencies": { "@mongodb-js/eslint-config-devtools": "^0.11.7", "@mongodb-js/mocha-config-devtools": "^1.1.2", "@mongodb-js/prettier-config-devtools": "^1.0.3", - "@types/chai": "^4.2.21", "@mongodb-js/tsconfig-devtools": "^1.1.2", + "@types/chai": "^4.2.21", "@types/debug": "^4.1.8", "@types/decompress": "^4.2.7", "@types/mocha": "^9.1.1", diff --git a/packages/mongodb-log-writer/package.json b/packages/mongodb-log-writer/package.json index aa5fbbd3..40310277 100644 --- a/packages/mongodb-log-writer/package.json +++ b/packages/mongodb-log-writer/package.json @@ -16,7 +16,7 @@ "homepage": "https://github.com/mongodb-js/devtools-shared", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "keywords": [ "mongodb", diff --git a/packages/mongodb-ns/package.json b/packages/mongodb-ns/package.json index f421367f..4fa0ec6f 100644 --- a/packages/mongodb-ns/package.json +++ b/packages/mongodb-ns/package.json @@ -16,7 +16,7 @@ "version": "3.2.0", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/mongodb-redact/package.json b/packages/mongodb-redact/package.json index ff95193f..c91717c1 100644 --- a/packages/mongodb-redact/package.json +++ b/packages/mongodb-redact/package.json @@ -16,7 +16,7 @@ "version": "1.4.11", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -71,7 +71,7 @@ "typescript": "^5.9.3" }, "dependencies": { - "regexp.escape": "^2.0.1", - "mongodb-connection-string-url": "^3.0.1 || ^7.0.0" + "mongodb-connection-string-url": "^3.0.1 || ^7.0.0", + "regexp.escape": "^2.0.1" } } diff --git a/packages/mongodb-runner/package.json b/packages/mongodb-runner/package.json index a253e984..53bf42e3 100644 --- a/packages/mongodb-runner/package.json +++ b/packages/mongodb-runner/package.json @@ -16,7 +16,7 @@ "version": "6.8.4", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist", diff --git a/packages/mongodb-server-log-checker/package.json b/packages/mongodb-server-log-checker/package.json index b47d0212..4dd3f258 100644 --- a/packages/mongodb-server-log-checker/package.json +++ b/packages/mongodb-server-log-checker/package.json @@ -16,7 +16,7 @@ "version": "0.2.17", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/mongodb-ts-autocomplete/package.json b/packages/mongodb-ts-autocomplete/package.json index 11777d5f..412beca1 100644 --- a/packages/mongodb-ts-autocomplete/package.json +++ b/packages/mongodb-ts-autocomplete/package.json @@ -16,7 +16,7 @@ "version": "0.8.1", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/monorepo-tools/package.json b/packages/monorepo-tools/package.json index 74d67bac..3d2572f0 100644 --- a/packages/monorepo-tools/package.json +++ b/packages/monorepo-tools/package.json @@ -13,7 +13,7 @@ "version": "1.5.7", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "license": "SSPL", "files": [ @@ -23,12 +23,12 @@ ], "main": "dist/index.js", "bin": { - "precommit": "./bin/precommit.js", - "depalign": "./bin/depalign.js", - "monorepo-where": "./bin/where.js", - "bump-monorepo-packages": "./bin/bump-packages.js", - "request-npm-token": "./bin/request-npm-token.js", - "check-transitive-deps": "./bin/check-transitive-deps.js" + "precommit": "bin/precommit.js", + "depalign": "bin/depalign.js", + "monorepo-where": "bin/where.js", + "bump-monorepo-packages": "bin/bump-packages.js", + "request-npm-token": "bin/request-npm-token.js", + "check-transitive-deps": "bin/check-transitive-deps.js" }, "scripts": { "bootstrap": "npm run compile", diff --git a/packages/mql-typescript/package.json b/packages/mql-typescript/package.json index f11e9e8b..06572998 100644 --- a/packages/mql-typescript/package.json +++ b/packages/mql-typescript/package.json @@ -16,7 +16,7 @@ "version": "0.6.1", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist", diff --git a/packages/native-machine-id/package.json b/packages/native-machine-id/package.json index b875a913..fa8c3678 100644 --- a/packages/native-machine-id/package.json +++ b/packages/native-machine-id/package.json @@ -43,7 +43,7 @@ "homepage": "https://github.com/mongodb-js/devtools-shared", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "bugs": "https://jira.mongodb.org/projects/COMPASS/issues", "bin": { @@ -63,14 +63,14 @@ "@types/mocha": "^9.1.1", "@types/node": "^25.5.2", "@types/sinon-chai": "^4.0.0", + "depcheck": "^1.4.7", "eslint": "^7.25.0 || ^8.0.0", "gen-esm-wrapper": "^1.1.3", "mocha": "^8.4.0", - "depcheck": "^1.4.7", "node-machine-id": "^1.1.12", "prettier": "^3.8.1", - "typescript": "^5.9.3", - "ts-node": "^10.9.2" + "ts-node": "^10.9.2", + "typescript": "^5.9.3" }, "keywords": [ "machine id", diff --git a/packages/node-webpack-startup-snapshot-checker/package.json b/packages/node-webpack-startup-snapshot-checker/package.json index 3faad921..8e255e44 100644 --- a/packages/node-webpack-startup-snapshot-checker/package.json +++ b/packages/node-webpack-startup-snapshot-checker/package.json @@ -16,7 +16,7 @@ "version": "0.4.12", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/oidc-http-server-pages/package.json b/packages/oidc-http-server-pages/package.json index f1ecb5a4..f325788f 100644 --- a/packages/oidc-http-server-pages/package.json +++ b/packages/oidc-http-server-pages/package.json @@ -16,7 +16,7 @@ "version": "1.2.12", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -51,14 +51,13 @@ "test-ci": "npm run test-cov", "reformat": "npm run prettier -- --write ." }, - "dependencies": {}, "devDependencies": { + "@leafygreen-ui/emotion": "^5.2.0", "@mongodb-js/compass-components": "^1.6.0", "@mongodb-js/eslint-config-devtools": "^0.11.7", "@mongodb-js/mocha-config-devtools": "^1.1.2", "@mongodb-js/prettier-config-devtools": "^1.0.3", "@mongodb-js/tsconfig-devtools": "^1.1.2", - "@leafygreen-ui/emotion": "^5.2.0", "@types/chai": "^4.2.21", "@types/mocha": "^9.1.1", "@types/react": "^17.0.53", diff --git a/packages/oidc-mock-provider/package.json b/packages/oidc-mock-provider/package.json index 2e3b628b..ecd46337 100644 --- a/packages/oidc-mock-provider/package.json +++ b/packages/oidc-mock-provider/package.json @@ -16,7 +16,7 @@ "version": "0.13.13", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist", diff --git a/packages/query-parser/package.json b/packages/query-parser/package.json index 910601a9..ace56dd4 100644 --- a/packages/query-parser/package.json +++ b/packages/query-parser/package.json @@ -16,7 +16,7 @@ "version": "4.7.14", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" @@ -52,8 +52,8 @@ "reformat": "npm run prettier -- --write ." }, "dependencies": { - "debug": "^4.4.0", "@mongodb-js/shell-bson-parser": "^1.5.13", + "debug": "^4.4.0", "javascript-stringify": "^2.1.0", "lodash": "^4.17.21" }, diff --git a/packages/saslprep/package.json b/packages/saslprep/package.json index d65f8634..51ff097d 100644 --- a/packages/saslprep/package.json +++ b/packages/saslprep/package.json @@ -21,7 +21,7 @@ "version": "1.4.12", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/sbom-tools/package.json b/packages/sbom-tools/package.json index 87b391f5..e760cdb7 100644 --- a/packages/sbom-tools/package.json +++ b/packages/sbom-tools/package.json @@ -9,7 +9,7 @@ "access": "public" }, "bin": { - "mongodb-sbom-tools": "./bin/mongodb-sbom-tools.js" + "mongodb-sbom-tools": "bin/mongodb-sbom-tools.js" }, "bugs": { "url": "https://jira.mongodb.org/projects/COMPASS/issues", @@ -19,7 +19,7 @@ "version": "0.10.18", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/shell-bson-parser/package.json b/packages/shell-bson-parser/package.json index e95eb743..c0edb1f0 100644 --- a/packages/shell-bson-parser/package.json +++ b/packages/shell-bson-parser/package.json @@ -16,7 +16,7 @@ "version": "1.5.13", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/packages/signing-utils/package.json b/packages/signing-utils/package.json index 4e9c64ca..b612ff8d 100644 --- a/packages/signing-utils/package.json +++ b/packages/signing-utils/package.json @@ -16,7 +16,7 @@ "version": "0.5.12", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist", @@ -72,8 +72,8 @@ "typescript": "^5.9.3" }, "dependencies": { + "@types/ssh2": "^1.11.19", "debug": "^4.4.0", - "ssh2": "^1.17.0", - "@types/ssh2": "^1.11.19" + "ssh2": "^1.17.0" } } diff --git a/packages/tracking-plan/package.json b/packages/tracking-plan/package.json index 9d87e9d6..186e071b 100644 --- a/packages/tracking-plan/package.json +++ b/packages/tracking-plan/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "homepage": "https://github.com/mongodb-js/devtools-shared/tree/main/packages/tracking-plan", "author": { diff --git a/packages/ts-autocomplete/package.json b/packages/ts-autocomplete/package.json index 2d8206bd..470235aa 100644 --- a/packages/ts-autocomplete/package.json +++ b/packages/ts-autocomplete/package.json @@ -16,7 +16,7 @@ "version": "0.5.12", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "files": [ "dist" diff --git a/scripts/package.json b/scripts/package.json index 66ad8037..cdc69b2a 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -14,7 +14,7 @@ "version": "0.4.1", "repository": { "type": "git", - "url": "https://github.com/mongodb-js/devtools-shared.git" + "url": "git+https://github.com/mongodb-js/devtools-shared.git" }, "license": "SSPL", "scripts": { @@ -28,8 +28,8 @@ }, "devDependencies": { "@mongodb-js/eslint-config-devtools": "^0.11.7", - "@mongodb-js/prettier-config-devtools": "^1.0.3", "@mongodb-js/monorepo-tools": "^1.5.7", + "@mongodb-js/prettier-config-devtools": "^1.0.3", "depcheck": "^1.4.7", "eslint": "^7.25.0 || ^8.0.0", "prettier": "^3.8.1"