Commit Graph

101 Commits (main)

Author SHA1 Message Date
Jonathan Haines 9235709060
refactor: composite build (#1230)
* refactor: composite build

* chore(ua-blocker): move demo.ts out of src
2025-06-16 11:23:47 +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
Jonathan Haines 44b1c24b95
chore(zod-validator): run prettier to fix CI (#1221)
* chore(zod-validator): run prettier to fix CI

* ci: fix changed packages
2025-06-13 16:18:23 +09:00
Jonathan Haines a7ee664c98
ci: what changed (#1212) 2025-06-11 19:15:16 +09:00
Jonathan Haines d29f2cbdc6
test(bun-compress): fix vitest config (#1164)
* test(bun-compress): fix vitest config

* ci(bun-compress): add workflow
2025-05-15 22:41:48 +09:00
Shotaro Nakamura 0debb59474
ci: add codestyle ci (#1149) 2025-05-02 16:51:42 +09:00
Jonathan Haines bebdfa2a88
ci(release): yarn config set npmAuthToken (#1117) 2025-04-09 19:25:08 +09:00
Jonathan Haines 73c899bc81
ci(release): restore build during release (#1116) 2025-04-09 18:59:58 +09:00
Jonathan Haines ad4622a853
fix(zod-openapi): republish without workspace reference (#1111)
fixes #1109
2025-04-09 18:37:30 +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 8d663e4f9b
ci: use node v20 (#1076) 2025-03-29 07:59:31 +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
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
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
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
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
Jonathan Haines f4e4b8a2ee
build(cloudflare-access): lint published package (#1043) 2025-03-27 10:51:56 +09:00
Jonathan Haines 243a73c41c
build(clerk-auth): lint published package (#1042) 2025-03-27 10:48:09 +09:00
Jonathan Haines aad0ec86b3
build(class-validator): lint published package (#1041) 2025-03-27 10:38:31 +09:00
Jonathan Haines 3b9d2d2990
build(auth-js): lint published package (#1034)
* build(auth-js): lint published package

* ci(auth-js): run publint

* build(auth-js): remove no splitting flag
2025-03-25 08:57:15 +09:00
Jonathan Haines 28ff8ed22d
ci(bun-transpiler): run publint (#1035) 2025-03-24 19:58:05 +09:00
Jonathan Haines 2a6c7f0202
build(casbin): lint published package (#1036) 2025-03-24 19:48:37 +09:00
Jonathan Haines 6e268318bf
build(arktype-validator): lint published package (#1033)
* build(arktype-validator): lint published package

* ci(arktype-validator): run publint
2025-03-24 19:46:35 +09:00
Jonathan Haines 67d0186fb4
build(ajv-validator): lint published package (#1030) 2025-03-24 17:51:26 +09:00
Jonathan Haines 783a082c12
chore: add coverage badges (#1023)
* chore: add coverage badges

* ci(casbin): fix spelling
2025-03-19 17:53:11 +09:00