We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ecb73 commit b2d0dccCopy full SHA for b2d0dcc
tasks/e2e-simple.sh
@@ -65,6 +65,12 @@ set -x
65
cd ..
66
root_path=$PWD
67
68
+# Prevent lerna bootstrap, we only want top-level dependencies
69
+cp package.json package.json.bak
70
+grep -v "lerna bootstrap" package.json > temp && mv temp package.json
71
+npm install
72
+mv package.json.bak package.json
73
+
74
# If the node version is < 4, the script should just give an error.
75
if [[ `node --version | sed -e 's/^v//' -e 's/\..*//g'` -lt 4 ]]
76
then
@@ -73,6 +79,9 @@ then
79
[[ $err_output =~ You\ are\ running\ Node ]] && exit 0 || exit 1
80
fi
81
82
+# Still use npm install instead of directly calling lerna bootstrap to test
83
+# postinstall script functionality (one npm install should result in a working
84
+# project)
85
npm install
77
86
78
87
if [ "$USE_YARN" = "yes" ]
0 commit comments