Skip to content

Commit

Permalink
Remove react peer dep + expand zod support
Browse files Browse the repository at this point in the history
The adapter doesn't have a dependency on React and Formik already
specifies a peer dependency for it (`>=16.8.0` as of this commit)

Zod has also released new versions and this project was unnecessarily
locking peer dep to 3.14.x patch versions, when tests pass on 3.19.1
  • Loading branch information
awkaiser-tr committed Sep 15, 2022
1 parent 593d4f8 commit 5509bf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@
"semantic-release": "^17.4.5",
"ts-jest": "^27.0.4",
"typescript": "~4.6.3",
"zod": "~3.14.4"
"zod": "^3.14.4"
},
"peerDependencies": {
"formik": "^2.2.9",
"react": "^17.0.2",
"zod": "~3.14.4"
"zod": "^3.14.4"
},
"jest": {
"coverageDirectory": "./coverage/",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5503,7 +5503,7 @@ yargs@^16.0.3, yargs@^16.2.0:
y18n "^5.0.5"
yargs-parser "^20.2.2"

zod@~3.14.4:
version "3.14.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.14.4.tgz#e678fe9e5469f4663165a5c35c8f3dc66334a5d6"
integrity sha512-U9BFLb2GO34Sfo9IUYp0w3wJLlmcyGoMd75qU9yf+DrdGA4kEx6e+l9KOkAlyUO0PSQzZCa3TR4qVlcmwqSDuw==
zod@^3.14.4:
version "3.19.1"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.19.1.tgz#112f074a97b50bfc4772d4ad1576814bd8ac4473"
integrity sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==

0 comments on commit 5509bf3

Please sign in to comment.