Commit 9321b6c6 authored by Jeremy Morrell's avatar Jeremy Morrell Committed by Jeremy Morrell

Bump default version of Node to Node 8

parent 925038bb
...@@ -27,7 +27,7 @@ install_yarn() { ...@@ -27,7 +27,7 @@ install_yarn() {
} }
install_nodejs() { install_nodejs() {
local version=${1:-6.x} local version=${1:-8.x}
local dir="$2" local dir="$2"
echo "Resolving node version $version..." echo "Resolving node version $version..."
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"engines": {
"node": "6.x"
},
"scripts": { "scripts": {
"start": "node server.js" "start": "node server.js"
}, },
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
testNoVersion() { testNoVersion() {
compile "no-version" compile "no-version"
assertCaptured "engines.node (package.json): unspecified" assertCaptured "engines.node (package.json): unspecified"
assertCaptured "Resolving node version 6.x" assertCaptured "Resolving node version 8.x"
assertCaptured "Downloading and installing node 6." assertCaptured "Downloading and installing node 8."
assertCapturedSuccess assertCapturedSuccess
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment