Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compass-utils): update @electron/remote to optional dependency for vscode packaging VSCODE-310 #4032

Merged
merged 2 commits into from
Feb 3, 2023

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Feb 3, 2023

VSCODE-310

To make npm run package work in VSCode we need to make the packaging command run by the vscode extension manager (vsce) npm list --production --parseable --depth=99999 --loglevel=error work.
One of the parts of this is to make @electron/remote an optional dependency of @mongodb-js/compass-utils, so that it's not required for the npm list command above.
The error it is showing currently in packaging is: npm ERR! missing: electron@>= 13.0.0, required by @electron/[email protected]
There might be a way to indicate in our configuration not to require this dependency, however as this @electron/remote dependency isn't always required in our code from what I understand I'm thinking this is how we probably want to handle it.

We'll need to do a package release after this is bumped.

@Anemy Anemy added the no release notes Fix or feature not for release notes label Feb 3, 2023
@Anemy Anemy changed the title fix(compass-utls): make @electron/remote an optional dependency for vscode packaging VSCODE-310 fix(compass-utils): make @electron/remote an optional dependency for vscode packaging VSCODE-310 Feb 3, 2023
@github-actions github-actions bot added the fix label Feb 3, 2023
@Anemy Anemy changed the title fix(compass-utils): make @electron/remote an optional dependency for vscode packaging VSCODE-310 fix(compass-utils): update @electron/remote to optional dependency for vscode packaging VSCODE-310 Feb 3, 2023
@Anemy Anemy merged commit 715adb3 into main Feb 3, 2023
@Anemy Anemy deleted the make-electron-remote-an-optional-dependency branch February 3, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix no release notes Fix or feature not for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants