Skip to content

Commit e51e4ad

Browse files
renovate[bot]jetersengithub-actions[bot]
authored
chore(deps): update dependency typescript to 6.0.2 (#1587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joseph Petersen <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 0e7bd54 commit e51e4ad

4 files changed

Lines changed: 25 additions & 36 deletions

File tree

package-lock.json

Lines changed: 4 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"test": "vitest",
2929
"test:run": "vitest run",
3030
"coverage": "npx tsx src/scripts/generate-coverage-badge.ts",
31-
"tsc:check": "tsc --noEmit",
31+
"tsc:check": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
3232
"format:write": "biome format --write .",
3333
"format:check": "biome format .",
3434
"lint": "biome lint .",
@@ -63,7 +63,7 @@
6363
"@vitest/coverage-v8": "^4.1.4",
6464
"nock": "^14.0.12",
6565
"tsx": "^4.21.0",
66-
"typescript": "^5.9.3",
66+
"typescript": "^6.0.2",
6767
"vite": "^8.0.0",
6868
"vitest": "^4.1.4"
6969
}

tsconfig.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,15 @@
2525
"noEmit": true,
2626
"useDefineForClassFields": true,
2727
"noFallthroughCasesInSwitch": true,
28-
"baseUrl": "./",
28+
"paths": { "src/*": ["./src/*"] },
2929
"skipLibCheck": true
3030
},
31-
"exclude": ["coverage", "dist", "node_modules", "**/*.generated.ts"],
31+
"exclude": [
32+
"coverage",
33+
"dist",
34+
"node_modules",
35+
"**/*.generated.ts",
36+
"src/tests"
37+
],
3238
"include": ["src"]
3339
}

tsconfig.test.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {
5+
"src/*": ["./src/*"],
6+
"node_modules/*": ["./node_modules/*"]
7+
}
8+
},
9+
"include": ["src"],
10+
"exclude": ["coverage", "dist", "node_modules", "**/*.generated.ts"]
11+
}

0 commit comments

Comments
 (0)