parallel downloads - Yarn can download packages in parallel, reducing the time builds take to run.Requests are retried upon failure, reducing red builds due to temporary network issues automatic retries - a single network request failing won’t cause an install to fail.flat dependency structure - simpler dependency resolution means Yarn finishes faster and can be told to use a single version of certain packages, which uses less disk space.In the event one goes down, your project can continue to be built in CI without issue multiple registries - Yarn reads and installs packages from both as well as Bower. indeterminate package state (you can’t be sure all copies of the project will be using the same package versions).allows packages to run code upon installation (not good for security).requires network to install packages (though we can create a makeshift cache).
0 Comments
Leave a Reply. |