From a9881bb18ee545328ff84829d53b8fc36cf6eaf2 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sun, 5 Aug 2018 02:06:14 +0200 Subject: [PATCH] docs: replace npm with yarn in lockfile readme (#25309) PR Close #25309 --- yarn.lock.readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock.readme.md b/yarn.lock.readme.md index 6404aac7c5..86ad15e99e 100644 --- a/yarn.lock.readme.md +++ b/yarn.lock.readme.md @@ -1,8 +1,8 @@ All of our npm dependencies are locked via the `yarn.lock` file for the following reasons: - our project has lots of dependencies which update at unpredictable times, so it's important that - we update them explicitly once in a while rather than implicitly when any of us runs npm install -- locked dependencies allow us to reuse npm cache on travis, significantly speeding up our builds + we update them explicitly once in a while rather than implicitly when any of us runs `yarn install` +- locked dependencies allow us to reuse yarn cache on travis, significantly speeding up our builds (by 5 minutes or more) - locked dependencies allow us to detect when node_modules folder is out of date after a branch switch which allows us to build the project with the correct dependencies every time