Yarn github.com

Getting rid of node_modules  ↦

The Yarn team is brewing up a new way to resolve dependencies:

this RFC a new alternative and entirely optional way to resolve dependencies installed on the disk, in order to solve issues caused by the incomplete knowledge Node has regarding the dependency tree. We also detail the actual implementation we went with, describing the rational behind the design choice we made.

Pretty exciting if/when they pull it off. The wins:

  • Installs ran using Plug’n’Play are up to 70% faster than regular ones (sample app)
  • Starting from this PR, Yarn will now be on the path to make yarn install a no-op on CI
  • Yarn will now be able to tell you precisely when you forgot to list packages in your dependencies
  • Your applications will boot faster through a hybrid approach of static resolutions

Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00