File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 34
34
"validate" : " node ./bin/devkit-admin validate" ,
35
35
"validate-commits" : " ./bin/devkit-admin validate-commits" ,
36
36
"prepush" : " node ./bin/devkit-admin hooks/pre-push" ,
37
+ "preinstall" : " node ./tools/yarn/check-yarn.js" ,
37
38
"webdriver-update-appveyor" : " webdriver-manager update --standalone false --gecko false --versions.chrome 2.37" ,
38
39
"webdriver-update-circleci" : " webdriver-manager update --standalone false --gecko false --versions.chrome $CHROMEDRIVER_VERSION_ARG "
39
40
},
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright Google Inc. All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+
9
+ 'use strict' ;
10
+
11
+ if ( process . env . npm_execpath . indexOf ( 'yarn' ) === - 1 ) {
12
+ throw new Error (
13
+ 'Please use Yarn instead of NPM to install dependencies. See: https://yarnpkg.com/lang/en/docs/install/' ) ;
14
+ }
You can’t perform that action at this time.
0 commit comments