Skip to content

v0.24.3 - fix broken types bundle#770

Merged
stackoverfloweth merged 2 commits into
mainfrom
v0.24.3
May 15, 2026
Merged

v0.24.3 - fix broken types bundle#770
stackoverfloweth merged 2 commits into
mainfrom
v0.24.3

Conversation

@stackoverfloweth
Copy link
Copy Markdown
Member

Summary

  • Republish to fix the broken types entry shipped in v0.24.2: dist/kitbag-router.d.ts went out as just export {}, so every named import (createRejection, createRouter, etc.) appeared as a missing export to consumers. The runtime .js bundle was fine — only the .d.ts entry was empty.
  • Add a prepublishOnly script so npm publish always runs npm run build first, preventing a stale/partial dist from being published again.

Test plan

  • After merge + publish, install @kitbag/router@0.24.3 in a fresh project and confirm import { createRejection } from '@kitbag/router' resolves
  • Confirm dist/kitbag-router.d.ts in the published tarball contains export * from './src/main'

🤖 Generated with Claude Code

stackoverfloweth and others added 2 commits May 15, 2026 15:19
v0.24.2 shipped with a stale dist/kitbag-router.d.ts containing only `export {}`, breaking all type imports for consumers. This script ensures `npm publish` always rebuilds first.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@stackoverfloweth stackoverfloweth requested a review from pleek91 May 15, 2026 20:20
@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for kitbag-router ready!

Name Link
🔨 Latest commit a20dc5e
🔍 Latest deploy log https://app.netlify.com/projects/kitbag-router/deploys/6a07801f6e6980000845d215
😎 Deploy Preview https://deploy-preview-770--kitbag-router.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.

@stackoverfloweth stackoverfloweth merged commit 6a5a1c0 into main May 15, 2026
8 checks passed
@stackoverfloweth stackoverfloweth deleted the v0.24.3 branch May 15, 2026 21:09
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