From 21da2ae3f61f7dfa131be8983f7c15252b209646 Mon Sep 17 00:00:00 2001 From: Rhys Howell Date: Thu, 2 Feb 2023 22:10:52 -0500 Subject: [PATCH] make @electron/remote dependency optional for vscode packaging requirements --- package-lock.json | 8 ++++---- packages/compass-utils/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60e84e5fc34..e4776ad7566 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73315,9 +73315,6 @@ "name": "@mongodb-js/compass-utils", "version": "0.1.2", "license": "SSPL", - "dependencies": { - "@electron/remote": "^2.0.9" - }, "devDependencies": { "@mongodb-js/eslint-config-compass": "^1.0.1", "@mongodb-js/mocha-config-compass": "^1.0.1", @@ -73335,6 +73332,9 @@ "prettier": "^2.7.1", "sinon": "^9.2.3", "typescript": "^4.8.3" + }, + "optionalDependencies": { + "@electron/remote": "^2.0.9" } }, "packages/compass-utils/node_modules/anymatch": { @@ -135744,7 +135744,7 @@ "@mongodb-js/compass-sidebar": "^5.4.0", "@mongodb-js/compass-utils": "^0.1.2", "@mongodb-js/eslint-config-compass": "^1.0.1", - "@mongodb-js/get-os-info": "0.3.13", + "@mongodb-js/get-os-info": "^0.3.13", "@mongodb-js/hadron-plugin-manager": "^7.0.2", "@mongodb-js/mocha-config-compass": "^1.0.1", "@mongodb-js/prettier-config-compass": "^1.0.0", diff --git a/packages/compass-utils/package.json b/packages/compass-utils/package.json index cd3cce2d595..0e58d0f80e3 100644 --- a/packages/compass-utils/package.json +++ b/packages/compass-utils/package.json @@ -50,7 +50,7 @@ "test-ci": "npm run test-cov", "reformat": "npm run prettier -- --write ." }, - "dependencies": { + "optionalDependencies": { "@electron/remote": "^2.0.9" }, "devDependencies": {