This repository was archived by the owner on Jan 26, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22language : node_js
33node_js :
44 - 6
5- - 7
5+ - 8
66cache :
77 directories :
88 - node_modules
Original file line number Diff line number Diff line change 9595
9696if hash npm 2> /dev/null
9797then
98- npm cache clean
98+ # npm 5 is too buggy right now
99+ if [ $( npm -v | head -c 1) -eq 5 ]; then
100+ npm i -g npm@^4.x
101+ fi ;
102+ npm cache clean || npm cache verify
99103fi
100104
101105# Prevent lerna bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 8787
8888if hash npm 2> /dev/null
8989then
90- npm cache clean
90+ # npm 5 is too buggy right now
91+ if [ $( npm -v | head -c 1) -eq 5 ]; then
92+ npm i -g npm@^4.x
93+ fi ;
94+ npm cache clean || npm cache verify
9195fi
9296
9397# Prevent lerna bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 8686
8787if hash npm 2> /dev/null
8888then
89- npm cache clean
89+ # npm 5 is too buggy right now
90+ if [ $( npm -v | head -c 1) -eq 5 ]; then
91+ npm i -g npm@^4.x
92+ fi ;
93+ npm cache clean || npm cache verify
9094fi
9195
9296# Prevent lerna bootstrap, we only want top-level dependencies
You can’t perform that action at this time.
0 commit comments