From 5b30ce6d8ca2ae286dcbddd4cea6c09e1aca123a Mon Sep 17 00:00:00 2001 From: scarf Date: Sun, 27 Aug 2023 02:08:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20zod-openapi=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit extendZodWithOpenApi와 zod 타입 사이 충돌 해결 --- contracts/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/package.json b/contracts/package.json index ad1c82fd..fbc79e87 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -11,7 +11,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@anatine/zod-openapi": "^2.1.0", + "@anatine/zod-openapi": "^2.2.0", "openapi3-ts": "^4.1.2" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8e9c679..a7a36b96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,8 +215,8 @@ importers: contracts: dependencies: '@anatine/zod-openapi': - specifier: ^2.1.0 - version: 2.1.0(openapi3-ts@4.1.2)(zod@3.22.2) + specifier: ^2.2.0 + version: 2.2.0(openapi3-ts@4.1.2)(zod@3.22.2) openapi3-ts: specifier: ^4.1.2 version: 4.1.2 @@ -263,8 +263,8 @@ packages: zod: 3.22.2 dev: false - /@anatine/zod-openapi@2.1.0(openapi3-ts@4.1.2)(zod@3.22.2): - resolution: {integrity: sha512-SQML15KBRP8FyV7djAEZiv3iCA0ve++WZ6wW3OBqrABwxszoOcXbtQs27eM13I7FN8GD/9NBSmoh1pgI+fM75A==} + /@anatine/zod-openapi@2.2.0(openapi3-ts@4.1.2)(zod@3.22.2): + resolution: {integrity: sha512-Ponwenf2NMIVbs9IuB3YoW7CQPkuRWxhYV/qxBu48DQhmRyipEw/YROVTWnvku7+lwhv1EyP4+h3J5SwrvmfHg==} peerDependencies: openapi3-ts: ^4.1.2 zod: ^3.20.0