Skip to content

Commit 3fca3be

Browse files
Copilotkitsonk
andcommitted
Update copilot-instructions: JSR-only distribution, note deno.json exports
Co-authored-by: kitsonk <1282577+kitsonk@users.noreply.github.com>
1 parent 6c92344 commit 3fca3be

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ oak is a middleware framework for Deno's native HTTP server,
77
[Cloudflare Workers](https://workers.cloudflare.com/). It is inspired by
88
[Koa](https://github.com/koajs/koa/) and includes a middleware router inspired
99
by [@koa/router](https://github.com/koajs/router/). The package is distributed
10-
via [JSR](https://jsr.io/@oak/oak) and [npm](https://www.npmjs.com/package/@oakserver/oak).
10+
via [JSR](https://jsr.io/@oak/oak).
1111

1212
## Repository Structure
1313

@@ -52,4 +52,5 @@ All commands use the [Deno](https://deno.com/) toolchain (no `npm` or build step
5252
- **Tests**: Co-located `*.test.ts` files. Use `assertEquals`, `assertStrictEquals`, and
5353
`assertRejects` from `deps_test.ts`. Mock helpers are defined locally within test files.
5454
- **Error handling**: Use the `errors` object from `deps.ts` for HTTP error classes.
55-
- **Exports**: All public symbols are re-exported from `mod.ts`.
55+
- **Exports**: All public symbols are re-exported from `mod.ts`. The `deno.json`
56+
`exports` field also defines the package entry points for JSR publishing.

0 commit comments

Comments
 (0)