Commit graph ext-apps/build.bun.ts
Author SHA1 Message Date
Olivier Chafik
d9006bd69a
feat: make MCP SDK a peer dependency (#168)
* feat: make MCP SDK a peer dependency

- Move @modelcontextprotocol/sdk from dependencies to peerDependencies (^1.20.0)
- Add to devDependencies for local development (^1.24.3)
- Externalize SDK from all build entry points (app, app-bridge, react, server)

Benefits:
- Consumers control their SDK version
- Deduplication when consumer already has SDK
- Follows pattern of react/zod peer deps

* fix: require SDK ^1.24.0 for Zod 4 compatibility

Earlier SDK versions have Zod type incompatibilities that cause build errors.

* chore: update examples to SDK ^1.24.0 to match peer dep
2025-12-16 22:09:59 +00:00
ochafik
00023ba3e9 npm run prettier:fix 2025-11-23 03:15:06 +00:00
ochafik
a564b1f4bf Update build.bun.ts 2025-11-21 22:05:34 +00:00
ochafik
c59732c4db built app-bridge w/ mcp sdk as external 2025-11-21 22:00:47 +00:00
Olivier Chafik
7d38af9bbb
build w/ bun to avoid internal deps hell 2025-11-21 19:28:45 +00:00