Files
iot-dc3/.gitignore
pnoker 4eb9b48bef chore(repo): ignore runtime data dirs and sqlite wal files anywhere
services resolve dc3/data against the process cwd, so a driver started
from its module directory writes dc3-driver/<module>/dc3/data/... that
the root-anchored dc3/data/ pattern never matched; use **/dc3/data/
(any depth) and add the sqlite -shm/-wal/-journal sidecars that *.db
alone does not cover
2026-09-18 11:35:46 +08:00

154 lines
2.3 KiB
Plaintext

# ===== Build artifacts (Maven / Gradle / general) =====
.m2/
target/
build/
dist/
dist-ssr/
out/
*.class
*.jar
*.war
*.ear
*.tgz
*.tar.gz
dependency-reduced-pom.xml
.flattened-pom.xml
release.properties
buildNumber.properties
# ===== Test artifacts =====
test-results/
coverage/
.nyc_output/
playwright-report/
**/target/test-classes/
**/target/surefire-reports/
**/target/failsafe-reports/
**/target/site/jacoco*/
**/target/jacoco*.exec
# ===== Testcontainers state =====
.testcontainers/
**/.testcontainers.properties.bak
# ===== Logs & JVM crash dumps =====
*.log
*.log.*
logs/
hs_err_pid*.log
replay_pid*.log
*.hprof
core.*
# Exception: dc3-web mock core handler (the `core.*` rule above is for JVM
# crash dumps and would otherwise silently skip this source file).
!dc3-web/src/mock/handlers/core.ts
# ===== Environment & secrets =====
.env
.env.local
.env.*.local
*.key
*.pem
*.p12
*.pfx
*.crt
*.csr
secrets/
# ===== IntelliJ IDEA =====
.idea/
*.iws
*.iml
*.ipr
# ===== Eclipse =====
.classpath
.project
.settings/
.factorypath
.loadpath
.springBeans
.apt_generated/
# ===== VS Code / Visual Studio =====
.vscode/
.vs/
*.code-workspace
# ===== Sublime Text =====
*.sublime-workspace
*.sublime-project
# ===== Editor temp / swap / backup =====
*.swp
*.swo
*~
*.bak
*.backup
*.tmp
*.temp
*.orig
*.rej
# ===== History =====
.history/
# ===== OS junk =====
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# ===== Python =====
__pycache__/
*.py[cod]
.venv/
venv/
# ===== Node / pnpm =====
node_modules/
.pnpm-store/
.parcel-cache/
.pnp/
.yarn/
.yarn-integrity/
.npm
.eslintcache
.node_repl_history
# ===== Vite / Vue =====
.vite/
.temp/
.cache/
*.tsbuildinfo
*.d.ts.map
components.d.ts
auto-imports.d.ts
# ===== Database =====
*.db
*.db-shm
*.db-wal
*.db-journal
*.sqlite
*.sqlite3
# ===== Docker =====
.docker/
# ===== Tauri (desktop build) =====
src-tauri/target/
src-tauri/Cargo.lock
# ===== Project-local data =====
# Services resolve the runtime dirs (dc3/data, dc3/logs) against the process
# cwd, so a driver started from its module dir writes under dc3-driver/*/.
# The anchored dc3/data/ pattern missed those; ** matches any depth (logs/
# already works because an unanchored dir-name pattern matches everywhere).
**/dc3/data/
.claude/settings.local.json
.claude/TODO.md