mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 02:24:32 +08:00
* Remove extra file. * Remove unneeded tsconfig.jsons. * Add @/* alias for importing in-package files to all apps. * Remove baseUrl from all apps except studio (it'll require changes in almost all files). * Fix baseUrl issues in docs, ui-library and design-system. * Fix the typecheck for cms app. Fix all baseUrl errors in the cms app. * Add deprecated flag to baseUrl in www.
40 lines
990 B
JSON
40 lines
990 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"extends": "tsconfig/base.json",
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"paths": {
|
|
"@/*": ["./*"],
|
|
"@ui/*": ["./../../packages/ui/src/*"], // handle ui package paths
|
|
"contentlayer/generated": ["./.contentlayer/generated"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".contentlayer/generated",
|
|
"./../../packages/ui/src/**/*.d.ts"
|
|
],
|
|
"exclude": ["node_modules", "./scripts/build-registry.mts"]
|
|
}
|