mirror of
https://github.com/honojs/hono.git
synced 2024-11-22 02:27:49 +01:00
1b2a4c0800
* feat(jsr): reduce slow types (#2369) * feat(jsr): reduce slow types * fix: use allow function * chore: format code * chore: denoify * add `deno.json` * add `jsr-dry-run` command for CI * don't put `JSX` on `global` * fix test settings for deno * don't use `dynamicClass` * don't declare `ExecutionContext` in `global` * goodbye denoify * exports `./middleware` * exports `./helper` * exports each helper and middleware * remove the `awslambda` implementation which is not enough * feat(jsr): remove helper.ts and middleware.ts (#2667) * feat(jsr): remove helper.ts and middleware.ts * fix: fix test * dont' use `SuperClass` Co-authored-by: Taku Amano <taku@taaas.jp> * feat(jsr): delete `mod.ts` (#2669) * rename `deno.json` to `jsr.json` * lint * remove slow type in lambda adapter * fixed runtime test for deno * export all utils * add a GitHub action to publish the package to JSR * fixed declaring `ContextVariableMap` * fixed the type error * include `jsr.json` in `jsr.json` * update `jsr.json` --------- Co-authored-by: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Co-authored-by: Taku Amano <taku@taaas.jp>
103 lines
4.2 KiB
JSON
103 lines
4.2 KiB
JSON
{
|
|
"name": "@hono/hono",
|
|
"version": "0.0.0",
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"deno.ns"
|
|
]
|
|
},
|
|
"unstable": [
|
|
"sloppy-imports"
|
|
],
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./types": "./src/types.ts",
|
|
"./hono-base": "./src/hono-base.ts",
|
|
"./tiny": "./src/preset/tiny.ts",
|
|
"./quick": "./src/preset/quick.ts",
|
|
"./http-exception": "./src/http-exception.ts",
|
|
"./basic-auth": "./src/middleware/basic-auth/index.ts",
|
|
"./bearer-auth": "./src/middleware/bearer-auth/index.ts",
|
|
"./body-limit": "./src/middleware/body-limit/index.ts",
|
|
"./cache": "./src/middleware/cache/index.ts",
|
|
"./cookie": "./src/helper/cookie/index.ts",
|
|
"./accepts": "./src/helper/accepts/index.ts",
|
|
"./compress": "./src/middleware/compress/index.ts",
|
|
"./cors": "./src/middleware/cors/index.ts",
|
|
"./csrf": "./src/middleware/csrf/index.ts",
|
|
"./etag": "./src/middleware/etag/index.ts",
|
|
"./trailing-slash": "./src/middleware/trailing-slash/index.ts",
|
|
"./html": "./src/helper/html/index.ts",
|
|
"./css": "./src/helper/css/index.ts",
|
|
"./jsx": "./src/jsx/index.ts",
|
|
"./jsx/jsx-dev-runtime": "./src/jsx/jsx-dev-runtime.ts",
|
|
"./jsx/jsx-runtime": "./src/jsx/jsx-runtime.ts",
|
|
"./jsx/streaming": "./src/jsx/streaming.ts",
|
|
"./jsx-renderer": "./src/middleware/jsx-renderer/index.ts",
|
|
"./jsx/dom": "./src/jsx/dom/index.ts",
|
|
"./jsx/dom/jsx-dev-runtime": "./src/jsx/dom/jsx-dev-runtime.ts",
|
|
"./jsx/dom/jsx-runtime": "./src/jsx/dom/jsx-runtime.ts",
|
|
"./jsx/dom/css": "./src/jsx/dom/css.ts",
|
|
"./jwt": "./src/middleware/jwt/jwt.ts",
|
|
"./timing": "./src/middleware/timing/timing.ts",
|
|
"./logger": "./src/middleware/logger/index.ts",
|
|
"./method-override": "./src/middleware/method-override/index.ts",
|
|
"./powered-by": "./src/middleware/powered-by/index.ts",
|
|
"./pretty-json": "./src/middleware/pretty-json/index.ts",
|
|
"./secure-headers": "./src/middleware/secure-headers/secure-headers.ts",
|
|
"./ssg": "./src/helper/ssg/index.ts",
|
|
"./streaming": "./src/helper/streaming/index.ts",
|
|
"./validator": "./src/validator/index.ts",
|
|
"./router": "./src/router.ts",
|
|
"./router/reg-exp-router": "./src/router/reg-exp-router/index.ts",
|
|
"./router/smart-router": "./src/router/smart-router/index.ts",
|
|
"./router/trie-router": "./src/router/trie-router/index.ts",
|
|
"./router/pattern-router": "./src/router/pattern-router/index.ts",
|
|
"./router/linear-router": "./src/router/linear-router/index.ts",
|
|
"./client": "./src/client/index.ts",
|
|
"./adapter": "./src/helper/adapter/index.ts",
|
|
"./factory": "./src/helper/factory/index.ts",
|
|
"./serve-static": "./src/middleware/serve-static/index.ts",
|
|
"./cloudflare-workers": "./src/adapter/cloudflare-workers/index.ts",
|
|
"./cloudflare-pages": "./src/adapter/cloudflare-pages/index.ts",
|
|
"./deno": "./src/adapter/deno/index.ts",
|
|
"./bun": "./src/adapter/bun/index.ts",
|
|
"./aws-lambda": "./src/adapter/aws-lambda/index.ts",
|
|
"./vercel": "./src/adapter/vercel/index.ts",
|
|
"./netlify": "./src/adapter/netlify/index.ts",
|
|
"./lambda-edge": "./src/adapter/lambda-edge/index.ts",
|
|
"./testing": "./src/helper/testing/index.ts",
|
|
"./dev": "./src/helper/dev/index.ts",
|
|
"./ws": "./src/helper/websocket/index.ts",
|
|
"./utils/body": "./src/utils/body.ts",
|
|
"./utils/buffer": "./src/utils/buffer.ts",
|
|
"./utils/color": "./src/utils/color.ts",
|
|
"./utils/concurrent": "./src/utils/concurrent.ts",
|
|
"./utils/cookie": "./src/utils/cookie.ts",
|
|
"./utils/crypto": "./src/utils/crypto.ts",
|
|
"./utils/encode": "./src/utils/encode.ts",
|
|
"./utils/filepath": "./src/utils/filepath.ts",
|
|
"./utils/handler": "./src/utils/handler.ts",
|
|
"./utils/html": "./src/utils/html.ts",
|
|
"./utils/http-status": "./src/utils/http-status.ts",
|
|
"./utils/jwt": "./src/utils/jwt/index.ts",
|
|
"./utils/mime": "./src/utils/mime.ts",
|
|
"./utils/stream": "./src/utils/stream.ts",
|
|
"./utils/types": "./src/utils/types.ts",
|
|
"./utils/url": "./src/utils/url.ts"
|
|
},
|
|
"publish": {
|
|
"include": [
|
|
"jsr.json",
|
|
"LICENSE",
|
|
"README.md",
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts",
|
|
"src/**/*.test.tsx"
|
|
]
|
|
}
|
|
} |