# =============================================================
#  SoftVowels — gitignore
#  Grouped by purpose. Patterns are anchored to the repo root
#  unless explicitly written with a leading "/" or "apps/...".
# =============================================================

# ---------- Dependencies ----------------------------------------
# pnpm content-addressed store
.pnpm-store/
# npm/yarn/pnpm lockfile caches
.npm/
.yarn/cache/
.yarn/build-state.yml
.yarn/install-state.gz
# Generic node_modules (covers root and every workspace)
node_modules/
**/node_modules/

# ---------- Build output ---------------------------------------
# Astro
.astro/
dist/
.output/

# Next.js / PayloadCMS
.next/
out/
build/
.cache/

# Vite
.vite/

# Deployment platforms (kept here in case we ever add them)
.vercel/
.netlify/
.turbo/

# ---------- Test / coverage ------------------------------------
coverage/
.nyc_output/
junit.xml

# ---------- Environment files ----------------------------------
# Never commit secrets. The .env.example templates are kept.
.env
.env.*
.env.local
.env.*.local
!.env.example

# ---------- Logs -----------------------------------------------
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# ---------- OS / editor cruft ---------------------------------
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Linux
*~
.nfs*
# Editors
.idea/
.vscode/
*.swp
*.swo
*~
.history/

# ---------- Astro / Payload runtime artifacts -----------------
# Static site build (regenerated on every release)
apps/web/dist/
apps/web/.astro/

# CMS build artifacts and caches
apps/cms/.next/
apps/cms/.cache/
apps/cms/dist/
apps/cms/build/

# CMS media uploads — stored in a Docker volume in production,
# not in the repo. Editors upload via /admin.
apps/cms/media/
apps/cms/uploads/
# Note: apps/cms/src/payload-types.ts is GENERATED but conventionally
# committed (drives IDE autocomplete and CI type-checks).

# ---------- Tooling caches -------------------------------------
# Prettier
.prettier-cache/
# ESLint
.eslintcache
.eslintcache.*
# TypeScript
*.tsbuildinfo

# ---------- OpenCode (assistant runtime, not project code) ----
.opencode/
.opencode.json
