-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: Upgrade webpack and graphql dependencies #357
base: chore/latest-minor-and-react-packages
Are you sure you want to change the base?
chore: Upgrade webpack and graphql dependencies #357
Conversation
@@ -1,3 +1,4 @@ | |||
{ | |||
"silent": true | |||
"silent": true, | |||
"node": "14" |
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.
👍
fs: "empty", | ||
fallback: { | ||
fs: false, | ||
path: false, |
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.
Non blocking - any idea what update caused us to need to use path
in the browser?
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.
Interesting - can you try building cosmos but changing this to be BUILD_ENV=extension
- https://github.com/FormidableLabs/urql-devtools/blob/master/package.json#L25
I can't think of any good reason as to why we would want to use the electron version of the devtools in cosmos (other than me being a pleb and mixing up the two)
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.
Looks great and much needed!
If using the extension build env works and doesn't cause any issues, lets go with that - otherwise, the existing solution (adding fs/path resolutions) works fine 👍
Upgrade webpack and graphql dependencies with this PR.
I need to downgrade react-spring because of CSP issue (more details here: pmndrs/react-spring#1423)
Remove Maybe graphql type because it's internal for them now and it should not be used. (more insights here: graphql/graphql-js#2621 (comment))
There is a weird issue with our visual regression tests when I upgrade the puppeteer docker image, so I will skip that and do in another PR
Otherwise, all looks great and tested on both web and RN