Closed
Description
I think the current command names are at odds with what most people would expect. What do you think about rewording them to be closer from what package managers' interfaces look like? The old commands would still work, but wouldn't be displayed in --help
(or perhaps marked as deprecated in the documentation).
-
corepack prepare [email protected]
->corepack install -g [email protected]
-
corepack prepare [email protected] --activate
->corepack use -g [email protected]
-
corepack hydrate path/to/archive.gz
->corepack install -g path/to/archive.gz
-
corepack hydrate path/to/archive.gz --activate
->corepack use -g path/to/archive.gz
-
corepack prepare -o ...
->corepack pack -g
Along with new commands:
corepack use [email protected]
-> Add thepackageManager
field to thepackage.json
filecorepack remove -g foo
-> Removes all versions fromfoo
from the cachecorepack up foo
-> Download the latest version from the registry and automatically use itcorepack info foo
-> List all versions currently in the cache (and the latest one from the remote)
Metadata
Metadata
Assignees
Labels
No labels