feat: use Node.js 20

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2025-06-06 22:43:17 +07:00
parent 7a05d9c366
commit b471b0926d
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
4 changed files with 9 additions and 9 deletions

2
.npmrc
View File

@ -1 +1 @@
use-node-version=23.10.0 use-node-version=20.19.2

View File

@ -15,7 +15,7 @@
"@eslint/js": "^9.27.0", "@eslint/js": "^9.27.0",
"@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2", "@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node23": "^23.0.2", "@tsconfig/node20": "^20.1.5",
"@types/node": "^22.15.29", "@types/node": "^22.15.29",
"@vitest/coverage-v8": "^3.0.8", "@vitest/coverage-v8": "^3.0.8",
"eslint": "^9.27.0", "eslint": "^9.27.0",

12
pnpm-lock.yaml generated
View File

@ -21,9 +21,9 @@ importers:
'@rollup/plugin-typescript': '@rollup/plugin-typescript':
specifier: ^12.1.2 specifier: ^12.1.2
version: 12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3) version: 12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3)
'@tsconfig/node23': '@tsconfig/node20':
specifier: ^23.0.2 specifier: ^20.1.5
version: 23.0.2 version: 20.1.5
'@types/node': '@types/node':
specifier: ^22.15.29 specifier: ^22.15.29
version: 22.15.29 version: 22.15.29
@ -460,8 +460,8 @@ packages:
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@tsconfig/node23@23.0.2': '@tsconfig/node20@20.1.5':
resolution: {integrity: sha512-vOs+KHadhOfNs80TDwy9qXtwFgD5SJ37AkeSMsWmllZ96FaNcfB2S3bkmMHuG8jLjpezXCOO2+4KtNIFk2Xs+A==} resolution: {integrity: sha512-Vm8e3WxDTqMGPU4GATF9keQAIy1Drd7bPwlgzKJnZtoOsTm1tduUTbDjg0W5qERvGuxPI2h9RbMufH0YdfBylA==}
'@types/estree@1.0.7': '@types/estree@1.0.7':
resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}
@ -1579,7 +1579,7 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.41.1': '@rollup/rollup-win32-x64-msvc@4.41.1':
optional: true optional: true
'@tsconfig/node23@23.0.2': {} '@tsconfig/node20@20.1.5': {}
'@types/estree@1.0.7': {} '@types/estree@1.0.7': {}

View File

@ -1,5 +1,5 @@
{ {
"extends": "@tsconfig/node23", "extends": "@tsconfig/node20",
"include": ["src"], "include": ["src"],
"exclude": ["**/*.test.ts"], "exclude": ["**/*.test.ts"],
"compilerOptions": { "compilerOptions": {