From d8068e2edf93d4961d44ead10b07033faee854b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Thu, 9 Oct 2025 00:38:11 +0800 Subject: [PATCH 1/4] feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 refs: https://github.com/eslint/eslint/issues/19969 --- .github/workflows/ci.yml | 4 +--- README.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2395b81..d304903 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - # Please avoid setting the Node.js version to "18.18.0" - # https://github.com/eslint/generator-eslint/pull/223 - node: [25.x, 24.x, 22.x, 20.x, 18.x, "18.18.1"] + node: [25.x, 24.x, 22.x, 20.x, "20.19.0"] include: - os: windows-latest node: "lts/*" diff --git a/README.md b/README.md index f646c1a..d88e960 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ First and foremost, you must have [Node.js](https://nodejs.org/) and npm install > **Requirements** > -> - Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 +> - Node.js ^20.19.0 || ^22.13.0 || >=24 You must also install Yeoman, if you don't have it installed already. To install Yeoman, you can run this command: diff --git a/package.json b/package.json index 3263224..fae3968 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "yo": ">=4.0.0" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "license": "MIT" } From 146b4c5c3d6d6dd344a15061809386bc4f211d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Sat, 11 Oct 2025 03:37:29 +0800 Subject: [PATCH 2/4] fix: update template --- plugin/templates/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/templates/_package.json b/plugin/templates/_package.json index 1d6d981..c3a5cf1 100644 --- a/plugin/templates/_package.json +++ b/plugin/templates/_package.json @@ -33,7 +33,7 @@ "npm-run-all2": "^6.1.2" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "peerDependencies": { "eslint": ">=8.57.0" From 39de80fb1d174f93101ff4957aa1313e00339378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Sun, 19 Oct 2025 10:47:24 +0800 Subject: [PATCH 3/4] Update plugin/templates/_package.json Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> --- plugin/templates/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/templates/_package.json b/plugin/templates/_package.json index c3a5cf1..bbe8ee6 100644 --- a/plugin/templates/_package.json +++ b/plugin/templates/_package.json @@ -36,7 +36,7 @@ "node": "^20.19.0 || ^22.13.0 || >=24" }, "peerDependencies": { - "eslint": ">=8.57.0" + "eslint": ">=9.0.0" }, "license": "MIT" } From 53905cb281658b890a9ea2ebde83773dc19d3ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Sun, 19 Oct 2025 21:32:11 +0800 Subject: [PATCH 4/4] Update plugin/templates/_package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 루밀LuMir --- plugin/templates/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/templates/_package.json b/plugin/templates/_package.json index bbe8ee6..55d45cc 100644 --- a/plugin/templates/_package.json +++ b/plugin/templates/_package.json @@ -36,7 +36,7 @@ "node": "^20.19.0 || ^22.13.0 || >=24" }, "peerDependencies": { - "eslint": ">=9.0.0" + "eslint": ">=9.15.0" }, "license": "MIT" }