JSR is Deno's native registry, and @green-tea/core is absent from it (jsr.io/@green-tea/core → 404) while Hono and Oak are both there. For a framework whose pitch includes running on Deno, that is the wrong place to be missing.
Not blocking and not critical. Nothing here justifies cutting a release on its own — these fixes should ride along with the next version cut for a real reason.
What I verified with deno publish --dry-run
Rather than reading the rules and guessing, I ran the real thing against a copy of the repo. Two fears turned out to be unfounded:
Result
Legacy decorators
✅ warning only, not an error. The whole argument-injection API survives.
ESM only (JSR rejects CommonJS)
✅src/ passes module analysis; the CJS build is only output.
Type check
❌ 1 error
Slow types
❌ 17 errors, in 2 files
--no-check --allow-slow-types
✅Success — Dry run complete
So it publishes today if we hold our nose. The work is in not holding it.
1. Type error — worth fixing regardless of JSR
TS2345: Argument of type 'string | Buffer<ArrayBufferLike> | null' is not
assignable to parameter of type 'BodyInit | null | undefined'.
--> src/http/web.ts:112:23
return new Response(body, { status: result.outcome.status, headers });
Buffer is not a valid BodyInit under Deno's lib. This is the app.fetch path — Deno, Bun and edge. It may work at runtime because the implementations are forgiving, but it is exactly the sort of thing a Deno user reports as a bug, and it is a genuine typing hole in the runtime-agnostic path.
2. Slow types — 17, mechanical, in 2 files
src/metadata.ts — 11
src/params.ts — 6
Two shapes:
error[missing-explicit-return-type] src/metadata.ts:103 function routeDecorator(...)
error[missing-explicit-return-type] src/params.ts:35 function envelope(...)
error[missing-explicit-type] src/metadata.ts:126 export const Get = routeDecorator('GET', 'buffer');
Fix them rather than passing --allow-slow-types. That flag degrades generated type declarations and makes type checking 1.5–2x slower for consumers — in the framework whose central claim is type safety. Shipping it would contradict the pitch on its own install page.
3. Claim the scope
@green-tea on jsr.io has to be claimed with a GitHub account. That step is Diego's and cannot be delegated.
Then
deno publish needs name, version and exports in deno.json. Auth is either an interactive browser flow or GitHub Actions OIDC — the latter fits the existing release workflow, so JSR could publish from the same tag that publishes to npm.
Worth deciding at that point whether all four entry points (., ./deno, ./bun, ./edge) get exported, or only the Deno one.
Why it matters beyond tidiness
The promotion plan puts content examples at 40% Deno. Being absent from Deno's native registry kills conversion at the exact moment the interest was generated — someone reads a Deno-first post, goes to install, and the native path is not there.
JSR is Deno's native registry, and `@green-tea/core` is absent from it (`jsr.io/@green-tea/core` → 404) while Hono and Oak are both there. For a framework whose pitch includes running on Deno, that is the wrong place to be missing.
**Not blocking and not critical.** Nothing here justifies cutting a release on its own — these fixes should ride along with the next version cut for a real reason.
## What I verified with `deno publish --dry-run`
Rather than reading the rules and guessing, I ran the real thing against a copy of the repo. Two fears turned out to be unfounded:
| | Result |
|---|---|
| **Legacy decorators** | ✅ warning only, not an error. The whole argument-injection API survives. |
| **ESM only** (JSR rejects CommonJS) | ✅ `src/` passes module analysis; the CJS build is only output. |
| Type check | ❌ 1 error |
| Slow types | ❌ 17 errors, in **2 files** |
| `--no-check --allow-slow-types` | ✅ `Success — Dry run complete` |
So it publishes today if we hold our nose. The work is in not holding it.
## 1. Type error — worth fixing regardless of JSR
```
TS2345: Argument of type 'string | Buffer<ArrayBufferLike> | null' is not
assignable to parameter of type 'BodyInit | null | undefined'.
--> src/http/web.ts:112:23
return new Response(body, { status: result.outcome.status, headers });
```
`Buffer` is not a valid `BodyInit` under Deno's lib. This is the `app.fetch` path — Deno, Bun **and** edge. It may work at runtime because the implementations are forgiving, but it is exactly the sort of thing a Deno user reports as a bug, and it is a genuine typing hole in the runtime-agnostic path.
## 2. Slow types — 17, mechanical, in 2 files
- `src/metadata.ts` — 11
- `src/params.ts` — 6
Two shapes:
```
error[missing-explicit-return-type] src/metadata.ts:103 function routeDecorator(...)
error[missing-explicit-return-type] src/params.ts:35 function envelope(...)
error[missing-explicit-type] src/metadata.ts:126 export const Get = routeDecorator('GET', 'buffer');
```
**Fix them rather than passing `--allow-slow-types`.** That flag degrades generated type declarations and makes type checking 1.5–2x slower for consumers — in the framework whose central claim is type safety. Shipping it would contradict the pitch on its own install page.
## 3. Claim the scope
`@green-tea` on jsr.io has to be claimed with a GitHub account. That step is Diego's and cannot be delegated.
## Then
`deno publish` needs `name`, `version` and `exports` in `deno.json`. Auth is either an interactive browser flow or GitHub Actions OIDC — the latter fits the existing release workflow, so JSR could publish from the same tag that publishes to npm.
Worth deciding at that point whether all four entry points (`.`, `./deno`, `./bun`, `./edge`) get exported, or only the Deno one.
## Why it matters beyond tidiness
The promotion plan puts content examples at 40% Deno. Being absent from Deno's native registry kills conversion at the exact moment the interest was generated — someone reads a Deno-first post, goes to install, and the native path is not there.
Clarifying the decorator point, because above it reads as an open question and it is not.
The why is already documented in the README's Why legacy decorators section: argument injection (@param, @query, @body, @needs, @inbound) relies on parameter decorators, and the TC39 Stage 3 proposal deliberately leaves them out. There is no standards-track path today, and Stage 3 does not mean finalized either — it is being tracked, and will be revisited if a viable path appears.
What the dry run adds is the other half: JSR accepts them. It emits only Warning: experimentalDecorators compiler option is deprecated, not an error, and analysis continues through type checking and slow types.
That matters because it was the risk of JSR being ruled out from the start. It is not: the decorator decision closes no distribution door.
Clarifying the decorator point, because above it reads as an open question and it is not.
The **why** is already documented in the README's [*Why legacy decorators*](https://github.com/Expressive-Tea/green-tea#why-legacy-decorators) section: argument injection (`@param`, `@query`, `@body`, `@needs`, `@inbound`) relies on **parameter decorators**, and the TC39 Stage 3 proposal deliberately leaves them out. There is no standards-track path today, and Stage 3 does not mean finalized either — it is being tracked, and will be revisited if a viable path appears.
What the dry run adds is the other half: **JSR accepts them.** It emits only `Warning: experimentalDecorators compiler option is deprecated`, not an error, and analysis continues through type checking and slow types.
That matters because it was the risk of JSR being ruled out from the start. It is not: the decorator decision closes no distribution door.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
JSR is Deno's native registry, and
@green-tea/coreis absent from it (jsr.io/@green-tea/core→ 404) while Hono and Oak are both there. For a framework whose pitch includes running on Deno, that is the wrong place to be missing.Not blocking and not critical. Nothing here justifies cutting a release on its own — these fixes should ride along with the next version cut for a real reason.
What I verified with
deno publish --dry-runRather than reading the rules and guessing, I ran the real thing against a copy of the repo. Two fears turned out to be unfounded:
src/passes module analysis; the CJS build is only output.--no-check --allow-slow-typesSuccess — Dry run completeSo it publishes today if we hold our nose. The work is in not holding it.
1. Type error — worth fixing regardless of JSR
Bufferis not a validBodyInitunder Deno's lib. This is theapp.fetchpath — Deno, Bun and edge. It may work at runtime because the implementations are forgiving, but it is exactly the sort of thing a Deno user reports as a bug, and it is a genuine typing hole in the runtime-agnostic path.2. Slow types — 17, mechanical, in 2 files
src/metadata.ts— 11src/params.ts— 6Two shapes:
Fix them rather than passing
--allow-slow-types. That flag degrades generated type declarations and makes type checking 1.5–2x slower for consumers — in the framework whose central claim is type safety. Shipping it would contradict the pitch on its own install page.3. Claim the scope
@green-teaon jsr.io has to be claimed with a GitHub account. That step is Diego's and cannot be delegated.Then
deno publishneedsname,versionandexportsindeno.json. Auth is either an interactive browser flow or GitHub Actions OIDC — the latter fits the existing release workflow, so JSR could publish from the same tag that publishes to npm.Worth deciding at that point whether all four entry points (
.,./deno,./bun,./edge) get exported, or only the Deno one.Why it matters beyond tidiness
The promotion plan puts content examples at 40% Deno. Being absent from Deno's native registry kills conversion at the exact moment the interest was generated — someone reads a Deno-first post, goes to install, and the native path is not there.
Clarifying the decorator point, because above it reads as an open question and it is not.
The why is already documented in the README's Why legacy decorators section: argument injection (
@param,@query,@body,@needs,@inbound) relies on parameter decorators, and the TC39 Stage 3 proposal deliberately leaves them out. There is no standards-track path today, and Stage 3 does not mean finalized either — it is being tracked, and will be revisited if a viable path appears.What the dry run adds is the other half: JSR accepts them. It emits only
Warning: experimentalDecorators compiler option is deprecated, not an error, and analysis continues through type checking and slow types.That matters because it was the risk of JSR being ruled out from the start. It is not: the decorator decision closes no distribution door.