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

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

View File

@@ -17,7 +17,7 @@
"build": "node ./build.js",
"watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"",
"eslint": "eslint './**/*.{js,jsx,ts,tsx}'",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"lint": "pnpm typecheck && pnpm eslint"
},
"devDependencies": {
@@ -27,7 +27,6 @@
"esbuild": "0.27.1",
"eslint-plugin-vue": "10.6.2",
"nodemon": "3.1.11",
"typescript": "5.9.3",
"vue-eslint-parser": "10.2.0"
},
"files": [

View File

@@ -17,7 +17,6 @@
"noImplicitReturns": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
"@@/*": ["./*"]