File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,11 @@ set -x
8383cd ..
8484root_path=$PWD
8585
86+ # Prevent lerna bootstrap, we only want top-level dependencies
87+ cp package.json package.json.bak
88+ grep -v " lerna bootstrap" package.json > temp && mv temp package.json
8689npm install
90+ mv package.json.bak package.json
8791
8892if [ " $USE_YARN " = " yes" ]
8993then
9296 yarn cache clean
9397fi
9498
99+ # We removed the postinstall, so do it manually
100+ ./node_modules/.bin/lerna bootstrap --concurrency=1
101+
95102# ******************************************************************************
96103# First, pack and install create-react-app.
97104# ******************************************************************************
Original file line number Diff line number Diff line change @@ -66,7 +66,11 @@ set -x
6666cd ..
6767root_path=$PWD
6868
69+ # Prevent lerna bootstrap, we only want top-level dependencies
70+ cp package.json package.json.bak
71+ grep -v " lerna bootstrap" package.json > temp && mv temp package.json
6972npm install
73+ mv package.json.bak package.json
7074
7175if [ " $USE_YARN " = " yes" ]
7276then
7579 yarn cache clean
7680fi
7781
82+ # We removed the postinstall, so do it manually
83+ ./node_modules/.bin/lerna bootstrap --concurrency=1
84+
7885# ******************************************************************************
7986# First, pack react-scripts and create-react-app so we can use them.
8087# ******************************************************************************
Original file line number Diff line number Diff line change 8484 [[ $err_output =~ You\ are\ running\ Node ]] && exit 0 || exit 1
8585fi
8686
87- # Still use npm install instead of directly calling lerna bootstrap to test
88- # postinstall script functionality (one npm install should result in a working
89- # project)
90- npm install
87+ # We removed the postinstall, so do it manually here
88+ ./node_modules/.bin/lerna bootstrap --concurrency=1
9189
9290if [ " $USE_YARN " = " yes" ]
9391then
You can’t perform that action at this time.
0 commit comments