Skip to content

Commit

Permalink
Set NPM version to 8.11.x; added "fix" to "audit"
Browse files Browse the repository at this point in the history
Change back to 8.x.x after this issue is resolved: meteor/meteor#10216
  • Loading branch information
tab00 committed Oct 11, 2018
1 parent 66e3567 commit 690aa46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if [ -n "${USE_METEOR_NODE+1}" ]; then
echo "-----> Using Meteor's Node"
cp "$METEOR_NODE" "$NODE"
else
NODE_VER_AVAILABLE=$(curl --silent --get https://semver.io/node/resolve/8.x.x)
NODE_VER_AVAILABLE=$(curl --silent --get https://semver.io/node/resolve/8.11.x)

echo "-----> Downloading and installing node $NODE_VER_AVAILABLE"
NODE_INSTALLER=node-installer.tar.gz
Expand Down Expand Up @@ -249,7 +249,7 @@ echo "-----> Installing npm production dependencies on built slug"
if [ -e "$COMPILE_DIR"/app/programs/server/package.json ]; then
cd "$COMPILE_DIR"/app/programs/server
$METEOR_NPM install --production
$METEOR_NPM audit
$METEOR_NPM audit fix
cd "$APP_SOURCE_DIR"
fi

Expand Down

0 comments on commit 690aa46

Please sign in to comment.