Skip to content

fix: support SSG output deployment base paths - #85

Merged
smiggleworth merged 1 commit into
mainfrom
fix/ssg-output-base-path
Aug 8, 2026
Merged

fix: support SSG output deployment base paths#85
smiggleworth merged 1 commit into
mainfrom
fix/ssg-output-base-path

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Summary

  • add a validated outputReport.basePath public configuration option
  • strip that prefix only from matching root-absolute SSG asset references
  • preserve root, relative, outside-prefix, missing-asset, and staged-output behavior
  • refresh the transitive Nano ID lockfile resolution so the required audit gate remains green

Review

  • reviewed prefix boundary, URL decoding, traversal rejection, external/reference behavior, and staged publication ordering
  • added follow-up coverage for /website-other, encoded traversal, malformed encoding, and missing prefixed assets preserving live output
  • confirmed the packed public declaration exposes basePath

Validation

  • npm ci
  • npm audit
  • npm run check (243 tests with coverage)
  • npm run test:templates
  • npm run test:peer-floor

Closes #84

Copilot AI lite review requested due to automatic review settings August 8, 2026 12:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@smiggleworth
smiggleworth merged commit 97b0623 into main Aug 8, 2026
7 checks passed
@smiggleworth
smiggleworth deleted the fix/ssg-output-base-path branch August 8, 2026 12:54
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.

SSG output reports treat deployment base paths as emitted asset directories

2 participants