Skip to content

fix(package): include registry.ts in published tarball#22

Merged
JonasJesus42 merged 1 commit intomainfrom
fix/registry-in-files
Apr 22, 2026
Merged

fix(package): include registry.ts in published tarball#22
JonasJesus42 merged 1 commit intomainfrom
fix/registry-in-files

Conversation

@JonasJesus42
Copy link
Copy Markdown
Contributor

@JonasJesus42 JonasJesus42 commented Apr 22, 2026

Summary

  • registry.ts was added in feat(registry): declarative catalogue of installable apps #20 but the files array in package.json only whitelisted per-app directories, so the file was excluded from the published tarball.
  • Consumers importing @decocms/apps/registry hit TS2307: Cannot find module (and runtime ENOENT).
  • Add registry.ts to the files array so it actually ships.

Test plan

  • Release workflow green on main
  • npm view @decocms/apps@latest tarball includes registry.ts
  • storefront-tanstack typechecks + builds against the new release

🤖 Generated with Claude Code


Summary by cubic

Include registry.ts in the published package so importing @decocms/apps/registry works again. Adds registry.ts to the files array in package.json.

Written for commit 226b1af. Summary will update on new commits.

The files array only listed per-app directories, so registry.ts at the
repo root was excluded from the published package. Consumers importing
@decocms/apps/registry hit TS2307 / runtime ENOENT.

Add registry.ts to the files array so it ships.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@JonasJesus42 JonasJesus42 merged commit 9fb3762 into main Apr 22, 2026
1 check passed
@JonasJesus42 JonasJesus42 deleted the fix/registry-in-files branch April 22, 2026 22:58
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant