feat: use tsgo where capable (#16984)

This commit is contained in:
anatawa12
2025-12-22 16:52:05 +09:00
committed by GitHub
parent 5c5e965151
commit 06657c81d3
28 changed files with 108 additions and 83 deletions

View File

@@ -59,7 +59,7 @@ async function buildSrc() {
function buildDts() {
return execa(
'tsc',
'tsgo',
[
'--project', 'tsconfig.json',
'--outDir', 'built',

View File

@@ -15,7 +15,6 @@
"openapi-typescript": "7.10.1",
"ts-case-convert": "2.1.0",
"tsx": "4.21.0",
"typescript": "5.9.3",
"eslint": "9.39.1"
},
"files": [

View File

@@ -25,7 +25,7 @@
"api": "pnpm api-extractor run --local --verbose",
"api-prod": "pnpm api-extractor run --verbose",
"eslint": "eslint './**/*.{js,jsx,ts,tsx}'",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"lint": "pnpm typecheck && pnpm eslint",
"vitest": "vitest run --coverage",
"test": "pnpm vitest && pnpm tsd",
@@ -47,7 +47,6 @@
"ncp": "2.0.0",
"nodemon": "3.1.11",
"tsd": "0.33.0",
"typescript": "5.9.3",
"vitest": "4.0.15",
"vitest-websocket-mock": "0.5.0"
},