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]
a2fdda7f6f
Version Packages ( #969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-15 10:44:19 +09:00
Yusuke Wada
b65d5a5861
fix(zod-validator): fix commonjs import problem ( #968 )
...
* fix(zod-validator): fix commonjs import problem
* add changeset
2025-02-15 10:40:26 +09:00
Farhad Faraji
8a2d4651b0
docs(zod-validator) - Update README.md to include an example with a custom validator wrapper for improved type inference ( #922 )
...
* docs: add custom validator example for improved type inference
* Update README.md - removed default value of target
2025-01-05 18:04:45 +09:00
Yusuke Wada
7a401b0850
chore: use the latest eslint and `@hono/eslint-config` ( #904 )
...
* chore: use the latest eslint and `@hono/eslint-config`
* update codes
2024-12-25 18:08:43 +09:00
ktKongTong
755d5cb84d
docs(zod-validator): add usage docs for `zErrValidator` ( #900 )
...
* docs(zod-validator): add usage docs for `zErrValidator`, throw a validating error instead of directly returning an error response. (#890 )
* docs(zod-validator): change zod error to Hono HTTPException
* remove useless generic
2024-12-25 10:32:07 +09:00
github-actions[bot]
9150550bb8
Version Packages ( #885 )
2024-12-13 17:01:35 +09:00
Anthony Skorupskyy
803f011e41
fix(zod-validator): support for case-insensitive `headers` target validation ( #860 )
2024-12-13 16:57:49 +09:00
Yusuke Wada
88e54c1b9d
chore(tsyringe): add a build command ( #834 )
...
* chore(tsyringe): add a build command
* add changeset
2024-11-18 11:05:17 +09:00
Yusuke Wada
72e7070acd
chore(zod-validator): use `tsup` for build ( #826 )
2024-11-14 15:54:50 +09:00
github-actions[bot]
bc3facf9b5
Version Packages ( #767 )
2024-10-06 14:16:02 +09:00
github-actions[bot]
7253e6b9f1
Version Packages ( #764 )
2024-10-06 13:28:47 +09:00
Yusuke Wada
2a45247d80
feat(zod-validator): support enum types for `query` ( #763 )
...
* fix(zod-validator): support enum types for `query`
* add changeset
2024-10-06 13:24:53 +09:00
github-actions[bot]
18c9518505
Version Packages ( #748 )
2024-09-26 12:04:09 +09:00
Yusuke Wada
950786f6d2
chore(zod-validator): format the code ( #749 )
2024-09-26 12:00:04 +09:00
Bartosz Polnik
eda3584791
feat(zod-validator): pass target from zod-validator to a hook ( #695 )
...
* feat(zod-validator): passing target to hook
* feat(zod-validator): trigger githubaction
* feat(zod-validator): add changeset
* feat: pass narrower type to zod validation hook
2024-09-26 11:53:26 +09:00
github-actions[bot]
0996475ab3
Version Packages ( #554 )
2024-06-01 11:40:07 +09:00
Ame_x
aa05549497
fix(zod-validator): validator support async hook ( #552 )
...
* fix(zod-validator): validator support async hook
* fix
* changeset
* refactor
* chore: format (includes other middleware)
* fix
* revert
* Revert "chore: format (includes other middleware)"
This reverts commit 16b4462014
.
* changeset
* revert
2024-06-01 11:35:21 +09:00
github-actions[bot]
9e9c326c73
Version Packages ( #434 )
2024-03-26 09:26:33 +09:00
MAKS11060
c721d14d4b
fix(zod-validator): fix export for esm module ( #431 )
...
* fix: incorrect import, (deno/node) loaded cjs file instead of esm
* fix: default esm mode
* upd build step
* use changeset
* replace test runner to vitest
2024-03-26 09:03:48 +09:00
github-actions[bot]
053b2d5143
Version Packages ( #413 )
2024-03-06 19:49:29 +09:00
Yusuke Wada
4875e1c531
feat(zod-validator): support `coerce` ( #411 )
...
* fix(zod-validator): support `coerce`
* changeset
* refactored
* make it as minor
2024-03-06 19:35:27 +09:00
Yusuke Wada
168a0a6d68
fix(zod-openapi): handle `Conflicting names for parameter` ( #356 )
...
* fix(zod-openapi): handle `Conflicting names for parameter`
* add changeset
2024-01-25 08:36:58 +09:00
Yusuke Wada
ee12e3c08a
chore: bump hono to `3.11.7` ( #311 )
2023-12-14 18:33:01 +09:00
Yusuke Wada
a03e133d42
chore: setup prettier ( #301 )
...
* changeset
* chore: setup prettier
2023-12-13 17:31:25 +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]
66710bcca0
Version Packages ( #216 )
2023-10-30 06:19:00 +09:00
Yusuke Wada
ab2176bf6e
fix(zod-validator): bump Hono version of `peerDependencie` ( #215 )
...
* fix(zod-validator): bump Hono version of `peerDependencie`
* changeset
2023-10-30 06:13:40 +09:00
github-actions[bot]
cb5bba456b
Version Packages ( #209 )
2023-10-23 05:20:38 +09:00
Andrew
46575b4395
fix(zod-validator): make validation input optional when schema is optional ( #208 )
...
* fix(zod-validator): make validation input optional when schema is optional
* feat(index.test.ts): add tests for optional schema
* feat(index.test.ts): add more tests for optional schema
* chore: add changeset
2023-10-23 05:18:23 +09:00
github-actions[bot]
d4ae60d489
Version Packages ( #177 )
2023-09-26 17:21:38 +09:00
Luis Bizarro
a9123dd9e3
fix: Async zod support. ( #175 )
...
* add: Async zod support.
* add: Missing changeset.
2023-09-26 05:20:41 +09:00
Yusuke Wada
687dc5a6a1
test(vod-validator): fixed test
2023-08-24 15:57:06 +09:00
Yusuke Wada
77b2db96a8
chore(zod-validator): bump up Hono
2023-08-24 15:52:12 +09:00
github-actions[bot]
c18cedb1b2
Version Packages ( #120 )
2023-08-19 02:40:34 +09:00
Yusuke Wada
3b37eb4aef
fix(zod-validator): fixed zod-validator hook types ( #119 )
...
* fix(zod-validator): fixed zod-validator hook types
* changeset
2023-08-19 02:36:55 +09:00
github-actions[bot]
28ff7e4bbd
Version Packages ( #117 )
2023-08-19 00:16:28 +09:00
Yusuke Wada
c271b6d502
fix(zod-validator): convert `TypedResponse` to `Response` in hook ( #116 )
...
* fix(zod-validator): convert `TypedResponse` to `Response` in hook
* changeset
2023-08-19 00:15:03 +09:00
github-actions[bot]
a5a0692c3a
Version Packages ( #115 )
2023-08-18 23:59:36 +09:00
Yusuke Wada
3de3d7cd1b
fix(zod-validator): support `TypedResponse` in hook ( #114 )
...
* fix(zod-validator): support `TypedResponse` in hook
* changeset
2023-08-18 23:56:39 +09:00
github-actions[bot]
d9e8203548
Version Packages ( #108 )
2023-08-07 22:32:45 +09:00
Yusuke Wada
8eb3967477
fix(zod-validator): passing data to hook ( #107 )
...
* fix(zod-validator): passing data to hook
* changeset
2023-08-07 22:30:49 +09:00
github-actions[bot]
fb34f25205
Version Packages ( #106 )
2023-08-07 18:47:38 +09:00
Yusuke Wada
1fb2ab1dad
fix(zod-validator): fix a Hook type ( #104 )
...
* fix(zod-validator): fix Hook type
* changeset
2023-08-07 18:39:29 +09:00
github-actions[bot]
567784a323
Version Packages ( #88 )
2023-06-02 06:37:33 +09:00
Sacramentix
b7fe359dbc
save 1 lines of import on Zod-validator ( #87 )
...
* save 1 lines of import
Just moving ZodSchema and ZodError to the import of z
* add changeset
2023-05-11 22:03:08 +09:00
github-actions[bot]
d7e7dd245d
Version Packages ( #73 )
2023-03-21 18:30:09 +09:00
Yusuke Wada
7d84e06943
refactor(zod-validator): pass the path to `Context` for the hook ( #74 )
...
* refactor(zod-validator): pass the path to `Context` for the hook
* add changeset
2023-03-21 18:24:29 +09:00
github-actions[bot]
2ba444de0d
Version Packages ( #70 )
2023-03-21 10:43:17 +09:00
Yusuke Wada
f263d58c87
refactor(zod-validator): refactor types ( #69 )
...
* refactor(zod-validator): refactor types
* add changeset
2023-03-21 10:41:30 +09:00