From 2a11e8c73fcfe6ed6addc24ac240711b0281d71b Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Wed, 10 Jul 2024 11:08:10 +0200 Subject: [PATCH] chore: add peerDependencies to parser --- packages/parser/package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/parser/package.json b/packages/parser/package.json index fba2e1e130..98ba2ded46 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -117,7 +117,16 @@ "nodejs" ], "peerDependencies": { - "zod": ">=3.x" + "zod": ">=3.x", + "@middy/core": "4.x || 5.x" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + }, + "@middy/core": { + "optional": true + } }, "devDependencies": { "@anatine/zod-mock": "^3.13.3",