News for hackers. Stuff that matters.
Re:Yarn 4.0 by orra on Monday October 23, 2023 @03:13PM (#37990224)
Yeah, they really wanted you to install yarn's source to your repo, which is why they don't let you `npm install` yarn v2 (or higher).

That's maybe great for monorepos, but personally I find it ugly.

Thankfully now you can use `npm corepack`. This way you can specify a version of yarn in packages.json, without committing yarn's source to your repo.

There are no comments on this comment yet.