Skip to content

Commit 8f4477f

Browse files
committed
feat: drop support for node 8 (#570)
BREAKING CHANGE
1 parent aadc5ec commit 8f4477f

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/nodejs.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node-version: [8.x, 10.x, 12.x, 13.x, 14.x]
21+
node-version: [10.x, 12.x, 13.x, 14.x]
2222
eslint-version: [5, 6, 7]
23-
exclude:
24-
# eslint@7 doesn't support node@8
25-
- node-version: 8.x
26-
eslint-version: 7
2723
runs-on: ubuntu-latest
2824

2925
steps:

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ module.exports = {
55
plugins: ['replace-ts-export-assignment'],
66
presets: [
77
'@babel/preset-typescript',
8-
['@babel/preset-env', { targets: { node: 8 } }],
8+
['@babel/preset-env', { targets: { node: 10 } }],
99
],
1010
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"eslint": ">=5"
130130
},
131131
"engines": {
132-
"node": ">=8"
132+
"node": ">=10"
133133
},
134134
"release": {
135135
"plugins": [

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"target": "es5",
44
"module": "commonjs",
55
"moduleResolution": "node",
6+
"lib": ["es2018"],
67
"noEmit": true,
78
"noImplicitReturns": true,
89
"strict": true,

0 commit comments

Comments
 (0)