From aae6e7cf63d3d653f18ea7c484e70823e9160dd3 Mon Sep 17 00:00:00 2001 From: Thomas Thiebaud Date: Sun, 8 Dec 2024 12:48:39 +0000 Subject: [PATCH] chore!: drop support for Node 18 and 20 BREAKING CHANGE: drop support for Node 18 and 20 and require Node 22 LTS or more recent --- .github/workflows/ci.yml | 4 ++-- .nvmrc | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ec21b6..45aa0d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20] + node-version: [22] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20] + node-version: [22] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/.nvmrc b/.nvmrc index 85aee5a..92f279e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 \ No newline at end of file +v22 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f8c857a..116096e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "typescript-eslint": "^8.17.0" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "peerDependencies": { "fastify": "^3.21.6 || ^4.0.0" diff --git a/package.json b/package.json index 2d6d782..ffbdb1e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "fastify-schema-to-typescript": "./dist/src/cli.js" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "scripts": { "prepare": "husky",