diff --git a/.nvmrc b/.nvmrc index 70047db82..82f87fa0a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v10.16.3 +v12.18.4 diff --git a/.travis.yml b/.travis.yml index 08c15dde5..fd5023b32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ addons: ssh_known_hosts: - github.com node_js: - - 10 + - 12.18.4 cache: directories: diff --git a/README.md b/README.md index d89288452..a728545fd 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ The BigCommerce server emulator for local theme development. ## Install -_Note: Stencil requires the Node.js runtime environment, version 10.x We do not yet have support for Node 12 or greater._ +_Note: Stencil requires the Node.js runtime environment, version 12.x. +We do not ensure correct work on other versions at the moment. Run `npm install -g @bigcommerce/stencil-cli`. diff --git a/appveyor.yml b/appveyor.yml index f7f8a92f7..59dd0949e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ environment: matrix: - - nodejs_version: "10" + - nodejs_version: "12" platform: - x86 - x64 diff --git a/lib/version-check.js b/lib/version-check.js index eb347a5ab..637067964 100644 --- a/lib/version-check.js +++ b/lib/version-check.js @@ -5,7 +5,7 @@ module.exports = function () { const satisfies = semver.satisfies(process.versions.node, PACKAGE_INFO.engines.node); if (!satisfies) { - console.error('You are running an older version of node. Please upgrade to ' + PACKAGE_INFO.engines.node); + console.error('You are running an unsupported version of node. Please upgrade to ' + PACKAGE_INFO.engines.node); } return satisfies; diff --git a/package.json b/package.json index 42b6ef435..0ab40cdd3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "CLI tool to run BigCommerce Stores locally for theme development.", "main": "index.js", "engines": { - "node": ">= 10.0.0 <11.0.0" + "node": ">=12.0.0 <13.0.0" }, "scripts": { "lint": "eslint .",