Skip to content

Commit

Permalink
fix(deps): make zod a peerDep
Browse files Browse the repository at this point in the history
Zod should be a peerDep so consumers of xstate-tree can have xstate-tree use the same Zod version
for ZodType compatability with routes
  • Loading branch information
UberMouse committed Aug 18, 2022
1 parent 61b09c7 commit 79d4ab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"react-dom": "18.1.0",
"rxjs": "6.6.2",
"tiny-emitter": "2.1.0",
"typescript": "4.7.3",
"zod": "3.17.3"
"typescript": "4.7.3"
},
"devDependencies": {
"@microsoft/api-extractor": "7.28.4",
Expand Down Expand Up @@ -48,7 +47,8 @@
"xstate": "4.32.0"
},
"peerDependencies": {
"xstate": ">= 4.20 < 5.0.0"
"xstate": ">= 4.20 < 5.0.0",
"zod": "3.x"
},
"scripts": {
"lint": "eslint 'src/**/*'",
Expand Down

0 comments on commit 79d4ab2

Please sign in to comment.