# ── Secrets / local config ─────────────────────────────────────────────
# Keep the base appsettings.json (no real secrets); ignore env-specific ones.
**/appsettings.*.json
!**/appsettings.json
.env
.env.*
!**/.env*.example

# ── .NET ───────────────────────────────────────────────────────────────
bin/
obj/
[Dd]ebug/
[Rr]elease/
*.user
.vs/
logs/
*.log

# ── Node / Next.js ─────────────────────────────────────────────────────
node_modules/
.next/
out/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# ── OS / editor ────────────────────────────────────────────────────────
.DS_Store
Thumbs.db
.idea/

# ── Migrations ─────────────────────────────────────────────────────────
# New EF Core migrations are not committed. Note the 4 migrations already in
# Backend/ERPCore/Infra/Persistence/Migrations/ stay tracked — .gitignore does
# not apply to tracked files — so edits to those still get committed as normal.
# Untracking them too takes `git rm --cached`.
**/Migrations/
