Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: explicit dependencies for integrations #4805

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/src/pages/guide/composition-api/typed-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ You can use yup as a typed schema with the `@vee-validate/yup` package:

```sh
# npm
npm install @vee-validate/yup
npm install @vee-validate/yup yup
# yarn
yarn add @vee-validate/yup
yarn add @vee-validate/yup yup
# pnpm
pnpm add @vee-validate/yup
pnpm add @vee-validate/yup yup
```

The `@vee-valdiate/yup` package exposes a `toTypedSchema` function that accepts any yup schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down Expand Up @@ -186,11 +186,11 @@ You can use zod as a typed schema with the `@vee-validate/zod` package:

```sh
# npm
npm install @vee-validate/zod
npm install @vee-validate/zod zod
# yarn
yarn add @vee-validate/zod
yarn add @vee-validate/zod zod
# pnpm
pnpm add @vee-validate/zod
pnpm add @vee-validate/zod zod
```

The `@vee-valdiate/zod` package exposes a `toTypedSchema` function that accepts any zod schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down Expand Up @@ -286,11 +286,11 @@ You can use valibot as a typed schema with the `@vee-validate/valibot` package:

```sh
# npm
npm install @vee-validate/valibot
npm install @vee-validate/valibot valibot
# yarn
yarn add @vee-validate/valibot
yarn add @vee-validate/valibot valibot
# pnpm
pnpm add @vee-validate/valibot
pnpm add @vee-validate/valibot valibot
```

The `@vee-valdiate/valibot` package exposes a `toTypedSchema` function that accepts any valibot schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down
6 changes: 3 additions & 3 deletions packages/joi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ You can use joi as a typed schema with the `@vee-validate/joi` package:

```sh
# npm
npm install @vee-validate/joi
npm install @vee-validate/joi joi
# yarn
yarn add @vee-validate/joi
yarn add @vee-validate/joi joi
# pnpm
pnpm add @vee-validate/joi
pnpm add @vee-validate/joi joi
```

The `@vee-valdiate/joi` package exposes a `toTypedSchema` function that accepts any joi schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down
7 changes: 6 additions & 1 deletion packages/joi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
"dist/*.d.ts"
],
"dependencies": {
"type-fest": "^4.8.3"
},
"peerDependencies": {
"joi": "17.11.0",
"type-fest": "^4.8.3",
"vee-validate": "workspace:*"
},
"devDependencies": {
"joi": "17.11.0"
}
}
2 changes: 1 addition & 1 deletion packages/rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dist/*.js",
"dist/*.d.ts"
],
"dependencies": {
"peerDependencies": {
"vee-validate": "workspace:*"
}
}
7 changes: 6 additions & 1 deletion packages/valibot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
"dist/*.d.ts"
],
"dependencies": {
"type-fest": "^4.8.3",
"type-fest": "^4.8.3"
},
"peerDependencies": {
"valibot": "^0.33.0",
"vee-validate": "workspace:*"
},
"devDependencies": {
"valibot": "^0.33.0"
}
}
6 changes: 3 additions & 3 deletions packages/yup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ You can use [yup](https://github.com/jquense/yup) as a typed schema with the `@v

```sh
# npm
npm install @vee-validate/yup
npm install @vee-validate/yup yup
# yarn
yarn add @vee-validate/yup
yarn add @vee-validate/yup yup
# pnpm
pnpm add @vee-validate/yup
pnpm add @vee-validate/yup yup
```

The `@vee-valdiate/yup` package exposes a `toTypedSchema` function that accepts any yup schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down
7 changes: 6 additions & 1 deletion packages/yup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@
"dist/*.d.ts"
],
"dependencies": {
"type-fest": "^4.8.3",
"type-fest": "^4.8.3"
},
"peerDependencies": {
"vee-validate": "workspace:*",
"yup": "^1.3.2"
},
"devDependencies": {
"yup": "^1.3.2"
},
"publishConfig": {
"access": "public"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/zod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ You can use zod as a typed schema with the `@vee-validate/zod` package:

```sh
# npm
npm install @vee-validate/zod
npm install @vee-validate/zod zod
# yarn
yarn add @vee-validate/zod
yarn add @vee-validate/zod zod
# pnpm
pnpm add @vee-validate/zod
pnpm add @vee-validate/zod zod
```

The `@vee-valdiate/zod` package exposes a `toTypedSchema` function that accepts any zod schema. Which then you can pass along to `validationSchema` option on `useForm`.
Expand Down
7 changes: 6 additions & 1 deletion packages/zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
"dist/*.d.ts"
],
"dependencies": {
"type-fest": "^4.8.3",
"type-fest": "^4.8.3"
},
"peerDependencies": {
"vee-validate": "workspace:*",
"zod": "^3.22.4"
},
"devDependencies": {
"zod": "^3.22.4"
}
}