Skip to content

Commit

Permalink
feat(core): upgrade yup to above v1.0 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini-ghost authored Feb 18, 2024
1 parent cda204b commit fdb8d94
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/resolvers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"devDependencies": {
"@vorms/core": "workspace:*",
"valibot": "^0.28.1",
"yup": "^0.32.11",
"yup": "^1.3.3",
"zod": "^3.20.2"
}
}
2 changes: 1 addition & 1 deletion packages/resolvers/yup/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as Yup from 'yup';

import type { FormErrors, FormValues } from '@vorms/core';
import type Lazy from 'yup/lib/Lazy';
import type { Lazy } from 'yup';

export type Resolver = <T extends Yup.AnyObjectSchema | Lazy<any>>(
schema: T,
Expand Down
28 changes: 26 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdb8d94

Please sign in to comment.