Closed arcanis closed 1 year ago
No idea why Node.js 20.0 seems unable to use the Nock files from 16.x, but only on Windows 🤔 I think I'll just remove the 16.x tests, since it's EOL on Sep 11 anyway ...
Edit: Actually it worked after a restart - I think a timeout caused some requests to not run, which messed with how Nock answers the http requests.
The old commands are still there
Thanks for keeping those! That will help as we migrate support for multiple versions of corepack 👍
Should be good to merge.
This PR is the first step towards implementing the changes from https://github.com/nodejs/corepack/issues/274
corepack install -g [--all] ...
corepack install
corepack use [pattern]
corepack up
corepack pack ...
I added tests for
use
andup
since those are new;install
andpack
should already covered by the existing tests, which I migrated fromprepare
/hydrate
to the new commands.The old commands are still there, but I removed their help messages so they don't appear in
corepack -h
anymore.