Commit Graph

7 Commits (cf3c17e3d17f5b3d04b79586a7b497926c996693)

Author SHA1 Message Date
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 c97fcf08b2
chore: add Claude Code local files to gitignore (#1179)
Add CLAUDE.local.md and settings.local.json to gitignore to prevent
committing Claude Code local configuration files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-05-29 19:59:38 +09:00
Jonathan Haines deeeac9e1c
lint: array-type (#1165)
* lint: array-type

* format

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-19 16:00:53 +09:00
Kei Kamikawa c9f110d4e0
feat(firebase-auth): added a new middleware to verify session with firebase-auth (#402)
* fix(firebase-auth): updated firebase-auth-cloudflare-workers

* add(firebase-auth): added a new `verifySessionCookieFirebaseAuth` middleware to verify w/ session cookie
2024-02-24 22:35:24 +09:00
Yusuke Wada fb0a701193 chore(gitignore): ignore `coverage` 2024-02-02 23:17:42 +09:00
Yusuke Wada bd18b966ee
chore: migrate to `yarn v4` (#299)
* changeset

* chore: migrate to `yarn v4`

* remove changeset

* fixed Github Actions for `hello`

* fix gitignore

* add dependencies

* add ci for oauth-providers

* add dependencies

* add `publint`

* update msw
2023-12-13 15:54:00 +09:00
Yusuke Wada f8df40d00c initial commit 2022-10-16 17:52:21 +09:00