Files
Tanken/package.json
T
Felitendo 56d5c7887a feat: admin redesign with proper shadcn setup
shadcn was never officially initialised (no components.json); the existing
ui/* primitives were hand-copied rumps without the New-York variants. This
runs `shadcn init` and reinstalls every primitive through the CLI plus the
missing ones (sidebar, dialog, tabs, switch, tooltip, sonner, popover,
form, scroll-area, dropdown-menu, badge, sheet, skeleton).

Etappe 1 of the admin redesign now lands on top of that:
- Login + Bootstrap wizard wrapped in shadcn Card with cleaner stepper
- Dashboard switched to the shadcn Sidebar block (collapsible, native
  mobile sheet, tooltip on collapsed icons)
- Konfiguration broken into four Cards (API-Schluessel, Suche,
  Scan-Zeiten, Schwellenwerte)
- New TimeInput for scan times: two compact number inputs with a clock
  icon, replacing the browser-native time picker which looked off-style
- Feedback toasts migrated to sonner; old FeedbackToast removed
- ThemeSync mirrors prefers-color-scheme onto the .dark class so shadcn
  v4's `dark:` utilities fire alongside the existing @media-driven CSS
  variables

OIDC, SMTP, Locations and Scanner sections still use the old
SettingsGroup styling and will be migrated in Etappe 2.
2026-05-11 09:58:16 +02:00

59 lines
1.4 KiB
JSON

{
"name": "tanken",
"version": "2.0.0",
"description": "PWA fuer Diesel- und Spritpreise",
"private": true,
"scripts": {
"dev": "next dev --port 3847",
"build": "next build",
"start": "next start --port 3847",
"typecheck": "tsc --noEmit"
},
"keywords": [
"pwa",
"fuel",
"diesel",
"tankstelle"
],
"author": "Felitendo",
"license": "MIT",
"engines": {
"node": ">=22"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@tailwindcss/postcss": "^4.2.1",
"autoprefixer": "^10.4.27",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.577.0",
"next": "^16.0.0",
"next-themes": "^0.4.6",
"nodemailer": "^8.0.2",
"pg": "^8.16.3",
"postcss": "^8.5.8",
"radix-ui": "^1.4.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "^7.75.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1",
"web-haptics": "^0.0.6",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.8.1",
"@types/nodemailer": "^7.0.11",
"@types/pg": "^8.15.6",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"typescript": "^5.9.3"
}
}