Skip to content

Conversation

laulauland
Copy link
Member

@laulauland laulauland commented Oct 15, 2025

Summary

  • Update the core build script to copy publishConfig.exports to package.json exports during the prepublishOnly lifecycle hook, ensuring Bun respects the correct export mappings for the published package
  • Add @types/bun dev dependency and remove unnecessary type imports from the text-to-speech example
  • Add a patch changeset for the packaging behavior update

Context

The publishConfig.exports field in package.json is used to define different exports for the published package vs development. This change ensures those exports are properly applied during publishing so consumers resolve the correct built files from dist/.

🤖 Generated with Claude Code

Copy link

changeset-bot bot commented Oct 15, 2025

🦋 Changeset detected

Latest commit: 060a087

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
mcp-lite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Oct 15, 2025

Open in StackBlitz

npm i https://pkg.pr.new/fiberplane/mcp-lite@134

commit: 060a087

@laulauland laulauland force-pushed the codex/update-build-script-for-package.json-exports branch from 9fd5a96 to a2a1a86 Compare October 15, 2025 19:33
core: only update package.json exports during prepublish

Co-authored-by: laurynas.keturakis <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
@laulauland laulauland force-pushed the codex/update-build-script-for-package.json-exports branch from a2a1a86 to 9e681c4 Compare October 15, 2025 19:35
Copy link
Member

@oscarvz oscarvz left a comment

Choose a reason for hiding this comment

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

@laulauland laulauland merged commit db5e3ca into main Oct 16, 2025
3 checks passed
@laulauland laulauland deleted the codex/update-build-script-for-package.json-exports branch October 16, 2025 10:04
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.

2 participants