Commit Graph

212 Commits (a2409d23140b254a3938d5bdd645e872a6ce3218)

Author SHA1 Message Date
Yusuke Wada 7c6a860814
chore: update the lockfile (#1226) 2025-06-14 06:05:24 +09:00
Colin Ozanne be73703184
feat: introduce UA Blocker Middleware (#1181)
* feat: create AI bot blocker middleware

* chore: add changeset

* fix: uppercase function called too late

* chore: don't version-control robots.json

* chore: track `robots.json`

* ci: add `@hono/ai-robots-txt` workflow script

* fix: change initial version

* feat: add automatic `robots.json` sync from upstream

* feat!: change package name and architecture

* refactor(ua-blocker): prebuild compiled regex (#1)

* fix: add json data files to tsconfig

* chore: rename workflow files

* fix: test if string _contains_ "Yes"

It might be a markdown link, so not the exact string, but "[Yes](<link>)"

* fix: tests reflect the fixed "Yes" check

* feat: move generator back to prebuild

generated regex should use the version-controled robots.json, not
directly the upstream file

* chore: add .zed

* chore: remove unused files

* fix: properly setup workspace before running scripts

* chore: remove `prebuild` script from `build`, `typecheck`, and `test`

* chore: run `getrobotstxt` and `prebuild`

* fix: export `RegExp`s, not `string[]`s

* chore: mention RegExp and uppercase matching in docs

* fix: adapt tests to regex exports

* chore: add tests for direct regex passing

* chore: format code

---------

Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
2025-06-14 06:00:42 +09:00
Yusuke Wada bb56b3176e
chore: update the lockfile (#1224) 2025-06-14 05:51:27 +09:00
Max Gerber ede1aaff4f
feat: Stytch Authentication middleware (#1186)
* feat: Stytch Authentication middlewares

* Add changeset

* Better README

* Refresh yarn.lock

* fix: Remove unused dev deps, linter

* README and light renaming

* Remove ci-stytch-auth workflow

* rerun prettier

* add troubleshooting to readme
2025-06-14 05:48:00 +09:00
Jonathan Haines b73b7aed29
chore: update yarn to v4.9.2 (#1219) 2025-06-13 05:21:52 +09:00
Jonathan Haines a7ee664c98
ci: what changed (#1212) 2025-06-11 19:15:16 +09:00
Jonathan Haines 3c70dcd6ae
chore: update hono (#1185) 2025-06-02 05:06:04 +09:00
Yusuke Wada 5c3f61f889
feat(zod-validator): update peerDependency to Zod `^3.25.0` and fix the types (#1180)
* feat(zod-validator): update peerDependency to Zod ^3.25.0 and fix type compatibility

* add changeset
2025-05-30 10:40:47 +09:00
Yusuke Wada a62b59f450
feat(zod-validator): support Zod v4 (#1173)
* feat(zod-validator): support Zod v4

* changeset

* oops. using `any`

* remove the not used value

* [wip] support both v3 and v4

* update

* avoid the type error on build

* remove unnecessary `unknown`

* fixed type and add test

* avoid the type error

* rename the test

* don't use `schema instanceof ZodObject`

* update README

* use released `3.25.6`

* changeset

* use `zod` instead of `zod/v3`

* don't update the peerDependencies

* use both v3 and v4 types if Zod has v4

* fix ZodError

* fixed

* update lock file

* update README

* remove unnecessary cast
2025-05-27 17:47:54 +09:00
Nicholas Dobie 7717755dd3
feat(bun-compress): Created a compress middleware that supports Bun (#1153)
* feat(bun-compress): Created a compress middlware that supports Bun

* fix(bun-compress): spelling mistake in readme

* fix(bun-compress): package description

* fixed package.json
2025-05-13 07:15:11 +09:00
Daniel Tao 63a9dff2b9
chore(zod-openapi): lock zod-to-openapi to `^7.3.0` to fix `z.custom` (#1127)
* chore(zod-openapi): lock zod-to-openapi to `^7.3.0` to fix schemas using `z.custom`

* add changeset
2025-04-18 07:30:36 +09:00
Yusuke Wada 684ae9a21d
feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream` (#1119)
* feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream`

* changeset
2025-04-11 07:43:03 +09:00
chimame 26d0efb036
chore(conform-validator): Change conform valibot adapter to official library (#1114) 2025-04-09 19:08:21 +09:00
Jonathan Haines 1fd8ebf9b6
feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
Jonathan Haines e8512f0ee9
build: typescript project references (#1077)
* build: typescript project references

* chore: remove duplicate keys
2025-04-02 18:28:02 +09:00
Jonathan Haines b18f24379b
chore(dev-deps): upgrade to hono v4 (#1092)
* chore(dev-deps): upgrade to hono v4

* chore(zod-openapi): build workspace dependencies

* chore(trpc-server): ignore null body type
2025-03-31 18:20:57 +09:00
Jonathan Haines 9a536e6abb
ci: run eslint in each workflow (#1083) 2025-03-30 11:28:44 +09:00
Aditya Mathur 0d6c13b1a3
feat: updated @hono/eslint-config package (#1031)
* chore(eslint-config): update dependencies and improve configuration

* chore(eslint-config): replace @typescript-eslint packages with typescript-eslint

* chore: completed changes suggested by @BarryThePenguin

* chore: updated the repo eslint config

* chore: updated the lockfile

* feat: added ci and minor changes

* chore: updated the eslint version in package.json

* chore: updated the lockfile

* add changeset

* `@ryoppippi/unplugin-typia` as devDependencies

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-29 08:18:02 +09:00
Jonathan Haines 4f9bb1dd8e
test: move tests to src directory (#1075)
* test(react-renderer): move tests to src directory

* test: move tests to src directory

* test: ensure vitest-pool-workers is installed at the root
2025-03-28 18:50:19 +09:00
Jonathan Haines 5fac2ef09c
build(react-renderer): lint published package (#1058)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:49:10 +09:00
Jonathan Haines bf16ecc7a3
build(sentry): lint published package (#1059)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:36:00 +09:00
Jonathan Haines cee0c83bc8
build(react-compat): lint published package (#1060) 2025-03-27 15:33:45 +09:00
Jonathan Haines d911e624a8
build(standard-validator): lint published package (#1061)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-27 15:30:30 +09:00
Yusuke Wada 6f66ea3559
chore: update the lockfile (#1074) 2025-03-27 15:25:20 +09:00
Jonathan Haines 93b544fba0
build(swagger-ui): lint published package (#1063) 2025-03-27 15:21:50 +09:00
Jonathan Haines 6a69f92bc1
build(valibot-validator): lint published package (#1068) 2025-03-27 15:21:17 +09:00
Jonathan Haines 780cb787d1
build(typia-validator): lint published package (#1067) 2025-03-27 15:18:15 +09:00
Yusuke Wada 0e43d03cd4
chore: update the lockfile (#1073) 2025-03-27 15:13:19 +09:00
Jonathan Haines c39d47d6f0
build(zod-validator): lint published package (#1070) 2025-03-27 15:09:49 +09:00
Jonathan Haines ff2c1cd2fc
build(zod-openapi): lint published package (#1069) 2025-03-27 15:08:49 +09:00
Jonathan Haines 568f407452
build(typebox-validator): lint published package (#1066) 2025-03-27 15:06:50 +09:00
Jonathan Haines 85e67a12c0
build(tsyringe): lint published package (#1065) 2025-03-27 13:13:54 +09:00
Jonathan Haines d9671a5891
build(trpc-server): lint published package (#1064) 2025-03-27 13:07:16 +09:00
Jonathan Haines ee540d95fe
build(swagger-editor): lint published package (#1062) 2025-03-27 13:05:11 +09:00
Jonathan Haines 5234436db8
build(oidc-auth): lint published package (#1054)
* build(oidc-auth): lint published package

* build(oidc-auth): include require condition in subpath exports
2025-03-27 12:56:33 +09:00
Jonathan Haines 7c0f04486d
build(qwik-city): lint published package (#1057)
* build(qwik-city): lint published package

* ci(qwik-city): add workflow to run build and publint
2025-03-27 12:32:05 +09:00
Jonathan Haines ee53464b87
build(prometheus): lint published package (#1056) 2025-03-27 11:43:10 +09:00
Jonathan Haines c0ee9a4f5a
build(otel): lint published package (#1055) 2025-03-27 11:38:15 +09:00
Yusuke Wada 33c3faae59
chore: update the lockfile (#1072) 2025-03-27 11:34:20 +09:00
Jonathan Haines 8424b1d420
build(oauth-providers): lint published package (#1053) 2025-03-27 11:30:17 +09:00
Jonathan Haines 3d7d482aff
build(node-ws): lint published package (#1052) 2025-03-27 11:23:05 +09:00
Jonathan Haines bcbb7e01c5
build(medley-router): lint published package (#1051) 2025-03-27 11:21:43 +09:00
Jonathan Haines 5792504bdf
build(hello): lint published package (#1050) 2025-03-27 11:20:23 +09:00
Jonathan Haines 00011f9fe5
build(graphql-server): lint published package (#1049) 2025-03-27 11:17:41 +09:00
Jonathan Haines d905d009fe
build(firebase-auth): lint published package (#1048) 2025-03-27 11:14:58 +09:00
Jonathan Haines aab396f7ea
build(esbuild-transpiler): lint published package (#1046)
* build(esbuild-transpiler): lint published package

* chore: fix repository directory reference
2025-03-27 11:06:41 +09:00
Yusuke Wada 738f1da5db
chore: update the lockfile (#1071) 2025-03-27 11:02:11 +09:00
Jonathan Haines 2514e03382
build(event-emitter): lint published package (#1047) 2025-03-27 10:59:12 +09:00
Jonathan Haines 2939ab7493
build(effect-validator): lint published package (#1045) 2025-03-27 10:56:28 +09:00
Jonathan Haines bf4d315e5a
build(conform-validator): lint published package (#1044) 2025-03-27 10:55:22 +09:00