diff --git a/package.json b/package.json index f294f35..6ba81d5 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "p-retry": "^4.6.2", "prettier": "^3.3.3", "temp": "^0.9.4", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vitest": "^2.1.3" }, "repository": { diff --git a/tsconfig.build.json b/tsconfig.build.json index 1d83a72..eb88fec 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,5 +1,6 @@ { "include": ["src"], + "exclude": ["coverage"], "compilerOptions": { "composite": true, "declaration": true, @@ -7,7 +8,7 @@ "isolatedModules": true, "module": "node16", "noImplicitOverride": true, - "allowImportingTsExtensions": true, + "rewriteRelativeImportExtensions": true, "outDir": "dist", "resolveJsonModule": true, "rootDir": "src", diff --git a/tsconfig.json b/tsconfig.json index de0ce38..a1f508d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,12 @@ { - "exclude": ["dist", "src"], + "exclude": ["dist", "src", "coverage"], "references": [{ "path": "./tsconfig.build.json" }], "compilerOptions": { "checkJs": true, "isolatedModules": true, "module": "node16", "noImplicitOverride": true, - "allowImportingTsExtensions": true, + "rewriteRelativeImportExtensions": true, "noEmit": true, "resolveJsonModule": true, "strict": true, diff --git a/yarn.lock b/yarn.lock index 9654c33..d6c2601 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5429,7 +5429,7 @@ __metadata: prettier: "npm:^3.3.3" temp: "npm:^0.9.4" tus-js-client: "npm:^4.2.3" - typescript: "npm:^5.6.3" + typescript: "npm:^5.7.2" vitest: "npm:^2.1.3" zod: "npm:^3.23.8" languageName: unknown @@ -5549,7 +5549,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.6.3": +"typescript@npm:^5.7.2": version: 5.7.2 resolution: "typescript@npm:5.7.2" bin: @@ -5559,7 +5559,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.6.3#optional!builtin": +"typescript@patch:typescript@npm%3A^5.7.2#optional!builtin": version: 5.7.2 resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=29ae49" bin: