Skip to content

Commit

Permalink
Drop Node.js 8 (#4500)
Browse files Browse the repository at this point in the history
* Drop Node.js 8

* Remove engine field

* Fix ESLint configuration
  • Loading branch information
hudochenkov committed Jan 9, 2020
1 parent 71e63cf commit dd33451
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -47,7 +47,7 @@ jobs:

strategy:
matrix:
node-version: [8, 10, 12]
node-version: [10, 12]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide/prerequisites.md
Expand Up @@ -2,7 +2,7 @@

## Technical

- Minimum [Node.js](https://nodejs.org/en/) v8.7.0+, though we do recommend using the latest 8.x, 10.x, or 11.x Node.js releases.
- Minimum [Node.js](https://nodejs.org/en/) v10, though we do recommend using the latest LTS release.
- Latest [npm](https://www.npmjs.com/).

## Rules of thumb
Expand Down
14 changes: 10 additions & 4 deletions package.json
Expand Up @@ -39,9 +39,6 @@
"!**/__tests__",
"!lib/testUtils"
],
"engines": {
"node": ">=8.7.0"
},
"dependencies": {
"autoprefixer": "^9.7.2",
"balanced-match": "^1.0.0",
Expand Down Expand Up @@ -188,7 +185,16 @@
"prefer-regex-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error"
"prefer-template": "error",
"node/no-unsupported-features/es-builtins": ["error", {
"version": ">=10.18.0"
}],
"node/no-unsupported-features/es-syntax": ["error", {
"version": ">=10.18.0"
}],
"node/no-unsupported-features/node-builtins": ["error", {
"version": ">=10.18.0"
}]
}
},
"jest": {
Expand Down

0 comments on commit dd33451

Please sign in to comment.