use node v10.6

This commit is contained in:
AJ ONeal 2018-07-07 18:53:01 -06:00
parent da31c0154f
commit ac15f4d30c
2 changed files with 2 additions and 2 deletions

View File

@ -73,6 +73,6 @@
}, },
"enginesStrict": true, "enginesStrict": true,
"engines": { "engines": {
"node": "10.2.1 10.4" "node": "10.2.1 10.4 10.6"
} }
} }

View File

@ -115,7 +115,7 @@ my_tmp="$(mktemp -d -t telebit.XXXXXXXX)"
echo "Installing $my_name to 'TELEBIT_PATH=$TELEBIT_REAL_PATH'" echo "Installing $my_name to 'TELEBIT_PATH=$TELEBIT_REAL_PATH'"
# v10.2+ has much needed networking fixes, but breaks ursa. v9.x has severe networking bugs. v8.x has working ursa, but requires tls workarounds" # v10.2+ has much needed networking fixes, but breaks ursa. v9.x has severe networking bugs. v8.x has working ursa, but requires tls workarounds"
NODEJS_VER="${NODEJS_VER:-v10.2}" NODEJS_VER="${NODEJS_VER:-v10.6}"
export NODEJS_VER export NODEJS_VER
export NODE_PATH="$TELEBIT_TMP/lib/node_modules" export NODE_PATH="$TELEBIT_TMP/lib/node_modules"
export NPM_CONFIG_PREFIX="$TELEBIT_TMP" export NPM_CONFIG_PREFIX="$TELEBIT_TMP"