Files
calendar/apps/web/tsconfig.json
T
Benny JooGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1cc548284d fix: remove TypeScript path mapping and standardize @calcom/ui imports (#23359)
- Remove '@calcom/ui/*': ['../../packages/ui/components/*'] path mapping from apps/web/tsconfig.json
- Fix imports from '@calcom/ui/componentName' to '@calcom/ui/components/componentName' format
- Preserve direct exports like '@calcom/ui/classNames' and '@calcom/ui/styles'
- Update 200+ files across apps/web, packages/features, packages/app-store, and packages/ui
- Fix localStorage usage to use safe webstorage import
- Remove forbidden 'as any' type casting in favor of proper TypeScript types
- All changes verified to pass TypeScript compilation

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-08-26 13:47:06 -03:00

38 lines
1.1 KiB
JSON

{
"extends": "@calcom/tsconfig/nextjs.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["modules/*"],
"@components/*": ["components/*"],
"@pages/*": ["pages/*"],
"@lib/*": ["lib/*"],
"@server/*": ["server/*"],
"@prisma/client/*": ["@calcom/prisma/client/*"],
"@calcom/repository/*": ["@calcom/lib/server/repository/*"]
},
"plugins": [
{
"name": "next"
}
],
"strictNullChecks": true,
"experimentalDecorators": true
},
"include": [
/* Find a way to not require this - App files don't belong here. */
"../../packages/app-store/routing-forms/env.d.ts",
"next-env.d.ts",
"../../packages/trpc/types/router.d.ts",
"../../packages/types/*.d.ts",
"../../packages/types/next-auth.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"../../packages/features/bookings/lib/getBookingInfo.ts",
"../../packages/features/bookings/lib/getUserBooking.ts",
"../../packages/features/Segment.tsx"
],
"exclude": ["**/node_modules/**", ".next"]
}