32 lines
849 B
JSON
32 lines
849 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
// Next.js requirements
|
|
"jsx": "preserve",
|
|
"noEmit": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
// Module resolution tailored for monorepo
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
// Path mappings
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@/components/*": ["./src/components/*"],
|
|
"@/core/*": ["./src/core/*"],
|
|
"@/features/*": ["./src/features/*"],
|
|
"@/shared/*": ["./src/shared/*"],
|
|
"@/styles/*": ["./src/styles/*"],
|
|
"@/types/*": ["./src/types/*"],
|
|
},
|
|
// Enforce TS-only in portal and keep strict mode explicit (inherits from root)
|
|
"allowJs": false,
|
|
"strict": true
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|