Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hono party #157

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Conversation

aulneau
Copy link
Contributor

@aulneau aulneau commented Feb 3, 2025

this implements a middleware for hono so you can expose many partyservers from a single hono app :)

Copy link

changeset-bot bot commented Feb 3, 2025

🦋 Changeset detected

Latest commit: f51bf60

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

This PR includes changesets to release 6 packages
Name Type
partyserver Patch
hono-party Patch
partysub Patch
partysync Patch
partywhen Patch
y-partyserver 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

@threepointone
Copy link
Owner

@yusukebe should this be in this repo or the hono repo? whatever you prefer, happy to do that.

Copy link
Owner

@threepointone threepointone left a comment

Choose a reason for hiding this comment

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

This looks good to me! Approving for now, and we'll decide what to do with it. Would you like to make a small example under the fixtures folder? No worries if not

Comment on lines 31 to 32
"hono": "^4",
"partyserver": "workspace:*"
Copy link
Owner

Choose a reason for hiding this comment

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

maybe these should be peer deps too

"license": "ISC",
"description": "",
"dependencies": {
"hono": "^4",
Copy link

Choose a reason for hiding this comment

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

hono also should be peerDependencies.

@yusukebe
Copy link

yusukebe commented Feb 4, 2025

@threepointone

We can include this in our honojs/middleware project, but some parts depend on partyserver, so I think it would be better to put it here.

@yusukebe
Copy link

yusukebe commented Feb 4, 2025

@aulneau

This is great! What I was wondering was whether to include hono in the peer deps. The rest is perfect!

@threepointone
Copy link
Owner

taking over this pr, will try to land it today

Copy link

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

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

LGTM! I’m going to pub

@threepointone threepointone merged commit 5688e43 into threepointone:main Feb 4, 2025
1 check passed
@threepointone threepointone mentioned this pull request Feb 4, 2025
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.

3 participants