# Next.js
web/.next/
web/out/

# Node
web/node_modules/
node_modules/

# Local-only — accidental pagefind install at project root.
# Pagefind is declared and installed from web/package.json; the
# CI build (.github/workflows/deploy.yml) only runs
# `cd web && npm install`, so a root-level package.json/lock is
# never consumed and just adds noise. Keep them ignored.
/package.json
/package-lock.json

# Logs
web/*.log
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
web/.env
web/.env.local
web/.env.development.local
web/.env.test.local
web/.env.production.local

# OS
.DS_Store
Thumbs.db

# Build files
/web/.next
/web/out

# Build artifacts generated by web's prebuild + build scripts.
# `prebuild` runs `sync:scripts` which rsyncs ../scripts/ into
# public/scripts/. `build` runs pagefind --site out which writes the
# search index into public/pagefind/. Both are regenerated fresh by
# the GitHub Pages CI on every deploy; committing them would just
# bloat the repo and produce constant noise in `git status`.
/web/public/pagefind/
/web/public/scripts/

# Cache
.cache
/web/.cache

# IDE/editor files
.idea
.vscode
*.swp
*.swo

# Other
*.bak
*.tmp

# Ensure these directories are not ignored
!guides/
!web/

# GitHub authentication
.github/auth.sh
