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

@@ -100,7 +100,7 @@ async function buildSrc(): Promise<void> {
function buildDts(): Promise<unknown> {
return execa(
'tsc',
'tsgo',
[
'--project', 'tsconfig.json',
'--rootDir', 'src',

View File

@@ -20,7 +20,7 @@
"build": "tsx ./build.ts",
"watch": "nodemon -w package.json -e json --exec \"tsx ./build.ts --watch\"",
"tsd": "tsd",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"lint": "pnpm typecheck && pnpm eslint",
"lint:fix": "pnpm eslint --fix"
},
@@ -36,8 +36,7 @@
"esbuild": "0.27.1",
"execa": "9.6.1",
"nodemon": "3.1.11",
"tsx": "4.21.0",
"typescript": "5.9.3"
"tsx": "4.21.0"
},
"dependencies": {
"js-yaml": "4.1.1"