e4b399eaa8
- Replace the top nav with a left rail + top context bar ("GM mission control"):
gilt crown wordmark, nav grouped At the Table / Reference with Lucide icons and a
gold active state (accent-glow + gilt left edge), a collapse toggle
(uiStore.railCollapsed). A single responsive rail = icon strip (68px) on phones /
when collapsed, full labels on >= sm.
- Top bar: campaign switcher, a ⌘K search pill, and every existing control preserved
(PlayerSessionBadge, Session panel toggle, HandoutControl, SessionControl host,
theme toggle as Sun/Moon, Settings) — same aria-labels/testids so e2e is intact.
- bun add lucide-react. Rail is print:hidden (sheets export clean).
223 unit + 34 e2e + 2 realtime green; nav contract (aria-label="Primary", link names) preserved.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"name": "ttrpg-manager",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc -b --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"typecheck:server": "tsc --noEmit -p tsconfig.server.json",
|
|
"build:server": "node server/build.mjs",
|
|
"data:build": "tsx scripts/build-srd.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/hanken-grotesk": "^5.2.8",
|
|
"@fontsource-variable/spline-sans-mono": "^5.2.8",
|
|
"@fontsource/spectral": "^5.2.8",
|
|
"@tanstack/react-router": "^1.95.0",
|
|
"@tanstack/react-virtual": "^3.14.2",
|
|
"clsx": "^2.1.1",
|
|
"dexie": "^4.0.10",
|
|
"dexie-react-hooks": "^1.1.7",
|
|
"dompurify": "^3.2.3",
|
|
"fuse.js": "^7.0.0",
|
|
"lucide-react": "^1.17.0",
|
|
"nanoid": "^5.0.9",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tailwind-merge": "^2.6.0",
|
|
"zod": "^3.24.1",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.17.0",
|
|
"@fastify/static": "^9.1.3",
|
|
"@fastify/websocket": "^11.2.0",
|
|
"@playwright/test": "^1.49.1",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/node": "^22.10.5",
|
|
"@types/react": "^19.0.2",
|
|
"@types/react-dom": "^19.0.2",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"esbuild": "^0.28.0",
|
|
"eslint": "^9.17.0",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
"fake-indexeddb": "^6.0.0",
|
|
"fastify": "^5.8.5",
|
|
"globals": "^15.14.0",
|
|
"jsdom": "^25.0.1",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.19.0",
|
|
"vite": "^6.0.7",
|
|
"vite-plugin-pwa": "^0.21.1",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|