4 ms·
Yes, yarn v2 (now v3) is a bit faster than yarn v1, but don't expect miracles. Yarn v2 is backwards compatible though. You just need to use the node_modules "l
by metaldrone 4y ago
Yes, yarn v2 (now v3) is a bit faster than yarn v1, but don't expect miracles.
Yarn v2 is backwards compatible though. You just need to use the node_modules "linker" (not the default one) and it's ready to go.
- conaclos 4y agoI have just discovered yarn2 / yarn3. The main advantage over npm / pnpm seems be the Zero Install philosophy [1] and the Plug'n'Play architecture [2]. Have you some feedback about these features? By the way, the yarn2 / yarn3 project is hosted on a distinct repository [3]. [1] https://yarnpkg.com/features/zero-installs https://yarnpkg.com/features/zero-installs [2] https://yarnpkg.com/features/pnp https://yarnpkg.com/features/pnp [3] https://github.com/yarnpkg/berry https://github.com/yarnpkg/berry
- eyelidlessness 4y ago> Yarn v2 is backwards compatible though. You just need to use the node_modules "linker" (not the default one) and it's ready to go. Last I checked, not quite. Yarn 2+ patches some dependencies to support PnP, even if you don’t use PnP. I discovered this while trying out both Yarn 2 and a pre-release version of TypeScript which failed to install—because the patch for it wasn’t available for that pre-release. I would have thought using node_modules would bypass that patching logic, but no such luck.