* Add WebSocketServer instance return to createNodeWebSocket
This change introduces the return of the WebSocketServer instance from the createNodeWebSocket function, enhancing its usability by allowing consumers access to the WebSocketServer instance for additional operations.
- Updated tests to verify the returned WebSocketServer instance
- Added wss property to NodeWebSocket interface for type safety
* style
* feat: added hono/mcp package
* chore: changeset
* chore: minor changes
* chore: minor changes
* chore: formated the code
* chore: minor correction
* chore: removed changelog file
* chore: changed the class name
* chore: updated the readme
* fix: closed the stream
* chore: minor change
* fix: added an interval to keep the connection alive and merge 2 streams into a single one
* chore: updated lockfile
* fix: stupid mistake 😅
* chore: formatted the README.md file
* chore: minor change
* chore: minor changes
* chore: minor change
* add an explicit return type annotation
* format the code
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
* chore: Prettier should operate on all files
* Update package.json
Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
---------
Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
* 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>