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: new hono package #83

Merged
merged 6 commits into from
Dec 11, 2024
Merged

feat: new hono package #83

merged 6 commits into from
Dec 11, 2024

Conversation

cjquines
Copy link
Member

@cjquines cjquines commented Dec 11, 2024

adds a new hono package, similar to the express / next packages. tested it locally, but we should write better tests eventually

Copy link
Contributor

@matt-casey matt-casey left a comment

Choose a reason for hiding this comment

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

LGTM
A lot of the comments can wait until we do a more thorough reworking of stl-api, but the base path issue needs to be looked into

Comment on lines 35 to 37
return app.all("*", async (c) => {
try {
const match = routeMatcher.match(c.req.method, c.req.path);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we may need to check to see if the stl-api definition has any base paths defined

@matt-casey
Copy link
Contributor

matt-casey commented Dec 11, 2024

adds a new hono package, similar to the express / next packages. tested it locally, but we should write better tests eventually

As far as publishing, I believe the CI job does that, but you can also manually run the node ./scripts/publish.mjs command locally otherwise

It iterates over everything inside of packages so no need to configure it outside of setting up a package.json like you have

for (const dir of packageDirs) {
  await gitPublish(dir, { dryRun });
}

@cjquines cjquines merged commit c769f76 into main Dec 11, 2024
1 check failed
@cjquines cjquines deleted the cj/hono branch December 11, 2024 23:39
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.

2 participants