From 00ccbba8d3b981d1a72f3ccb6d06f74a4adcd535 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Mon, 25 Nov 2024 10:31:53 -0800 Subject: [PATCH] build: use node 22 --- .nvmrc | 2 +- package-lock.json | 10 +++++----- package.json | 2 +- tsconfig.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.nvmrc b/.nvmrc index 9a2a0e21..53d1c14d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 +v22 diff --git a/package-lock.json b/package-lock.json index eb2f81e5..13a9cf93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@eslint/js": "^9.13.0", - "@tsconfig/node20": "^20.1.4", + "@tsconfig/node22": "^22.0.0", "@types/eslint__js": "^8.42.3", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.13", @@ -1990,10 +1990,10 @@ "dev": true, "license": "MIT" }, - "node_modules/@tsconfig/node20": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.4.tgz", - "integrity": "sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==", + "node_modules/@tsconfig/node22": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@tsconfig/node22/-/node22-22.0.0.tgz", + "integrity": "sha512-twLQ77zevtxobBOD4ToAtVmuYrpeYUh3qh+TEp+08IWhpsrIflVHqQ1F1CiPxQGL7doCdBIOOCF+1Tm833faNg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 5fbb90bc..5485d70e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ }, "devDependencies": { "@eslint/js": "^9.13.0", - "@tsconfig/node20": "^20.1.4", + "@tsconfig/node22": "^22.0.0", "@types/eslint__js": "^8.42.3", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.13", diff --git a/tsconfig.json b/tsconfig.json index b6c7c089..f0aa1e83 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node20/tsconfig.json", + "extends": "@tsconfig/node22/tsconfig.json", "include": ["src/**/*"], "exclude": ["node_modules"], "compilerOptions": {