-
Notifications
You must be signed in to change notification settings - Fork 62
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: make install-local script work, update react to 17 VSCODE-310 #471
Conversation
…y, remove unused dep
Updating our |
Not sure why these are showing up, looking into. |
Opening this up for review. I tried to remove the workaround the no-npm-list-fail.js was doing but wasn't able to for the ci. I think this is something to do with the install omitting optional dependencies:
When it runs that install the npm package list command run by vsce fails: |
import { beforeEach, afterEach } from 'mocha'; | ||
import { connect } from 'mongodb-data-service'; | ||
import { before, after, beforeEach, afterEach } from 'mocha'; | ||
import { connect, DataServiceImpl } from 'mongodb-data-service'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is interesting. My branch suddenly started failing on this test suite. I copied this refactored version to it and now tests pass. Hope you don't mind I copied it here: 8d77ef3#diff-a468a59574d19865f8eea5715e9ceaa187fb55debcddb46eee85c55236408c6d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just pushed up a new commit that removes usage of DataServiceImpl
instead using only the DataService
type. I think you'll want to update it again - sorry!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what's happening at a glance. Are the dependencies possible from a different branch? Maybe try and 'npm install'
VSCODE-310
Note
Before we merge this we'll need to update our
mongodb-data-service
dependency to pull in a new version of@mongodb-js/compass-utils
so that the@electron/remote
dependency isn't required. PR: mongodb-js/compass#4032. That will make thenpm list
command thatvsce package
runs stop failing soinstall-local
starts working again. I manually tested that things work after that fix by doing some node_modules updates and package-lock changes locally. Opening as a draft for now.Addresses #353