Skip to content

[codex] add pwa setup#2

Merged
linuxlewis merged 1 commit into
mainfrom
codex/add-pwa-setup
May 24, 2026
Merged

[codex] add pwa setup#2
linuxlewis merged 1 commit into
mainfrom
codex/add-pwa-setup

Conversation

@linuxlewis
Copy link
Copy Markdown
Owner

Summary

Adds a lightweight Progressive Web App setup using the existing Vite app build instead of a hand-written service worker.

Changes

  • Adds vite-plugin-pwa and configures generated manifest, service worker registration, Workbox cleanup, and /api/* navigation fallback denial.
  • Adds installability metadata in src/app/index.html plus app icons and robots.txt under src/app/public/.
  • Updates Fastify static asset MIME handling for .webmanifest and .txt with unit coverage.
  • Documents the intended PWA scope in docs/pwa.md and updates repo navigation/quality notes.

Impact

Production builds now emit manifest.webmanifest, sw.js, workbox-*.js, and the required installability assets. API data remains network-driven through the existing TanStack Query/generated client stack.

Validation

  • pnpm lint
  • pnpm test:unit
  • pnpm build
  • pnpm check:docs
  • pnpm test

@linuxlewis linuxlewis marked this pull request as ready for review May 24, 2026 14:40
@linuxlewis linuxlewis merged commit 647841e into main May 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant