Install Tailwind v4 with @tailwindcss/vite plugin, TypeScript, and shadcn/ui (button + sheet components). Convert shared layout files (App, AdminNavbar, AuthContext, ProtectedRoute, useSocket, api) from JSX/JS to TSX/TS with type annotations. Rebuild AdminNavbar using shadcn Button and Sheet components with Tailwind classes, replacing custom CSS. Page components remain as JSX for incremental migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
597 B
JSON
31 lines
597 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Path aliases */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["src"]
|
|
}
|