Description
Is your feature request related to a problem? Please describe.
I'm a very happy corepack+yarn user. I use it in all the yarn modern projects I'm primary author of, like https://github.com/aws/aws-sdk-js-codemod, and have got consensus to use corepack in open source packages I maintain with other folks, like https://github.com/facebook/jscodeshift. I also closely monitor/participate in requests to enable corepack in other projects, like GitHub action to setup node in actions/setup-node#531
There has been asks to make corepack stable since May 2022 #104
The PR to enable yarn/pnpm corepack binaries by default in nodejs/node#51886, has moved from most approvals to most declines. There's an open PR to remove corepack too at nodejs/node#51981
Alternative package managers which corepack helps choose version of have shown signs that they're taking different directions
npm wants to remove itself from being managed by corepack fix: remove npm #418- npm removal from corepack has multiple approvals, including from Node.js TSC members fix: remove npm #418
- pnpm introduced a configuration to manage itself in https://github.com/pnpm/pnpm/releases/tag/v9.7.0
These signs indicate that it may not be worth developing corepack, irrespective of whether it's shipped in Node.js or through npm.
Describe the solution you'd like
Stop any further development of corepack. It was primarily developed by maintainers of yarn, and they can introduce a configuration to manage yarn versions as suggested in yarnpkg/berry#6443 (comment)
Describe alternatives you've considered
- Recommend installing corepack from npm.
- A twitter poll created by developers might not install it from npm https://twitter.com/styfle/status/1772353395321454916
- Implement
devEngines
proposal in corepack feat: add proposal for binary management package-maintenance#594
Additional context
Reference yarnpkg/berry#6443 (comment)