Skip to content

Commit 59a1b29

Browse files
committed
feat: drop support for node 10
Node 10 is no longer maintained BREAKING CHANGE: 🧨 Require Node.js >= 12
1 parent 27a7c14 commit 59a1b29

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Setup node
1010
uses: actions/setup-node@v1
1111
with:
12-
node-version: 12
12+
node-version: 16
1313

1414
- name: Yarn cache directory
1515
id: yarn-cache
@@ -40,7 +40,7 @@ jobs:
4040
needs: build
4141
strategy:
4242
matrix:
43-
node: [10, 12] # add 14 when we drop support for webpack 4 as fsevents 1 is not compatible with node 14
43+
node: [12, 14, 16]
4444
os: [ubuntu-latest, macos-latest, windows-latest]
4545
steps:
4646
- uses: actions/checkout@v1
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup node
9797
uses: actions/setup-node@v1
9898
with:
99-
node-version: 12
99+
node-version: 16
100100

101101
- name: Install dependencies
102102
run: yarn install --frozen-lockfile

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"chokidar": "^3.5.2",
6666
"cosmiconfig": "^7.0.0",
6767
"deepmerge": "^4.2.2",
68-
"fs-extra": "^9.0.0",
68+
"fs-extra": "^10.0.0",
6969
"glob": "^7.1.7",
7070
"memfs": "^3.2.2",
7171
"minimatch": "^3.0.4",
@@ -118,7 +118,7 @@
118118
"webpack": "^5.11.0"
119119
},
120120
"engines": {
121-
"node": ">=10",
121+
"node": ">=12",
122122
"yarn": ">=1.0.0"
123123
}
124124
}

yarn.lock

+9
Original file line numberDiff line numberDiff line change
@@ -3621,6 +3621,15 @@ from2@^2.1.0, from2@^2.3.0:
36213621
inherits "^2.0.1"
36223622
readable-stream "^2.0.0"
36233623

3624+
fs-extra@^10.0.0:
3625+
version "10.0.0"
3626+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
3627+
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
3628+
dependencies:
3629+
graceful-fs "^4.2.0"
3630+
jsonfile "^6.0.1"
3631+
universalify "^2.0.0"
3632+
36243633
fs-extra@^9.0.0:
36253634
version "9.0.0"
36263635
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3"

0 commit comments

Comments
 (0)