# 🌙 Mond - Git Ignore File

# Environment Variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
# 프론트엔드 소스의 lib 디렉토리는 코드 — 커밋 유지
!frontend/src/lib/
!frontend/src/lib/**
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual Environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/

# PyCharm
.idea/

# VS Code
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Jupyter Notebook
.ipynb_checkpoints

# pytest
.pytest_cache/
.coverage
htmlcov/
coverage.xml
*.cover
*.py,cover
.hypothesis/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

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

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output

# ESLint cache
.eslintcache

# TypeScript 증분 빌드 캐시 (tsc -b 산출물 — 커밋 금지)
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# 루트 레벨 Gatsby public/ 만 무시 (frontend/public/ 정적 자산은 추적)
/public

# Storybook build outputs
.out
.storybook-out
storybook-static

# Temporary folders
tmp/
temp/

# Logs
logs
*.log

# Database
*.db
*.sqlite
*.sqlite3

# Docker
.dockerignore
docker-compose.override.yml

# AWS
.aws/

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

# Kubernetes
*.kubeconfig

# MacOS
.DS_Store
.AppleDouble
.LSOverride

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

# Linux
*~

# Backup files
*.bak
*.backup
*.swp
*.swo
*~

# IDE files
*.sublime-project
*.sublime-workspace

# Local development
local/
.local/

# ML Models
*.pkl
*.joblib
*.h5
*.pb
models/
checkpoints/
# 단, 백엔드 ORM 모델 디렉토리는 코드의 일부 — 커밋 유지
!backend/app/models/
!backend/app/models/**
# 빌드 산출물은 negation 대상 X
backend/app/models/**/__pycache__/
backend/app/models/**/*.pyc

# Data files
data/
datasets/
*.csv
*.json
*.xml
!package.json
!package-lock.json
!tsconfig.json
# 백엔드 정적 시드(규제 카탈로그 등)는 코드의 일부 — 커밋 유지
!backend/app/data/
!backend/app/data/**
# 단, 빌드 산출물(__pycache__)은 negation 대상 X
backend/app/data/**/__pycache__/
backend/app/data/**/*.pyc

# Security
*.pem
*.key
*.crt
*.p12
secrets/
.secrets/

# Monitoring
.prometheus/
.grafana/

# Cache
.cache/
cache/

# Helm subcharts (CI에서 helm dep build로 받는다)
charts/*/charts/
charts/*/Chart.lock

