react-hook-form / resolvers

📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
https://react-hook-form.com/
MIT License
1.67k stars 151 forks source link

feat: add typeschema resolver #699

Closed jorisre closed 1 week ago

jorisre commented 2 weeks ago

This is the follow-up to the PR on #663 by decs with merge conflicts resolved. Huge thanks to decs

Bonus:

github-actions[bot] commented 2 weeks ago

Size Change: -84.4 kB (-73.2%) 🏆

Total Size: 30.9 kB

Filename Size Change
arktype/dist/arktype.js 306 B -27.2 kB (-98.89%) 🏆
arktype/dist/arktype.module.js 321 B -27.2 kB (-98.84%) 🏆
arktype/dist/arktype.umd.js 408 B -27.2 kB (-98.52%) 🏆
valibot/dist/valibot.js 475 B -503 B (-51.43%) 🏆
valibot/dist/valibot.module.js 489 B -506 B (-50.85%) 🏆
valibot/dist/valibot.umd.js 583 B -487 B (-45.51%) 🎉
vine/dist/vine.js 530 B -419 B (-44.15%) 🎉
vine/dist/vine.module.js 538 B -420 B (-43.84%) 🎉
vine/dist/vine.umd.js 640 B -401 B (-38.52%) 🎉
ℹī¸ View Unchanged | Filename | Size | | :--- | :---: | | `ajv/dist/ajv.js` | 639 B | | `ajv/dist/ajv.module.js` | 597 B | | `ajv/dist/ajv.umd.js` | 756 B | | `class-validator/dist/class-validator.js` | 537 B | | `class-validator/dist/class-validator.module.js` | 560 B | | `class-validator/dist/class-validator.umd.js` | 640 B | | `computed-types/dist/computed-types.js` | 385 B | | `computed-types/dist/computed-types.module.js` | 401 B | | `computed-types/dist/computed-types.umd.js` | 476 B | | `dist/resolvers.js` | 711 B | | `dist/resolvers.module.js` | 715 B | | `dist/resolvers.umd.js` | 795 B | | `effect-ts/dist/effect-ts.js` | 601 B | | `effect-ts/dist/effect-ts.module.js` | 468 B | | `effect-ts/dist/effect-ts.umd.js` | 716 B | | `io-ts/dist/io-ts.js` | 1.27 kB | | `io-ts/dist/io-ts.module.js` | 1.17 kB | | `io-ts/dist/io-ts.umd.js` | 1.41 kB | | `joi/dist/joi.js` | 589 B | | `joi/dist/joi.module.js` | 608 B | | `joi/dist/joi.umd.js` | 694 B | | `nope/dist/nope.js` | 347 B | | `nope/dist/nope.module.js` | 366 B | | `nope/dist/nope.umd.js` | 435 B | | `superstruct/dist/superstruct.js` | 324 B | | `superstruct/dist/superstruct.module.js` | 343 B | | `superstruct/dist/superstruct.umd.js` | 424 B | | `typanion/dist/typanion.js` | 329 B | | `typanion/dist/typanion.module.js` | 344 B | | `typanion/dist/typanion.umd.js` | 425 B | | `typebox/dist/typebox.js` | 499 B | | `typebox/dist/typebox.module.js` | 519 B | | `typebox/dist/typebox.umd.js` | 618 B | | `typeschema/dist/typeschema.js` | 466 B | | `typeschema/dist/typeschema.module.js` | 479 B | | `typeschema/dist/typeschema.umd.js` | 577 B | | `vest/dist/vest.js` | 479 B | | `vest/dist/vest.module.js` | 443 B | | `vest/dist/vest.umd.js` | 568 B | | `yup/dist/yup.js` | 622 B | | `yup/dist/yup.module.js` | 636 B | | `yup/dist/yup.umd.js` | 726 B | | `zod/dist/zod.js` | 597 B | | `zod/dist/zod.module.js` | 614 B | | `zod/dist/zod.umd.js` | 701 B |

compressed-size-action

bluebill1049 commented 1 week ago

Joris, could you please remove loaddash set from the package.json? thanks

jorisre commented 1 week ago

Joris, could you please remove loaddash set from the package.json? thanks

@bluebill1049 lodash isn't a dependency as you can see in the diff file.

github-actions[bot] commented 1 week ago

:tada: This issue has been resolved in version 3.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: