# Rust / build artefacts
/target
**/*.rlib
**/*.rmeta

# Local configuration and secrets
.env
.env.*
env.local
.test.env
config.json
config.local.json
config_test.json

# Local data
data/
*.db

# Tools / IDE
.cursor/
.DS_Store
.vscode
*.swp
*.swo
*~
.opencode-memory


# Ignore everything under scripts
scripts/*

# But keep these files
!scripts/tests.sh
!scripts/build.sh
!scripts/run.sh
!scripts/runDev.sh
!scripts/generate-grpc-client.mjs

# Ignore all markdown files except the tracked docs (anchored exceptions
# below cannot be re-ignored by pattern layering)
*.md

# But keep the root README, the changelog, and the integration-test README
!/README.md
!/CHANGELOG.md
!/homeiot-grpc-proto/CHANGELOG.md
!tests/README.md

# Generated / OpenAPI (if used later)
openapi.json

# Generated gRPC client package (output of generate-grpc-client.mjs)
/grpc-client-release
node_modules
