lobehub/tsconfig.json
Arvin Xu e5eb7a280d
♻️ refactor: refactor model-runtime to a seperated package (#8763)
* move model-runtime

* refactor import from @/libs/model-runtime to @lobechat/model-runtime

* move deps

* refactor types
2025-08-12 00:08:52 +08:00

44 lines
1.1 KiB
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"types": ["vitest/globals", "@serwist/next/typings"],
"paths": {
"@/libs/model-runtime": ["./packages/model-runtime/src/index.ts"],
"@/libs/model-runtime/*": ["./packages/model-runtime/src/*"],
"@/types/*": ["./packages/types/src/*", "./src/types/*"],
"@/*": ["./src/*"],
"~test-utils": ["./tests/utils.tsx"]
},
"plugins": [
{
"name": "next"
}
]
},
"exclude": ["node_modules", "public/sw.js", "apps/desktop"],
"include": [
"**/*.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"next-env.d.ts",
"src",
"tests",
"vitest.config.ts"
]
}