Skip to content

Theme: ship data/ in the @docsy/theme npm package - #2843

Merged
chalin merged 3 commits into
docsy:mainfrom
chalin:chalin-m24-theme-pack-data-2026-1003
Oct 4, 2026
Merged

chalin merged 3 commits into
docsy:mainfrom
chalin:chalin-m24-theme-pack-data-2026-1003

Conversation

@chalin

@chalin chalin commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator
  • Contributes to Release 0.18.0 preparation #2775
  • Scope: theme/data/ ships in the @docsy/theme npm package, with a pack-test guard so the omission can't recur silently
  • Out of scope:
    • Mount-derived pack contract (every tracked file under each theme mount source is in the tarball): supply-chain follow-up
    • Tarball consumer build in PR CI: supply-chain follow-up
    • Publishing and tagging (release process)
  • Why: the 0.18 plugin loop reads its params schema through the theme's data mount, so a registry install of @docsy/theme can't build without theme/data/
  • Reviewer's start: theme/package.json files, then the pack test's new required entry
  • Validation: red on main, green here, cause isolated by restoring or removing the one schema file
    • Pack test: runs in PR CI, so the guard is enforced from this PR on
    • Smoke tarball leg (consumer build): local, release-time only

- Adds `data` to the theme `files` allowlist and its pack-test mirror: the 0.18 plugin loop reads the params schema through the `data` mount, so a registry install of 0.18.0 could not build
- Guards the omission in the pack test's required set (red on the old allowlist, green after)
@chalin chalin added this to the 0.18.0 milestone Oct 4, 2026
@netlify

netlify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsydocs ready!

Name Link
🔨 Latest commit 862f167
🔍 Latest deploy log https://app.netlify.com/projects/docsydocs/deploys/6ac23a5848fbf90008ec263b
😎 Deploy Preview https://deploy-preview-2843--docsydocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

chalin added 2 commits October 4, 2026 06:50
- Keeps the why (the allowlist is JSON and can't carry it); drops the release-cycle residue (r1.1, r1.8)
- The list's other entries carry no why; the reader greps the path to find its consumer
@chalin
chalin marked this pull request as ready for review October 4, 2026 11:46
@chalin
chalin requested a review from a team October 4, 2026 11:46
@chalin
chalin merged commit a610b23 into docsy:main Oct 4, 2026
16 of 17 checks passed
@chalin
chalin deleted the chalin-m24-theme-pack-data-2026-1003 branch October 4, 2026 11:46
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