Skip to content

Commit

Permalink
feat: drop support for node 10
Browse files Browse the repository at this point in the history
Node 10 is no longer maintained

BREAKING CHANGE: 🧨 Require Node.js >= 12
  • Loading branch information
piotr-oles committed Aug 8, 2021
1 parent 27a7c14 commit 59a1b29
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16

- name: Yarn cache directory
id: yarn-cache
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
needs: build
strategy:
matrix:
node: [10, 12] # add 14 when we drop support for webpack 4 as fsevents 1 is not compatible with node 14
node: [12, 14, 16]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"chokidar": "^3.5.2",
"cosmiconfig": "^7.0.0",
"deepmerge": "^4.2.2",
"fs-extra": "^9.0.0",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"memfs": "^3.2.2",
"minimatch": "^3.0.4",
Expand Down Expand Up @@ -118,7 +118,7 @@
"webpack": "^5.11.0"
},
"engines": {
"node": ">=10",
"node": ">=12",
"yarn": ">=1.0.0"
}
}
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3621,6 +3621,15 @@ from2@^2.1.0, from2@^2.3.0:
inherits "^2.0.1"
readable-stream "^2.0.0"

fs-extra@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"

fs-extra@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3"
Expand Down

0 comments on commit 59a1b29

Please sign in to comment.