Skip to content

Commit 990245f

Browse files
BroccoMRHarrison
authored andcommitted
chore: change default npm client to yarn (angular#4244)
This is only for CLI development, not for generated projects
1 parent cb909cc commit 990245f

File tree

4 files changed

+5784
-8
lines changed

4 files changed

+5784
-8
lines changed

.appveyor.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ matrix:
77

88
install:
99
- ps: Install-Product node $env:nodejs_version
10-
- npm install -g npm
11-
- npm install
10+
- npm install -g yarn
11+
- yarn install
1212

1313
test_script:
1414
- node --version
15-
- npm --version
16-
- npm test
15+
- yarn --version
16+
- yarn test
1717
- node tests\run_e2e.js
1818

1919
build: off

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
dist/
22
node_modules/
33
npm-debug.log*
4-
yarn.lock
54

65
# IDEs
76
.idea/

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ before_install:
5454
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
5555
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "--no-sandbox" > ~/.config/chromium-flags.conf; fi
5656
- npm install -g npm
57-
- npm config set spin false
58-
- npm config set progress false
57+
- npm install -g yarn
58+
- yarn config set spin false
59+
- yarn config set progress false
5960

6061
install:
61-
- npm install --no-optional
62+
- yarn install --no-optional
6263

6364
script:
6465
- if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi

0 commit comments

Comments
 (0)