-
Notifications
You must be signed in to change notification settings - Fork 778
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: Updating dependencies and resolving build failures #1355
base: main
Are you sure you want to change the base?
Conversation
@@ -1,5 +1,6 @@ | |||
{ | |||
"npmClient": "yarn", | |||
"npmClientArgs": ["--ignore-engines"], |
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.
Don't know how I feel about this. Should we just drop support for Node 6/8 instead?
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 was gonna bring this up for discussion tomorrow but I am fine either way. What's the impact of dropping Node 6/8? If we go that route, should we drop support for all the packages in this repo or just the affected ones in this PR?
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 like npm considers the "engines" flag as advisory and will only generate warnings in this scenario, but yarn gives out errors. I would support dropping Node 6/8 if we feel this change is a risk which our tests cannot catch when testing with Node 6/8. Or either there is no significant impact on dropping support for Node 6/8. Thoughts?
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.
We've seen issues in the past with other Node libs where we had to use older implementations of core functionality because we supported older Node versions. Leads to maintenance and TODOs. Prefer to drop Node 6/8 everywhere as this meets the criteria where we're doing workarounds to support older versions. Will check with product.
Internal Reference This should take care of the failures seen with #1288 and #1306.