From fd2d140899fe18fd150717926cd8f274a21f7e6d Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Sun, 8 Sep 2024 02:55:34 +1000 Subject: [PATCH] Bump minimum Node version to 18 --- .github/workflows/test.yml | 2 +- package.json | 2 +- tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 255f4922..89a8876d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,9 +30,9 @@ jobs: fail-fast: false matrix: node: - - 16 - 18 - 20 + - 22 os: - name: Ubuntu version: ubuntu-latest diff --git a/package.json b/package.json index bb85e063..ac24cedc 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "conc": "./dist/bin/concurrently.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "exports": { ".": { diff --git a/tsconfig.json b/tsconfig.json index 00f9eec8..fb447781 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "outDir": "./dist", "declaration": true, - "target": "ES2021", + "target": "ES2022", + "lib": ["ES2023"], "module": "CommonJS", "moduleResolution": "node", "strict": true,