From 03f30ecbcd14d74370a6f640207f0a45b8a83a0a Mon Sep 17 00:00:00 2001 From: Kylesoda <249518290+kylesoda@users.noreply.github.com> Date: Sun, 22 Feb 2026 16:40:11 -0500 Subject: [PATCH] feat: update TypeScript version and refine tsconfig settings --- package.json | 1 + pnpm-lock.yaml | 10 ++++++++++ tsconfig.build.json | 1 + tsconfig.json | 9 +++++---- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 21c72ab..4ef869a 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "rimraf": "6.1.3", "tsc-alias": "1.8.16", "tsx": "4.21.0", + "typescript": "^5.9.3", "vitest": "4.0.18" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74aa5e1..e39a8b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: tsx: specifier: 4.21.0 version: 4.21.0 + typescript: + specifier: ^5.9.3 + version: 5.9.3 vitest: specifier: 4.0.18 version: 4.0.18(@types/node@25.3.0)(tsx@4.21.0) @@ -707,6 +710,11 @@ packages: engines: {node: '>=18.0.0'} hasBin: true + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} @@ -1333,6 +1341,8 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + typescript@5.9.3: {} + undici-types@7.18.2: {} vite@7.3.1(@types/node@25.3.0)(tsx@4.21.0): diff --git a/tsconfig.build.json b/tsconfig.build.json index d8f72e1..da7a683 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -6,5 +6,6 @@ "exclude": [ "*.test.ts", "vitest.config.ts", + "sandbox/**/*", ] } diff --git a/tsconfig.json b/tsconfig.json index 2389261..2a42008 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "declaration": true, "declarationMap": true, "sourceMap": true, - "rootDir": "./", + "rootDir": ".", "outDir": "./dist", "moduleResolution": "nodenext", "esModuleInterop": true, @@ -16,11 +16,11 @@ "moduleDetection": "force", "isolatedModules": true, "removeComments": true, + "noUncheckedSideEffectImports": true, "skipLibCheck": true, - "baseUrl": "./", "paths": { "@/*": [ - "lib/*" + "./lib/*" ] }, "plugins": [ @@ -33,10 +33,11 @@ } ], "typeRoots": [ - "lib/types" + "lib/shared/types" ] }, "include": [ "lib/**/*", + "sandbox/**/*", ], }