Skip to content
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

Self-update corepack according to version range in package.json #629

Open
haines opened this issue Feb 3, 2025 · 0 comments
Open

Self-update corepack according to version range in package.json #629

haines opened this issue Feb 3, 2025 · 0 comments

Comments

@haines
Copy link

haines commented Feb 3, 2025

Trying to get all our developers and CI processes to update corepack manually due to #612 is quite painful. It would be nice if corepack had a self-update feature whereby the version of corepack itself could be specified in package.json as well as the package manager version.

Or alternatively if a self-update is not desirable, if we could at least put a constraint like "engines": {"corepack": ">= 0.31.0"} and have corepack exit with an error if that is not met, then that would at least prompt folks to update it themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant