From 59a1b2916f99090d51d39299c8741511a9baacaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ole=C5=9B?= Date: Sat, 7 Aug 2021 22:28:48 +0200 Subject: [PATCH] feat: drop support for node 10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 10 is no longer maintained BREAKING CHANGE: 🧨 Require Node.js >= 12 --- .github/workflows/main.yml | 6 +++--- package.json | 4 ++-- yarn.lock | 9 +++++++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e43f59ac..708abae1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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 diff --git a/package.json b/package.json index 8f57fddd..22590b5b 100644 --- a/package.json +++ b/package.json @@ -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", @@ -118,7 +118,7 @@ "webpack": "^5.11.0" }, "engines": { - "node": ">=10", + "node": ">=12", "yarn": ">=1.0.0" } } diff --git a/yarn.lock b/yarn.lock index 3283561d..c652dacb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"