# ======================================
# Sonr Blockchain & Monorepo .gitignore
# ======================================

# ===== Operating System Files =====
.DS_Store
Thumbs.db
*~
*.swp
*.swo
.logs/
.venv/
services/
Taskfile*
mprocs*
.claude*

# ===== IDE & Editor Files =====
.vscode/
.idea/
*.tmp
.aider*
.opencode

# ===== Build Artifacts & Binaries =====
*.wasm
bin/
dist/
dist*/
build/
out/
*.test
*.wasm

# Go binaries (but allow docs references)
snrd
!cmd/snrd/

# Allow specific CLI binaries
!cli/join-testnet/bin/
!cli/install/bin/

# ===== Removed: Node.js & Frontend (no longer needed for blockchain-only repo) =====
# node_modules/
# .pnpm-debug.log*
# pnpm-debug.log*
# package-lock.json
# yarn.lock
# *.tsbuildinfo
# .next/
# .vercel/
# **/.open-next

# ===== Go Development =====
pkg/mod/
go.work
go.work.sum
go.work.mod
coverage.out
coverage.txt
profile.out
*.cover

# ===== Rust/CosmWasm Development =====
target/
Cargo.lock
artifacts/
**/target/
**/Cargo.lock

# ===== Blockchain & Cosmos SDK =====
.snrd/
keyring-test/
mytestnet/
docker/testnet/testnet-data

# ===== Build Tools =====
.devbox/
.task*
Taskfile.yml

# ===== Testing & Coverage =====
testdata/
coverage/

# ===== Logs & Temporary Files =====
logs/
*.log
configs/logs.json
tmp/
tmp*
tmp-openapi-gen/

# ===== Environment & Secrets =====
.env
.env.local
.env.production
.env.development
*.key
*.pem

# ===== Documentation & Planning =====
PLAN.md
ANALYSIS.md
COMPLETION_SUMMARY.md
**/CLAUDE.md

# ===== Miscellaneous =====
.claude/
**/.claude
.gmap
.aim
.spawn
.wrangler/
.browser-echo-mcp.json
data/
compose/
heighliner*
# Ignore individual module OpenAPI files (generated in tmp directory)
tmp-openapi-gen/**/*.json
# Allow the final combined openapi.yml
!docs/static/openapi.yml
.mcp.json
node_modules
.claude
