Skip to content

feat(hono): re-export the Hono type from @objectstack/hono#1575

Merged
xuyushun441-sys merged 2 commits into
mainfrom
perf/hono-type-reexport
Jun 4, 2026
Merged

feat(hono): re-export the Hono type from @objectstack/hono#1575
xuyushun441-sys merged 2 commits into
mainfrom
perf/hono-type-reexport

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Lets downstream apps import the Hono type from @objectstack/hono instead of declaring their own hono dependency, guaranteeing a single hono across a link: boundary (no duplicate-package type-identity errors, no version-pin alignment). hono stays a normal runtime dep so standalone os start is unaffected. Pairs with the cloud change dropping its direct hono dep + pnpm.overrides.hono.

🤖 Generated with Claude Code

os-zhuang and others added 2 commits June 4, 2026 16:08
Downstream apps that consume `createHonoApp()` need the `Hono` type only to
annotate the returned app. Re-exporting it here lets them import the type
from `@objectstack/hono` instead of adding their own `hono` dependency —
guaranteeing a single `hono` across the framework boundary (no
duplicate-package type-identity errors, no version-pin/overrides alignment).

`hono` stays a normal runtime dependency of this package, so standalone
`os start` is unaffected; this only adds a type surface.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 4, 2026 8:09am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling labels Jun 4, 2026
@xuyushun441-sys xuyushun441-sys merged commit e15c845 into main Jun 4, 2026
7 of 8 checks passed
@github-actions github-actions Bot added the size/s label Jun 4, 2026
@xuyushun441-sys xuyushun441-sys deleted the perf/hono-type-reexport branch June 4, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants