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

Plan for Corepack Removal #1707

Open
samchungy opened this issue Oct 11, 2024 · 2 comments
Open

Plan for Corepack Removal #1707

samchungy opened this issue Oct 11, 2024 · 2 comments

Comments

@samchungy
Copy link
Contributor

nodejs/package-maintenance#606

At the moment we use it to manage our pnpm version.

corepack enable pnpm && corepack install

We probably need to write an autofix of sorts but I'm not entirely sure what the best approach would be right now:

npm i -g corepack && corepack enable?

That would leave us with installing an unpinned corepack version 🤔.

Just leaving a thread here so we aren't surprised when it pops up in the next major node version

@AaronMoat
Copy link
Contributor

AaronMoat commented Oct 11, 2024

Would it make sense just to install corepack as a dependency in projects? Chicken and egg problem 😢

@samchungy
Copy link
Contributor Author

Might be able to go with something like npm i -g corepack@{version} and have renovate upgrade it?

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

2 participants