1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 12:55:00 +02:00
archivr/.gitignore
TheGeneralist 4f3b2968b6 build: build frontend in Nix, remove static from git tracking
Add frontendDeps (FOD) and frontendStatic derivations to flake.nix so
that nix build handles the Vite bundle automatically. The archivr_server
derivation now copies from ${frontendStatic} instead of
${./crates/archivr-server/static}.

crates/archivr-server/static/ is excluded from git tracking (.gitignore);
the aarch64-darwin node_modules hash is included. Other systems use a
placeholder hash — run `nix build 2>&1 | grep 'got:'` to obtain theirs.

Update AGENTS.md and docs/README.md to reflect the new workflow.
2026-10-04 22:53:49 +02:00

49 lines
687 B
Text

*
!.gitignore
!.github/
!.github/**
!docs/
!docs/LICENSE
!docs/README*
!docs/branding/
!docs/branding/**
!crates
!crates/**
# Static assets are built by Nix (frontendStatic derivation in flake.nix).
# Do not commit them; `nix build` produces them from frontend/src/.
crates/archivr-server/static/
crates/archivr-server/static/**
!vendor
!vendor/**
!flake.nix
!flake.lock
!Cargo.toml
!Cargo.lock
!ARCHIVR-MENTAL-MODEL.md
!NEXT.md
!AGENTS.md
!Dockerfile
!.dockerignore
!docker-compose.yml
!docker/
!docker/**
!modules/
!modules/**
!frontend/
!frontend/**
frontend/node_modules/
frontend/node_modules/**
frontend/result
frontend/result/**
frontend/dist/
frontend/dist/**
.DS_Store