Files
warmbly/web-admin/package.json
T
Matthew Meszaros 1b316b9169 web-admin: Vite+React+Tailwind admin app with distinct amber theme
Separate from the user dashboard at web/ so admin and end-user surfaces
never get confused. Same stack (React 19 + Vite + Tailwind v4 + shadcn)
for consistency; differentiated visually via:

  - 3px amber top stripe on every authenticated page
  - persistent ADMIN badge in the sidebar header and login card
  - amber-tinted sidebar with diagonal pattern
  - amber accent on active nav items and primary buttons
  - env pill (red/amber/emerald for prod/staging/dev) in the topbar
  - 'Admin · Warmbly' title and amber-stroked shield favicon

Pages with real data wiring:
  Overview, Workers (list+detail with SSH actions), Egresses,
  Audit Log, Settings (Encryption / Storage / Messaging / Cache /
  Transports) backed by /admin/settings/backends

Stub pages with placeholder bodies (nav exists, no 404):
  Mailboxes, Users, Organizations, Plans, Warmup, Campaigns,
  Analytics

Auth reuses backend session cookies. Dev server runs on port 5174 to
coexist with the dashboard on 5173.

  pnpm install && pnpm build → clean
  pnpm typecheck && pnpm lint → clean (2 pre-existing fast-refresh
  warnings in shadcn primitives kept verbatim from the dashboard)
2026-05-27 14:44:08 +00:00

68 lines
2.0 KiB
JSON

{
"name": "warmbly-admin",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"typecheck": "tsc -b",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"preview": "vite preview"
},
"dependencies": {
"@fontsource/inter": "^5.2.8",
"@fontsource/poppins": "^5.2.7",
"@hookform/resolvers": "^5.2.2",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-query": "^5.90.5",
"@tanstack/react-query-devtools": "^5.90.2",
"axios": "^1.16.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.563.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-hook-form": "^7.71.1",
"react-hot-toast": "^2.6.0",
"react-router-dom": "^7.15.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@types/node": "^24.6.0",
"@types/react": "^19.1.16",
"@types/react-dom": "^19.1.9",
"@vitejs/plugin-react": "^5.0.4",
"eslint": "^9.36.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.22",
"globals": "^16.4.0",
"tw-animate-css": "^1.4.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.45.0",
"vite": "^7.3.3"
}
}