# ==========================================
# CoreNode Monorepo .gitignore
# ==========================================

# ------------------------------------------
# Operating System Files
# ------------------------------------------
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
[Dd]esktop.ini
$RECYCLE.BIN/

# Linux
*~
.fuse_hidden*
.directory

# ------------------------------------------
# Rust & Cargo (crates/*)
# ------------------------------------------
# Build output directory
target/
debug/
release/

# Backup files generated by cargo fix
**/*.rs.bk

# Cargo profiling & cache
**/*.cargo-ok

# Note: Cargo.lock is intentionally committed for executable/daemon crates
# in accordance with Rust best practices. If you wish to ignore it, uncomment:
# Cargo.lock

# ------------------------------------------
# WebAssembly & wasm-pack (corenode-wasm)
# ------------------------------------------
**/pkg/
*.wasm.d.ts
web/packages/jetpack-client/wasm/

# ------------------------------------------
# JavaScript / TypeScript / Frontend (web/)
# ------------------------------------------
node_modules/
dist/
build/
out/
.next/
.nuxt/
.vite/
.turbo/
.cache/
.pnpm-store/
docs/.vitepress/dist/
docs/.vitepress/cache/

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

# ------------------------------------------
# Python (sdks/python & workers)
# ------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so

# Environments
.venv/
venv/
env/
ENV/
.env/

# Packaging & distribution
*.egg-info/
.eggs/
*.egg
sdks/python/dist/

# Testing & quality tooling
.pytest_cache/
.ruff_cache/
.mypy_cache/
.coverage
.coverage.*
htmlcov/

# Python standalone / uv cache
.uv/

# ------------------------------------------
# IPC, Runtime & Sandboxed Storage
# ------------------------------------------
# Unix domain sockets and named pipes
*.sock
*.socket

# Local runtime directories & downloaded OCI artifacts
run/
tmp/
temp/
*.oci
*.tar.gz
tmp/tmp.txt

# ------------------------------------------
# Secrets & Environment Configurations
# ------------------------------------------
.env
.env*.local
*.local.env
!*.env.example
*.key
*.pem
*.secret
jetpack-root-signing*

# ------------------------------------------
# IDEs & Editors
# ------------------------------------------
# JetBrains (IntelliJ / RustRover / WebStorm / PyCharm)
#.idea/workspace.xml
#.idea/tasks.xml
#.idea/usage.statistics.xml
#.idea/shelf/
#.idea/httpRequests/
#.idea/dataSources/
#.idea/dataSources.local.xml
#*.iws
# (Optional: uncomment the line below to ignore .idea completely)
.idea/

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Other editors
*.sublime-project
*.sublime-workspace
*.swp
*.swo