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>
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "ecommerce",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"packageManager": "npm@11.6.2",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "turbo dev",
|
|
"build": "turbo build",
|
|
"lint": "turbo lint",
|
|
"type-check": "turbo type-check",
|
|
"dev:storefront": "turbo dev --filter=storefront",
|
|
"dev:admin": "turbo dev --filter=admin",
|
|
"build:storefront": "turbo build --filter=storefront",
|
|
"build:admin": "turbo build --filter=admin",
|
|
"test": "vitest",
|
|
"test:once": "vitest run",
|
|
"test:coverage": "vitest run --coverage --coverage.reporter=text"
|
|
},
|
|
"dependencies": {
|
|
"@clerk/backend": "^2.32.1",
|
|
"@tailwindcss/postcss": "^4.2.0",
|
|
"convex": "^1.32.0",
|
|
"next": "16.1.6",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"stripe": "^20.4.0",
|
|
"svix": "^1.86.0",
|
|
"tailwindcss": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@edge-runtime/vm": "^5.0.0",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"autoprefixer": "^10.4.0",
|
|
"convex-test": "^0.0.41",
|
|
"eslint": "^9.0.0",
|
|
"eslint-config-next": "^15.3.2",
|
|
"happy-dom": "^20.7.0",
|
|
"postcss": "^8.4.0",
|
|
"turbo": "^2.0.0",
|
|
"typescript": "^5.4.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|