mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
* add test * fix tests * fix tests * revert tests * refactor model runtime folder * refactor model runtime folder and remove @/libs/model-runtime * fix lint * move * fix tests
36 lines
1.1 KiB
JSON
36 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": {
|
|
"@/database/*": ["./packages/database/src/*", "./src/database/*"],
|
|
"@/const/*": ["./packages/const/src/*", "./src/const/*"],
|
|
"@/utils/*": ["./packages/utils/src/*", "./src/utils/*"],
|
|
"@/types/*": ["./packages/types/src/*", "./src/types/*"],
|
|
"@/*": ["./src/*"],
|
|
"~test-utils": ["./tests/utils.tsx"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"exclude": ["node_modules", "public/sw.js", "apps/desktop", "tmp", "temp", ".temp"],
|
|
"include": ["**/*.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts"]
|
|
}
|