From 79d4ab2f26825ba6ee8240bbadee06ac48e59da3 Mon Sep 17 00:00:00 2001 From: Taylor Lodge Date: Thu, 18 Aug 2022 15:03:11 +1200 Subject: [PATCH] fix(deps): make zod a peerDep Zod should be a peerDep so consumers of xstate-tree can have xstate-tree use the same Zod version for ZodType compatability with routes --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0ea2327..d1e1528 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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/**/*'",