-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Engines and Node 18+Windows tests #5475
Conversation
c05b60f
to
20ff432
Compare
Engines updates to workspaces will be updated by template-oss once npm/template-oss#180 lands. |
Unfortunately nvm's CI on travis-ci is currently broken (because they changed a docker container out from under me) so i won't be able to cut a release until that's fixed, so I don't think this is npm's problem to solve, to be clear, just giving a heads up. |
This will be released as |
It won't break anything until it's published as "latest". |
The thing that bit us in the past was when The I think this PR should be merged as-is. We will likely be revisiting the |
Major versions are always hugely painful for the ecosystem and cause lots of churn. If a less restrictive engines range means there will be more major versions, then I implore you to make it as restrictive as possible, with the goal of having as few major bumps as possible. |
found 1 benchmarks with statistically significant performance regressions
timing results
|
3037ec6
to
c656f96
Compare
engines
in package.json
c656f96
to
292e0ec
Compare
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.
Second commit should be a fix
and include info about what changed in lib/cli.js
This also replaces the previous check for known broken versions of node with an exception handler for syntax errors in order to try and give a nicer error message when attempting to run npm on older node versions. BREAKING CHANGE: `npm` is now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0` Ref: npm/statusboard#519
Some of our tests were failing in windows after testing on node 18. The reason was the inability to clean up the logs dir. This changes forces a few tests to run in order and also cleans up any use of multiple `t.testdir` calls in a single child test which can cause problems.
292e0ec
to
036d25c
Compare
Pulled the cli.js changes into a separate |
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.
Waiting on CI, everything looks good now.
No description provided.