-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.scripts.json
More file actions
20 lines (20 loc) · 920 Bytes
/
Copy pathtsconfig.scripts.json
File metadata and controls
20 lines (20 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"//": "Type-check the standing build-time tools in scripts/ (npm run typecheck:scripts). The main tsconfig's include is src-focused, so scripts were never type-checked — tsx executes them without tsc. This config closes that gap. Excludes scripts/_archive/ (retired one-shots with unresolvable imports) and *.test.ts (vitest-owned). allowImportingTsExtensions matches the scripts' `from './x.ts'` import style (tsx-native).",
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"noUnusedLocals": false,
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"types": ["node"]
},
"include": ["scripts/**/*.ts"],
"exclude": ["scripts/_archive/**", "scripts/**/*.test.ts"]
}