Comprehensive .gitignore covering:
* node_modules/ (re-installable from package-lock.json) — also untracks
the 5 679 files that were carried over from the initial commit
* Vite dependency cache (.vite/) — pure build churn
* IDE state: BBEdit (*.bbprojectd/), VS Code, JetBrains, Zed, Sublime,
Vim swap files
* OS metadata: macOS .DS_Store / ._*, Windows Thumbs.db, etc.
* Interim Word-document backups (*-v[0-9].docx pattern), env files,
test coverage, common cache directories
dist/ deliberately NOT ignored — the repo currently serves the built
output directly. If you switch to a CI deploy later, uncomment the
dist/ lines in .gitignore.
After this commit, `git status` will be empty until real source changes
are made (no more node_modules / .vite cache noise).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
105 lines
2.0 KiB
Plaintext
105 lines
2.0 KiB
Plaintext
# ============================================================================
|
|
# 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/
|