Commit b423b09
committed
fix(node): mark hono peer dependency as optional
@modelcontextprotocol/node only uses getRequestListener from @hono/node-server,
which does not require the hono framework at runtime. Consumers no longer need
to install hono to use NodeStreamableHTTPServerTransport. @hono/node-server
itself still hard-peers on hono, so a warning may remain (upstream).1 parent 9ed62fe commit b423b09
File tree
2 files changed
+10
-0
lines changed- .changeset
- packages/middleware/node
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments