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
.vite-inspect
vite.config.ts.*
vite.config.js
vite.config.d.ts
/test-data
/config.json

View File

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

View File

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

View File

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

View File

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