Skip to content

Add 'page-output' to manifest KIND_PRIORITY and make map exhaustive - #374

Merged
bcomnes merged 1 commit into
masterfrom
fix/manifest-kind-priority-page-output
Dec 4, 2026
Merged

bcomnes merged 1 commit into
masterfrom
fix/manifest-kind-priority-page-output

Conversation

@bcomnes

@bcomnes bcomnes commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Closes #362

Adds 'page-output' to KIND_PRIORITY in lib/domstack-manifest/reconcile.js at priority 90 (alongside 'template', below 'page' and 'service-worker', above 'static' / 'copy' / 'sourcemap' / 'metadata'), and types KIND_PRIORITY exhaustively with @satisfies {Record<DomstackManifestKind, number>} so future enum additions are caught by type-checking.

Includes unit tests in lib/domstack-manifest/reconcile.test.js.

@bcomnes
bcomnes force-pushed the fix/manifest-kind-priority-page-output branch from c167d07 to 3687349 Compare December 4, 2026 05:09
@bcomnes
bcomnes marked this pull request as ready for review December 4, 2026 05:10
@bcomnes

bcomnes commented Dec 4, 2026

Copy link
Copy Markdown
Owner Author

Looks good

@bcomnes
bcomnes force-pushed the fix/manifest-kind-priority-page-output branch from 3687349 to 47280e6 Compare December 4, 2026 17:23
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 47386529654

Coverage at 96.157% (no base build to compare)

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 18 of 18 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 14362
Covered Lines: 14017
Line Coverage: 97.6%
Relevant Branches: 5180
Covered Branches: 4774
Branch Coverage: 92.16%
Branches in Coverage %: Yes
Coverage Strength: 992.93 hits per line

💛 - Coveralls

@bcomnes
bcomnes merged commit 7a3cd06 into master Dec 4, 2026
8 checks passed
@bcomnes
bcomnes deleted the fix/manifest-kind-priority-page-output branch December 4, 2026 17:33
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.

Add 'page-output' to manifest KIND_PRIORITY and make the map exhaustive

2 participants