2025-08-20 18:02:50 +09:00
|
|
|
{
|
|
|
|
|
"extends": "../../tsconfig.json",
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
// Next.js requirements
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
"noEmit": true,
|
|
|
|
|
"plugins": [
|
|
|
|
|
{
|
|
|
|
|
"name": "next"
|
|
|
|
|
}
|
|
|
|
|
],
|
2025-09-01 15:11:42 +09:00
|
|
|
// Module resolution tailored for monorepo
|
|
|
|
|
"moduleResolution": "node",
|
|
|
|
|
"baseUrl": ".",
|
2025-08-20 18:02:50 +09:00
|
|
|
// Path mappings
|
|
|
|
|
"paths": {
|
2025-09-01 15:11:42 +09:00
|
|
|
"@/*": ["./src/*"],
|
|
|
|
|
"@customer-portal/shared": ["../../packages/shared/src", "../../packages/shared/dist"]
|
2025-08-30 15:47:48 +09:00
|
|
|
},
|
|
|
|
|
// Enforce TS-only in portal and keep strict mode explicit (inherits from root)
|
|
|
|
|
"allowJs": false,
|
|
|
|
|
"strict": true
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
2025-08-30 15:47:48 +09:00
|
|
|
"include": [
|
|
|
|
|
"next-env.d.ts",
|
|
|
|
|
"**/*.ts",
|
|
|
|
|
"**/*.tsx",
|
|
|
|
|
".next/types/**/*.ts"
|
|
|
|
|
],
|
|
|
|
|
"exclude": [
|
|
|
|
|
"node_modules"
|
|
|
|
|
]
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|