diff --git a/package.json b/package.json index 4f7221e..3de0791 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "devDependencies": { "@eslint/js": "^9.9.1", "@trivago/prettier-plugin-sort-imports": "^4.3.0", + "@tsconfig/node20": "^20.1.4", "@types/node": "^22.5.4", "@types/semver": "^7.5.8", "@vercel/ncc": "^0.38.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63fbb1e..82893c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,6 +30,9 @@ importers: '@trivago/prettier-plugin-sort-imports': specifier: ^4.3.0 version: 4.3.0(prettier@3.3.3) + '@tsconfig/node20': + specifier: ^20.1.4 + version: 20.1.4 '@types/node': specifier: ^22.5.4 version: 22.5.4 @@ -663,6 +666,9 @@ packages: '@vue/compiler-sfc': optional: true + '@tsconfig/node20@20.1.4': + resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==} + '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -2055,6 +2061,8 @@ snapshots: transitivePeerDependencies: - supports-color + '@tsconfig/node20@20.1.4': {} + '@types/estree@1.0.5': {} '@types/node@22.5.4': diff --git a/tsconfig.json b/tsconfig.json index 310fa31..b994545 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,3 @@ { - "compilerOptions": { - "target": "ES2022", - "module": "NodeNext", - "moduleResolution": "NodeNext", - "esModuleInterop": true, - "noEmit": true, - "noImplicitAny": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "strict": true - } + "extends": "@tsconfig/node20/tsconfig.json" }