yarnpkg / berry

📦🐈 Active development trunk for Yarn ⚒
https://yarnpkg.com
BSD 2-Clause "Simplified" License
7.37k stars 1.1k forks source link

[Feature] Add prerelease to yarn add, yarn upgrade and yarn upgrade-interactive #6307

Open shamilovtim opened 4 months ago

shamilovtim commented 4 months ago

Describe the user story

It is very difficult to use prereleases with yarn. I have to go to npmjs' website and find the correct prerelease version because yarn has stopped having the ability to handle it after yarn v1.

Describe the solution you'd like

I would like yarn up and yarn upgrade-interactive to offer prerelease versions

Describe the drawbacks of your solution

The drawbacks of offering prerelease versions might be unexpected breaking changes for users and a lack of understanding that prereleases require proactive mentality and aren't a simple upgrade.

Describe alternatives you've considered

The alternative is continuing to ignore prerelease versions in yarn which makes it frustrating to use yarn at all