feat: use Node.js 20 (#720)
Some checks failed
Build / Build Package (push) Has been cancelled
Check / Check Package (push) Has been cancelled
Test / Test Package (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2025-06-06 22:47:36 +07:00 committed by GitHub
parent 7a05d9c366
commit 5d8a97b8fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node23": "^23.0.2",
"@tsconfig/node20": "^20.1.5",
"@types/node": "^22.15.29",
"@vitest/coverage-v8": "^3.0.8",
"eslint": "^9.27.0",

12
pnpm-lock.yaml generated
View File

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

View File

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