Skip to content

Add Workbox service worker example - #283

Open
bcomnes wants to merge 1 commit into
static-client-cache-domstack-swfrom
static-client-cache-workbox-sw
Open

Add Workbox service worker example#283
bcomnes wants to merge 1 commit into
static-client-cache-domstack-swfrom
static-client-cache-workbox-sw

Conversation

@bcomnes

@bcomnes bcomnes commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the Workbox-based static-MPA service-worker example on top of #262 and #282.

  • Converts the finalized Domstack manifest into Workbox precache and route policy through manifestBuilt.
  • Demonstrates Workbox routing, expiration, offline fallback, updates, reset, inspection, and background events.
  • Includes example documentation and the Workbox integration design plan.

Validation

  • npm run build --workspace=@domstack/static-mpa-workbox-offline-example
  • npx tsc -p examples/static-mpa-workbox-offline/tsconfig.json
  • npm test

Stack created with GitHub Stacks CLIGive Feedback 💬

@socket-security

Copy link
Copy Markdown

@coveralls

coveralls commented Jul 31, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 30649080578

Coverage increased (+0.2%) to 93.362%

Details

  • Coverage increased (+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: 6087
Covered Lines: 5800
Line Coverage: 95.29%
Relevant Branches: 1099
Covered Branches: 909
Branch Coverage: 82.71%
Branches in Coverage %: Yes
Coverage Strength: 163.5 hits per line

💛 - Coveralls

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