From 847b312335adbddbece5e59260c8a2d29c471b56 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Tue, 7 Nov 2017 12:12:28 +1100 Subject: [PATCH] port build script to use yarn for generating the node_modules required at runtime --- script/build.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/build.ts b/script/build.ts index b231105427d..fdf7384765a 100755 --- a/script/build.ts +++ b/script/build.ts @@ -233,8 +233,8 @@ function copyDependencies() { Object.keys(newDependencies).length || Object.keys(newDevDependencies).length ) { - console.log(' Installing npm dependencies…') - cp.execSync('npm install', { cwd: outRoot, env: process.env }) + console.log(' Installing dependencies via yarn…') + cp.execSync('yarn install', { cwd: outRoot, env: process.env }) } if (!isPublishableBuild) {