Skip to content

Add Workbox PWA manifest example#275

Closed
bcomnes wants to merge 2 commits into
staic-client-cachefrom
staic-client-cache-workbox-pwa-example
Closed

Add Workbox PWA manifest example#275
bcomnes wants to merge 2 commits into
staic-client-cachefrom
staic-client-cache-workbox-pwa-example

Conversation

@bcomnes

@bcomnes bcomnes commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a Workbox-backed static PWA example that uses Domstack's unstable manifest preview as the source for Workbox precaching.

This PR is stacked on top of #262 / staic-client-cache and intentionally contains only the Workbox PWA example plus its root README/example script/dependabot references.

Includes

  • examples/workbox-pwa workspace
  • Workbox precacheAndRoute(self.__WB_MANIFEST) runtime pattern
  • Build-time conversion from public/domstack-manifest.json into Workbox precache entries
  • Static local server for serving the already-injected public/ output on port 3001
  • README documentation for running and testing the example

Validation

  • npm --workspace @domstack/workbox-pwa-example run build
  • npm run test:neostandard
  • git --no-pager diff --check

@socket-security

socket-security Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​workbox-routing@​7.4.1991007489100
Addednpm/​workbox-core@​7.4.11001007489100
Addednpm/​workbox-precaching@​7.4.1991007489100
Addednpm/​workbox-strategies@​7.4.1981007489100

View full report

@coveralls

coveralls commented Jul 6, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 28818058286

Coverage decreased (-0.2%) to 92.977%

Details

  • Coverage decreased (-0.2%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 5552
Covered Lines: 5288
Line Coverage: 95.24%
Relevant Branches: 1083
Covered Branches: 881
Branch Coverage: 81.35%
Branches in Coverage %: Yes
Coverage Strength: 139.92 hits per line

💛 - Coveralls

@bcomnes bcomnes force-pushed the staic-client-cache branch from 25e5323 to 85efc29 Compare July 6, 2026 03:44
@bcomnes bcomnes force-pushed the staic-client-cache-workbox-pwa-example branch from 1b9030e to 34f676b Compare July 6, 2026 03:46
bcomnes added 2 commits July 6, 2026 12:31
Adds the unstable Domstack manifest preview, service-worker build support, documentation, migration notes, tests, and workspace-aware example infrastructure without the PWA example implementations.
Adds a Workbox-backed static PWA example that injects the unstable Domstack manifest into Workbox's precache manifest and serves the generated output for local offline testing.
@bcomnes bcomnes force-pushed the staic-client-cache branch from 85efc29 to de7558e Compare July 6, 2026 19:32
@bcomnes bcomnes force-pushed the staic-client-cache-workbox-pwa-example branch from 34f676b to 55bfbcc Compare July 6, 2026 19:32
@bcomnes bcomnes force-pushed the staic-client-cache branch 3 times, most recently from c0202a7 to c785813 Compare July 7, 2026 04:47
@bcomnes bcomnes closed this Jul 7, 2026
@bcomnes bcomnes deleted the staic-client-cache-workbox-pwa-example branch July 7, 2026 04:47
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.

2 participants