feat(examples): add http-hello-world-hono-persistent-storage#668
Merged
ericgregory merged 1 commit intoJun 22, 2026
Merged
Conversation
Contributor
|
Hey same comment as over on the Rust side here -- I wonder if we should just add another example, or extend the example code that's in there right now |
Adds the TypeScript Hono component as it stands at the end of the wasmcloud.com quickstart's "Add persistent storage" step — the templates/http-hello-world-hono starting point plus wasi:keyvalue imports in wit/world.wit and the per-name counter in src/component.ts. The standard examples workflow picks it up via one new entry in the components matrix. The entry uses skip-wash-dev: true with an empty test-command, because the component imports wasi:keyvalue at runtime and wash dev doesn't auto-provision a keyvalue provider in CI. The build pass alone catches the drift this example exists to surface — template package.json's jco-std version vs. world.wit's wasi:http and wasi:keyvalue versions vs. what the adapter bundles. Replaces the earlier tests/quickstart/*.sh overlay + dedicated workflow draft per @vados-cosmonic's review on wasmCloud#668 — having the end-state code in-tree as an example obviates the need for a parallel CI mechanism. Signed-off-by: Eric Gregory <eric@cosmonic.com>
43d6a21 to
be28aff
Compare
ericgregory
commented
Jun 22, 2026
Contributor
Author
There was a problem hiding this comment.
Same redesign as on the Rust side (#5272) — you were definitely right that adding the quickstart-modified code as a regular example is much cleaner.
Contributor
|
Yeah it's going to be very nice to be able to just point at/link to this! |
vados-cosmonic
approved these changes
Jun 22, 2026
vados-cosmonic
left a comment
Contributor
There was a problem hiding this comment.
LGTM 🚀
Small nit about dep versions, but that can be left to a follow up!
| "hono": "^4.12.21" | ||
| }, | ||
| "devDependencies": { | ||
| "@bytecodealliance/jco": "^1.15.4", |
Contributor
There was a problem hiding this comment.
We should be able to safely update Jco to 1.24.3 here...
And also the other versions as well --
rolldown @ ^1.1.2
typescript @ ^6.0.3
rimraf @ ^6.1.3
nodemon @ ^3.1.14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the TypeScript Hono component as it stands at the end of the wasmcloud.com quickstart's Add persistent storage step for testing.
Companion PR
wasmCloud/wasmCloud#5272 does the same thing for the Rust side.