Phase 1 — Active route highlighting - NavMain derives isActive from usePathname() at render time - Flat links: exact match; collapsible groups: startsWith; sub-items: exact match - Removed hardcoded isActive fields from NAV_LINKS Phase 2 — Dynamic breadcrumbs - Added ROUTE_LABELS map to app.constants.ts - Created DynamicBreadcrumb component (pathname-driven, ShadCN primitives) - Wired DynamicBreadcrumb into dashboard layout header Phase 3 — Mobile shell (observation only, no structural changes needed) Icons — migrated all sidebar/breadcrumb icons from lucide-react to @hugeicons/react + @hugeicons/core-free-icons Infra - tsconfig.json: moduleResolution → bundler (required for hugeicons ESM exports) - Renamed middleware.ts → proxy.ts (Next.js 15.5 convention) - Added @hugeicons/mcp-server to .mcp.json Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
703 B
JSON
42 lines
703 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"module": "esnext",
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"target": "ES2017",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
".next/types/**/*.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|