# ============================================================================
# LUPMIS2 PWA — .gitignore
# ============================================================================

# ----- Node / npm dependencies -----
# Re-installable from package-lock.json; never tracked.
node_modules/

# Vite's dependency optimisation cache (lives inside node_modules but listed
# explicitly for clarity).
node_modules/.vite/
.vite/

# npm / yarn / pnpm logs and debug files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# ----- Build artefacts -----
# Vite produces these but we do NOT ignore `dist/` because the repo serves
# the built output directly. If you switch to a CI-based deploy pipeline
# later, uncomment the next two lines.
# dist/
# dist-ssr/

# Pre-compressed / source-map sidecar files outside dist/
*.tsbuildinfo

# ----- Local environment & secrets -----
.env
.env.local
.env.*.local
*.local

# ----- IDE / editor configuration -----
# BBEdit project / scratchpad state
*.bbprojectd/

# Visual Studio Code (keep recommended-extensions and tasks.json if added)
.vscode/*
!.vscode/extensions.json
!.vscode/tasks.json
!.vscode/launch.json

# JetBrains IDEs (WebStorm, IntelliJ, etc.)
.idea/
*.iml

# Zed
.zed/

# Sublime Text
*.sublime-workspace
*.sublime-project

# Vim / Emacs swap files
*.swp
*.swo
*~
.#*

# ----- OS metadata -----
# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
Icon?
._*

# Windows
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
Desktop.ini
$RECYCLE.BIN/

# Linux
.directory
.Trash-*

# ----- Project-specific -----
# Interim Word-document backups produced when iterating on reports
# (the *current* report file stays tracked; only versioned snapshots are
# excluded).
LUPMIS2_Development_Status_Report-v*.docx
*-v[0-9].docx
*-v[0-9][0-9].docx

# SQLite databases dropped in the project root for ad-hoc inspection
/*.sqlite3
/*.sqlite3-journal
/*.db

# Coverage / test output
coverage/
.nyc_output/

# Misc caches
.eslintcache
.parcel-cache/
.cache/

# Microsoft Office lock / owner files (e.g. ~$Document.docx)
~$*
