chore(canary): expand project .gitignore for Go + Node + secrets
- Ignore docs/ (dev-only planning material) - Ignore env files except .env.example - Ignore backend Go build/test artifacts (bin, tmp, coverage) - Ignore frontend Node + Vite caches and dist - Ignore local data volumes (geoip mmdb, sqlite databases) - Ignore OS/editor cruft and lint caches
This commit is contained in:
parent
7d69339413
commit
5ccabe00b5
|
|
@ -0,0 +1,79 @@
|
|||
# ©AngelaMos | 2026
|
||||
# .gitignore
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Dev-only documentation (never committed)
|
||||
# ----------------------------------------------------------------------------
|
||||
docs/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Environment files (secrets)
|
||||
# ----------------------------------------------------------------------------
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
!.env.example
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Backend (Go)
|
||||
# ----------------------------------------------------------------------------
|
||||
backend/bin/
|
||||
backend/tmp/
|
||||
backend/*.test
|
||||
backend/coverage.out
|
||||
backend/coverage.html
|
||||
backend/.golangci-cache/
|
||||
backend/data/
|
||||
backend/keys/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Frontend (Node / Vite)
|
||||
# ----------------------------------------------------------------------------
|
||||
frontend/node_modules/
|
||||
frontend/dist/
|
||||
frontend/.vite/
|
||||
frontend/.vite-temp/
|
||||
frontend/.tmp/
|
||||
frontend/.biome_cache/
|
||||
frontend/.turbo/
|
||||
frontend/coverage/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Local data volumes (when bind-mounted)
|
||||
# ----------------------------------------------------------------------------
|
||||
data/
|
||||
*.mmdb
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# OS / Editor
|
||||
# ----------------------------------------------------------------------------
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Logs
|
||||
# ----------------------------------------------------------------------------
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Generic build artifacts
|
||||
# ----------------------------------------------------------------------------
|
||||
dist/
|
||||
build/
|
||||
bin/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Linter / pre-commit caches
|
||||
# ----------------------------------------------------------------------------
|
||||
.cache/
|
||||
.pre-commit-cache/
|
||||
.ruff_cache/
|
||||
Loading…
Reference in New Issue