# =====================================================
# MONOREPO GITIGNORE
# =====================================================

# === OS Files ===
.DS_Store
Thumbs.db
*.swp
*.swo
*~
.*.sw?
.idea/
.vscode/
*.sublime-*

# === Environment Variables ===
.env
.env.*
!.env.example
.env.local
.env.*.local
*.env
!*.env.example

# === Local Configuration Files ===
*.local.*
!*.local.example.*
.claude/settings.local.json
config.local.json
settings.local.json

# === Python ===
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
#ENV/
#env/
**/.venv/
*.egg-info/
dist/
build/
*.egg
.pytest_cache/
.coverage
.coverage.*
coverage.xml
htmlcov/
.tox/
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.ruff_cache/
*.log
.ipynb_checkpoints/

# === Node.js ===
node_modules/
**/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
.npm
.yarn
# package-lock.json should be committed for applications
# package-lock.json
yarn.lock
# **/package-lock.json
**/yarn.lock

# === Build Outputs ===
dist/
build/
out/
.next/
.nuxt/
*.min.js
*.min.css

# === Testing ===
coverage/
.nyc_output/
test-results/
test-results.json
junit.xml
*.lcov
playwright-report/
**/playwright-report/

# === AWS SAM ===
.aws-sam/
#samconfig.toml
.sam/

# === Terraform ===
*.tfstate
*.tfstate.*
.terraform/
.terraform.lock.hcl
*.tfplan

# === Firebase ===
.firebase/
firebase-debug.log
firestore-debug.log
ui-debug.log
pubsub-debug.log
database-debug.log
firebase-debug.*.log
firestore.rules.compiled

# === IDE ===
*.iml
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

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

# === Temporary Files ===
*.tmp
*.temp
*.bak
*.backup
*.old
.cache/
tmp/
temp/
local-tmp.env.json

# === MacOS ===
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# === Windows ===
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# === Project Specific ===
# Legacy project secrets (even though they're dead)
LEGACY_PROJECT/.env
LEGACY_PROJECT/*.env
LEGACY_PROJECT/orig.env
LEGACY_PROJECT/.env.*

# Large test data
*.csv
!sample.csv
!test.csv

# Uploaded files directory (if exists)
uploads/
temp-uploads/

# Local development databases
*.sqlite
*.sqlite3
*.db

# Poetry
# Note: poetry.lock should be committed for reproducible builds

# Certificates (except examples)
*.pem
*.key
*.crt
*.cer
!*.example.pem
!*.example.key

.playwright-mcp/

# Database Migration Data
DB_MIGRATION/

# Auto-generated API documentation
pdoc/
!pdoc/.gitkeep

# Project artifacts
aillc-org.iml
