5fab22b9d5
The gen-style-thumbs.ts script uses Bun-only APIs (import.meta.dir, Bun.write) which fail TypeScript checking under the project's Next.js tsconfig. Exclude the scripts directory from compilation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": [
|
|
"ES2022",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"verbatimModuleSyntax": false,
|
|
"jsx": "react-jsx",
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"./*"
|
|
],
|
|
"@infiplot/engine": [
|
|
"./lib/engine/index.ts"
|
|
],
|
|
"@infiplot/ai-client": [
|
|
"./lib/ai-client/index.ts"
|
|
],
|
|
"@infiplot/tts-client": [
|
|
"./lib/tts-client/index.ts"
|
|
],
|
|
"@infiplot/types": [
|
|
"./lib/types/index.ts"
|
|
]
|
|
},
|
|
"allowJs": true
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"scripts"
|
|
]
|
|
}
|