-
Notifications
You must be signed in to change notification settings - Fork 7
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: require node >=10 #302
Conversation
86c13c7
to
d71efcd
Compare
Should we move to bundling Node and producing standalone executables soon? |
Yeah, but there's still the question about how to deal with the external sub dependencies like cli-utils-cypress, cli-style, et. al. |
Hmm but I think those would be bundled as well? |
Yes, ultimately. What I mean is that all of our external sub-packages can define different versions of Node, so we would still have to keep track of when an external sub-package breaks compatibility, we need to bump the Node version in CLI as well. |
I think this is fine to merge, will do a quick test. @varl just curious, why is the |
That's a fair question. Bumping fs-extra from 8 to 9 is why I started looking into bumping node to >=10, as they list that as a breaking change in their changelog as well: https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#900--2020-03-19 The question is how should we handle when deps cause us to release breaking changes? Do we mark them? Do we just silently update? Do we consider CLI it's own thing and not bump the major in CLI when e.g. cli-style releases a breaking change? |
For this change I think the Node engine update is the breaking change, the |
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 good, tested that the install breaks when using Node v8. The CLI will still run with non-compliant Node versions if it's already been installed, though - we should look into adding something like check-engine (that one's a bit older) to cli-helpers-engine
so that we always check the Node and Yarn versions match what we need.
To conclude I think this is enough as the Breaking Change in the changelog (since it's the underlying reason for the |
Should we update the engine in |
BREAKING CHANGE: Require Node version 10 or later.
d71efcd
to
ee2a64b
Compare
Yes. |
🎉 This PR is included in version 3.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Supersedes #299
We want to bump our required Node version to >=10 since some of the sub-packages (cli-style, cli-app-scripts, cli-utils-cypress) already use dependencies requiring those Node versions.
Dependabot also does not look closely at the
engines
field to determine compatibility so we need to make sure we are up-to-date ourselves.BREAKING CHANGE: Require Node version 10 or later.