From b79f1406beb12042104532c78fbb46b59aca7e70 Mon Sep 17 00:00:00 2001 From: Julio Marquez Date: Wed, 18 Dec 2019 19:42:26 -0300 Subject: [PATCH] refactor: drop support for Node.js v8 BREAKING CHANGE: minimum required Node.js version is 10.x --- .travis.yml | 1 - appveyor.yml | 7 ++----- packages/@statusfy/core/lib/init/template-package.json.tpl | 2 +- packages/@statusfy/core/package.json | 4 ++-- packages/demo/package.json | 4 ++-- packages/docs/package.json | 2 +- packages/statusfy/package.json | 4 ++-- packages/website/package.json | 2 +- 8 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index e47017b8e..b98089995 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: node_js node_js: - - "8" - "10" - "12" diff --git a/appveyor.yml b/appveyor.yml index 285508797..ec00264de 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,8 @@ # Test against the latest version of this Node.js version environment: matrix: - - nodejs_version: "8" - nodejs_version: "10" + - nodejs_version: "12" cache: - node_modules @@ -22,12 +22,9 @@ test_script: # run tests - yarn run lint + - yarn run test:demo - yarn run test - # demo building - - yarn run demo:build - - yarn run demo:generate - # Don't actually build. build: off diff --git a/packages/@statusfy/core/lib/init/template-package.json.tpl b/packages/@statusfy/core/lib/init/template-package.json.tpl index 62b38a9db..17f4d861c 100644 --- a/packages/@statusfy/core/lib/init/template-package.json.tpl +++ b/packages/@statusfy/core/lib/init/template-package.json.tpl @@ -17,7 +17,7 @@ "statusfy": "^<%= options.statusfyVersion %>" }, "engines": { - "node": ">=8.10", + "node": ">=10", "npm": ">=5" } } diff --git a/packages/@statusfy/core/package.json b/packages/@statusfy/core/package.json index fbce0092e..458bd9a8a 100644 --- a/packages/@statusfy/core/package.json +++ b/packages/@statusfy/core/package.json @@ -87,7 +87,7 @@ "eslint-plugin-standard": "4.0.1" }, "engines": { - "node": ">=8.10", - "npm": ">=6.13.4" + "node": ">=10", + "npm": ">=5" } } diff --git a/packages/demo/package.json b/packages/demo/package.json index 025dd1fd7..4c25f009a 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -31,7 +31,7 @@ "stylus-loader": "3.0.2" }, "engines": { - "node": ">=8.10", - "npm": ">=6.13.4" + "node": ">=10", + "npm": ">=5" } } diff --git a/packages/docs/package.json b/packages/docs/package.json index 94ff9c712..1a8f15685 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -11,7 +11,7 @@ "retrieve-partners": "node scripts/partners.js" }, "engines": { - "node": ">=8.10" + "node": ">=10" }, "repository": { "type": "git", diff --git a/packages/statusfy/package.json b/packages/statusfy/package.json index f6ccf19fb..5d8331982 100644 --- a/packages/statusfy/package.json +++ b/packages/statusfy/package.json @@ -37,8 +37,8 @@ "@statusfy/editor": "0.4.3" }, "engines": { - "node": ">=8.10", - "npm": ">=6.13.4" + "node": ">=10", + "npm": ">=5" }, "collective": { "url": "https://opencollective.com/statusfy", diff --git a/packages/website/package.json b/packages/website/package.json index 3b4089f1f..394ea7436 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -62,6 +62,6 @@ "prettier": "1.19.1" }, "engines": { - "node": ">=8.10" + "node": ">=10" } }