Skip to content

Commit

Permalink
feat: (strf-8625) support Node 12.x
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop Node 10 support
  • Loading branch information
MaxGenash committed Sep 22, 2020
1 parent e0b6387 commit 176741c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.16.3
v12.18.4
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ addons:
ssh_known_hosts:
- github.com
node_js:
- 10
- 12.18.4

cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
matrix:
- nodejs_version: "10"
- nodejs_version: "12"
platform:
- x86
- x64
Expand Down
2 changes: 1 addition & 1 deletion lib/version-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 .",
Expand Down

0 comments on commit 176741c

Please sign in to comment.