File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,11 @@ set -x
83
83
cd ..
84
84
root_path=$PWD
85
85
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
86
89
npm install
90
+ mv package.json.bak package.json
87
91
88
92
if [ " $USE_YARN " = " yes" ]
89
93
then
92
96
yarn cache clean
93
97
fi
94
98
99
+ # We removed the postinstall, so do it manually
100
+ ./node_modules/.bin/lerna bootstrap --concurrency=1
101
+
95
102
# ******************************************************************************
96
103
# First, pack and install create-react-app.
97
104
# ******************************************************************************
Original file line number Diff line number Diff line change @@ -66,7 +66,11 @@ set -x
66
66
cd ..
67
67
root_path=$PWD
68
68
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
69
72
npm install
73
+ mv package.json.bak package.json
70
74
71
75
if [ " $USE_YARN " = " yes" ]
72
76
then
75
79
yarn cache clean
76
80
fi
77
81
82
+ # We removed the postinstall, so do it manually
83
+ ./node_modules/.bin/lerna bootstrap --concurrency=1
84
+
78
85
# ******************************************************************************
79
86
# First, pack react-scripts and create-react-app so we can use them.
80
87
# ******************************************************************************
Original file line number Diff line number Diff line change 84
84
[[ $err_output =~ You\ are\ running\ Node ]] && exit 0 || exit 1
85
85
fi
86
86
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
91
89
92
90
if [ " $USE_YARN " = " yes" ]
93
91
then
You can’t perform that action at this time.
0 commit comments