build: upgrade yarn to 1.3.2 (#21406)

Fixes #20566
PR Close #21406
This commit is contained in:
Olivier Combe
2018-01-09 11:02:03 +01:00
committed by Alex Eagle
parent 5ede67c345
commit 7bdd9aecbd
5 changed files with 24 additions and 4 deletions

14
tools/yarn/check-yarn.js Normal file
View File

@ -0,0 +1,14 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
'use strict';
if (process.env.npm_execpath.indexOf('yarn') === -1) {
throw new Error(
'Please use Yarn instead of NPM to install dependencies. See: https://yarnpkg.com/lang/en/docs/install/');
}