Update TS configs and add typecheck script

This commit is contained in:
Jamie Pine 2025-12-10 20:44:52 -08:00
parent f5edcf1964
commit 9981ee76d2
5 changed files with 7 additions and 8 deletions

2
.gitignore vendored
View File

@ -447,6 +447,8 @@ sd_init.json
.github/scripts/deps .github/scripts/deps
.vite-inspect .vite-inspect
vite.config.ts.* vite.config.ts.*
vite.config.js
vite.config.d.ts
/test-data /test-data
/config.json /config.json

View File

@ -26,6 +26,5 @@
"~/*": ["./src/*"] "~/*": ["./src/*"]
} }
}, },
"include": ["src"], "include": ["src", "vite.config.ts"]
"references": [{ "path": "./tsconfig.node.json" }]
} }

View File

@ -1,11 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"composite": true,
"skipLibCheck": true, "skipLibCheck": true,
"module": "ESNext", "module": "ESNext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"strict": true "strict": true,
"noEmit": true
}, },
"include": ["vite.config.ts"] "include": ["vite.config.ts"]
} }

View File

@ -2,7 +2,8 @@
"name": "spacedrive", "name": "spacedrive",
"private": true, "private": true,
"scripts": { "scripts": {
"preinstall": "npx only-allow bun" "preinstall": "npx only-allow bun",
"typecheck": "bun run --filter @sd/tauri typecheck"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-syntax-import-assertions": "^7.24.0", "@babel/plugin-syntax-import-assertions": "^7.24.0",

View File

@ -4,9 +4,6 @@
{ {
"path": "apps/tauri" "path": "apps/tauri"
}, },
{
"path": "apps/api"
},
{ {
"path": "packages/ui" "path": "packages/ui"
}, },