Files
bookorbit/.gitignore
T
neon 22ac06ecd7 feat(client): add PWA support with installability and cover caching
Add vite-plugin-pwa with Workbox in generateSW mode. Includes a web app
manifest (standalone display, shortcuts for Dashboard/Libraries/Settings),
iOS meta tags, and a service worker that pre-caches the app shell and uses
CacheFirst for book cover and thumbnail endpoints (max 200 entries, 30-day TTL).

Add useInstallPrompt composable that captures the beforeinstallprompt event
and exposes isInstallable/installApp. Wire an install button into SidebarFooter
that appears only when the browser signals the app is installable.

Generate PWA icons (64, 192, 512, maskable-512, apple-touch-icon-180) from a
new pwa-icon-source.svg using @vite-pwa/assets-generator with minimal2023Preset.
Add dev-dist to .gitignore to exclude the dev-mode SW output.
2026-05-12 20:53:21 +00:00

40 lines
430 B
Plaintext

node_modules/
dist/
.env
.env.local
client/.env
server/.env
*.local
data
# OS
.DS_Store
Thumbs.db
# Logs
*.log
npm-debug.log*
pnpm-debug.log*
# Package managers
package-lock.json
# Docker
docker/postgres/data/
# Local-only
local/
# Build artifacts
coverage/
*.tsbuildinfo
# Test results (generated artifacts - uploaded to CI, not committed)
test-results/
# IDE
.idea/
# vite-plugin-pwa dev service worker output
dev-dist