Open
Description
Issue
-
The following commands are hidden since PR Refactoring of the CLI interface #291 implemented RFC: New command names (and alias the old ones) #274 in release corepack@0.20.0:
corepack hydrate
corepack prepare
These commands:
- are not documented in the README
- have no migration guide to their replacement commands
- do not appear in the output of
corepack --help
- are described in the output of
corepack hydrate --help
andcorepack prepare --help
- neither their usage, nor their help text indicates that the commands are deprecated
Several issues lately have shown users reporting problems when executing corepack prepare
.
corepack prepare
is listed as a valid command in Node.js documentation Corepack latest v18. (Node.js v20, v22 & v23 describe instead corepack use
/ corepack install
.)
Suggestion
- Describe the above commands as deprecated and either add
thea migration tablefrom RFC: New command names (and alias the old ones) #274to the README or create a separate Migration Guide document. Edit: the migration table in the PR contains inaccuracies and cannot be used as it stands. - Extend the help text for the commands to indicate that they are deprecated.
- Output a deprecation warning if deprecated commands are used.
Also review Node.js documentation Corepack latest v18 and initiate an update if possible.
Metadata
Metadata
Assignees
Labels
No labels