(dependencies) add yup

Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
This commit is contained in:
Romain Le Cellier
2023-07-25 15:22:36 +02:00
parent 1953d52cdb
commit bdc08cf043
2 changed files with 4 additions and 4 deletions

View File

@@ -56,8 +56,7 @@
"downshift": "8.0.0", "downshift": "8.0.0",
"react": "18.2.0", "react": "18.2.0",
"react-aria": "3.26.0", "react-aria": "3.26.0",
"react-dom": "18.2.0", "react-dom": "18.2.0"
"yup": "^1.2.0"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.0.0"
@@ -106,7 +105,8 @@
"vite-plugin-dts": "3.3.1", "vite-plugin-dts": "3.3.1",
"vite-tsconfig-paths": "4.2.0", "vite-tsconfig-paths": "4.2.0",
"vitest": "0.33.0", "vitest": "0.33.0",
"vitest-fetch-mock": "0.2.2" "vitest-fetch-mock": "0.2.2",
"yup": "1.2.0"
}, },
"volta": { "volta": {
"node": "18.16.1", "node": "18.16.1",

View File

@@ -2505,7 +2505,7 @@
tslib "^2.4.0" tslib "^2.4.0"
typescript "^4.7 || 5" typescript "^4.7 || 5"
"@hookform/resolvers@^3.1.1": "@hookform/resolvers@3.1.1":
version "3.1.1" version "3.1.1"
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.1.1.tgz#b374d33e356428fff9c6ef3c933441fe15e40784" resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.1.1.tgz#b374d33e356428fff9c6ef3c933441fe15e40784"
integrity sha512-tS16bAUkqjITNSvbJuO1x7MXbn7Oe8ZziDTJdA9mMvsoYthnOOiznOTGBYwbdlYBgU+tgpI/BtTU3paRbCuSlg== integrity sha512-tS16bAUkqjITNSvbJuO1x7MXbn7Oe8ZziDTJdA9mMvsoYthnOOiznOTGBYwbdlYBgU+tgpI/BtTU3paRbCuSlg==