1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 08:29:36 +01:00
effigenix/shell.nix
Sebastian Frick ef50eb8279 feat(frontend): Tauri Apps, Shared UI Library und Nix Flake
- packages/ui: Shared React Component Library (Button, Card, Badge, Input)
  mit Tailwind v4 @theme Design Tokens (oklch)
- apps/web: ERP Web-UI (Vite + React + Tailwind v4, API-Proxy :8080)
- apps/scanner: Tauri v2 Mobile App mit Barcode-Scanner Plugin
  (cfg(mobile) für Desktop-Kompatibilität)
- flake.nix: Nix Flake mit rust-overlay, Tauri System-Deps (GTK,
  WebKitGTK, libsoup, OpenSSL), ersetzt shell.nix
- justfile: Dev-Befehle für alle Projekte (backend, cli, web, scanner)
- frontend/CLAUDE.md: Agent Guide mit Base UI Docs Referenz
2026-03-20 13:59:03 +01:00

29 lines
638 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
name = "effigenix-frontend";
buildInputs = with pkgs; [
nodejs_22
nodePackages.pnpm
# Optional: useful CLI tools during development
jq # JSON processing for manual API testing
curl # Manual HTTP requests
postgresql
rainfrog
just
];
shellHook = ''
echo "Node $(node --version)"
echo "npm $(npm --version)"
echo "pnpm $(pnpm --version)"
echo ""
echo "Run 'pnpm install' to install dependencies."
echo "Run 'pnpm run build' to build all packages."
echo "Run 'pnpm run dev' to start the TUI in watch mode."
'';
}