| Filename | Latest commit message | Latest commit date |
|---|---|---|
* fix(use-mcp): connect to mcp fails with handleMessage function * Upping the SDK version cooks every test * checking out neighbouring SDK * Getting more random port collisions locally :/ I will fix this properly... eventually. * Running `wrangler types` on example servers * Updated to SDK v1.13.2 * prettier --------- Co-authored-by: ksankaran <kv.coder@gmail.com> Co-authored-by: Glen Maddern <glen@glenmaddern.com> |
||
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
| worker-configuration.d.ts | ||
| wrangler.jsonc | ||
npm install
npm run dev
npm run deploy
For generating/synchronizing types based on your Worker configuration run:
npm run cf-typegen
Pass the CloudflareBindings as generics when instantiation Hono:
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()