From b4ba3cf2fa8cfdd2718864beed3ff60ca2dfe49a Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Sat, 7 Oct 2017 09:17:15 -0400 Subject: [PATCH] use yarn for external bootstrap --- .travis.yml | 3 --- lerna.json | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 414e2b558f..43b137fa6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,6 @@ before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash script: - # Babel doesn't build correctly with npm v2 (which comes bundled with Node v4) - # so we manually upgrade to a known working npm version. - - npm install --global npm@4 - 'if [ "$JOB" = "test" ]; then make test-ci; fi' - 'if [ "$JOB" = "lint" ]; then make lint && make flow; fi' diff --git a/lerna.json b/lerna.json index 823dc8e8d0..3fc62ca5d1 100644 --- a/lerna.json +++ b/lerna.json @@ -28,5 +28,7 @@ "packages/*", "codemods/*", "experimental/*" - ] + ], + "npmClient": "yarn", + "npmClientArgs": ["--no-lockfile"] }