# Save as: .gitignore (in your main project folder)

# === Dependencies ===
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock

# === Build outputs ===
dist/
build/
.next/
out/
.nuxt/
.cache/

# === Environment files ===
.env
.env.local
.env.*.local
*.env

# === IDE and Editor ===
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# === Docker ===
docker-compose.override.yml
infrastructure/nginx/generated/
*.log
docker-data/
postgres-data/
redis-data/
*.pid

# === Logs ===
logs/
*.log
npm-debug.log*

# === Runtime data ===
pids/
*.pid
*.seed
*.pid.lock

# === Coverage directory ===
coverage/
.nyc_output/

# === Temporary files ===
tmp/
temp/
*.tmp
*.temp

# === OS files ===
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini

# === Secrets and keys ===
*.pem
*.key
*.crt
.secrets/
secrets/

# === Database files ===
*.sqlite
*.db
*.sqlite3

# === Gitea specific (keep Actions workflows; ignore other local .gitea noise) ===
.gitea/*
!.gitea/workflows
!.gitea/workflows/**

# Prisma generated files
prisma/*.db
prisma/*.db-journal

# AdminJS generated files (CRITICAL!)
**/adminjs/**
**/bundle.js
**/entry.js
**.adminjs/

# Build outputs
**/dist/
**/build/
**/.next/
**/out/

# Test outputs
**/coverage/
**/.nyc_output/

# Logs
**/*.log
**/npm-debug.log*

# Environment
**/.env
**/.env.*
!**/.env.example

# IDE (personal)
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
Thumbs.db