Commit Graph

34 Commits (7c6a8608149040e34c29c80b15c8ec72077993b6)

Author SHA1 Message Date
Jonathan Haines c880649458
refactor: enable isolated declarations (#1209) 2025-06-09 19:00:20 +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 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
Yusuke Wada 0e43d03cd4
chore: update the lockfile (#1073) 2025-03-27 15:13:19 +09:00
Jonathan Haines d9671a5891
build(trpc-server): lint published package (#1064) 2025-03-27 13:07:16 +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
Jonathan Haines 4d67af162f
test(workspace): upgrade to vitest v3 (#1009)
* test(workspace): upgrade to vitest v3

Fixes #1007

* chore(standard-validator): add vitest type to `tsconfig.json`

* chore: update `yarn.lock`

* chore(zod-openapi): bump `typescript`

* chore(typia-validator): make it ESM

* ci(bun-transpiler): fix Bun to v1.1.32

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +09:00
Jonathan Haines 5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` (#998)
* docs(contributing): add section on testing

Fixes #994

* test(clerk-auth): replace jest with vitest

* test(graphql-server): replace jest with vitest

* test(medley-router): replace jest with vitest

* test(oauth-providers): replace jest with vitest

* test(oidc-auth): replace jest with vitest

* test(sentry): replace jest with vitest

* test(trpc-server): replace jest with vitest

* test(typebox-validator): replace jest with vitest

* test(typia-validator): replace jest with vitest

* test(valibot-validator): replace jest with vitest

* chore: cleanup remaining references to jest

* chore: fix lint errors

* test(typia-validator): fix exclude directory

* test(oauth-providers): use vitest environment miniflare

* chore: update `yarn.lock`

* chore(zod-openapi): pin zod-validator to 0.4.2

* test(graphql-server): remove console filtering

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00:28 +09:00
github-actions[bot] 21403ec5c0
Version Packages (#867) 2024-12-03 10:06:18 +09:00
Gaubee d67e279d82
fix(trpc-server) The Request.url getter can only be used on instances of Request (#864) 2024-12-03 09:59:58 +09:00
github-actions[bot] 71c1e669e2
Version Packages (#862) 2024-12-02 10:13:22 +09:00
Gaubee ee83665c5e
feat: Use honoReq's bodyCache to provide a body function for trpc's req (#850)
Some middleware (in createContext) may need to read the body. If the raw request instance is provided directly, the body will be consumed prematurely, blocking the development of middleware.
2024-12-02 10:08:18 +09:00
github-actions[bot] f05860486c
Version Packages (#604) 2024-07-01 16:53:39 +09:00
Rahul Mishra 43f34ea4dc
chore: update `@hono/trpc-server` to allow using Trpc 11 (#599) 2024-07-01 16:51:09 +09:00
Luis Cadillo f5ef5ac97d
docs(trpc): add custom endpoint configuration example (#538)
This PR adds documentation for configuring custom endpoints with the @hono/trpc-server middleware. Ensuring the endpoint parameter matches the middleware's path helps avoid issues like the one described in [honojs/middleware#166](https://github.com/honojs/middleware/issues/166).
2024-05-23 22:03:33 +09:00
github-actions[bot] cd0a2ce6c0
Version Packages (#526) 2024-05-16 07:27:17 +09:00
Rahul Mishra 8f669cd338
feat(trpc-server): use c.body to create response to avoid header loss (#517) 2024-05-16 07:16:16 +09:00
Yusuke Wada 7ab462dbc4
refactor: format (#497) 2024-05-04 11:33:29 +09:00
github-actions[bot] 319b955c74
Version Packages (#484) 2024-04-29 13:07:35 +09:00
Jikyu Choi 4446eeeb9f
fix(trpc-server): Support asynchronous context creation (#482)
* Support asynchronous context generation

* Added changeset
2024-04-29 13:04:45 +09:00
github-actions[bot] 9c98a73405
Version Packages (#480) 2024-04-27 17:33:56 +09:00
Benjamín Eidelman 2526e1e685
feat(trpc): access hono context from trpc procedures (#458)
* trpc: access hono context from trpc procedures

* chore: Add changeset
2024-04-27 11:46:09 +09:00
github-actions[bot] 599e5f5058
Version Packages (#382) 2024-02-10 08:47:06 +09:00
Carlos Ricardo Ziegler ea19f6bdeb
fix: change peer dependency to support v4.0.0 (#380)
* chore: Update hono peer dependency to support v4.0.0

* chore: Update hono peer dependency to support v4.0.0 in some packages

* update `yarn.lock`

* add changeset

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-10 08:44:21 +09:00
Yusuke Wada ee12e3c08a
chore: bump hono to `3.11.7` (#311) 2023-12-14 18:33:01 +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
github-actions[bot] 148f114cb6
Version Packages (#51) 2023-02-18 23:39:44 +09:00
Yusuke Wada b9e383fa88
feat(trpc-server): bump up Hono version "v3" (#50)
* feat(trpc-server): bump up Hono version "v3"

* add changeset
2023-02-18 23:37:25 +09:00
github-actions[bot] c8b9d1ef67
Version Packages (#43) 2023-02-12 14:54:35 +09:00
Alex Errant 520a453195
tRPCOptions extends `FetchHandlerRequestOptions`-ish (#42)
* tRPCOptions extends `FetchHandlerRequestOptions`-ish

* nix spaces

* add changeset
2023-02-12 14:44:06 +09:00
github-actions[bot] 3af288add5
Version Packages (#37) 2023-02-04 23:39:29 +09:00
Yusuke Wada e7c60b3492
feat: introduce tRPC server middleware (#36)
* feat: introduce tRPC server middleware

* chore: add changeset
2023-02-04 23:37:15 +09:00