mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 12:09:35 +01:00
- 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
29 lines
638 B
Nix
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."
|
|
'';
|
|
}
|