# ─── Build artifacts / state ───────────────────────────────────────────────────
node_modules
.next
.next/**
out
dist
.turbo
.tsbuildinfo
*.tsbuildinfo
.cache
coverage

# ─── Git / IDE ────────────────────────────────────────────────────────────────
.git
.gitignore
.gitattributes
.DS_Store
.idea
.vscode
*.swp
*.swo
*~

# ─── Env / secrets (Coolify sets these at runtime, never bake them in) ─────
.env
.env.local
.env.*.local

# ─── Logs / tmp ───────────────────────────────────────────────────────────────
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
tmp
tmp/**

# ─── Test / dev artifacts ──────────────────────────────────────────────────────
__snapshots__
**/*.test.ts
**/*.test.tsx
**/*.spec.ts
**/*.spec.tsx
**/__mocks__/**

# ─── Docs (not needed at runtime) ─────────────────────────────────────────────
*.md
!README.md
AGENTS.md
docs/**

# ─── Migration / setup scripts (run from local, not in container) ──────────────
scripts/setup-pb.mjs
scripts/migrate*.py
scripts/migrate*.mjs
scripts/diag.mjs
scripts/screenshot.mjs
scripts/shoot-*.mjs
scripts/render-pdfs.mjs
diag.mjs

# ─── Public assets that aren't needed at runtime ──────────────────────────────
public/*.bak
public/*.tmp
