From f6911cf79e8400188046068015c20086e5735eb6 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 1 Nov 2024 10:27:43 -0400 Subject: [PATCH] Upgrade @nestjs/swagger peer dependency (#114) --- packages/example/package.json | 2 +- packages/nestjs-zod/package.json | 4 ++-- packages/z/package.json | 4 ++-- pnpm-lock.yaml | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/example/package.json b/packages/example/package.json index 7846de3..05b2cf1 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -23,7 +23,7 @@ "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.1", "@nest-zod/z": "workspace:*", "nestjs-zod": "workspace:*", "reflect-metadata": "^0.2.0", diff --git a/packages/nestjs-zod/package.json b/packages/nestjs-zod/package.json index 04ec7ee..54c7828 100755 --- a/packages/nestjs-zod/package.json +++ b/packages/nestjs-zod/package.json @@ -43,7 +43,7 @@ "@golevelup/ts-jest": "^0.3.3", "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.1", "@types/jest": "^29.5.2", "@types/merge-deep": "^3.0.0", "@types/node": "^22.7.5", @@ -64,7 +64,7 @@ "peerDependencies": { "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^7.4.2 || ^8.0.0", "zod": ">= 3.14.3" }, "peerDependenciesMeta": { diff --git a/packages/z/package.json b/packages/z/package.json index 9975ad5..1ec60bf 100755 --- a/packages/z/package.json +++ b/packages/z/package.json @@ -41,7 +41,7 @@ "@golevelup/ts-jest": "^0.3.3", "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.1", "@types/jest": "^29.5.2", "@types/merge-deep": "^3.0.0", "@types/node": "^22.7.5", @@ -64,7 +64,7 @@ "peerDependencies": { "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^7.4.2 || ^8.0.0", "zod": ">= 3.14.3" }, "peerDependenciesMeta": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1846800..4ae30c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: ^10.0.0 version: 10.4.4(@nestjs/common@10.4.4)(@nestjs/core@10.4.4) '@nestjs/swagger': - specifier: ^7.4.2 - version: 7.4.2(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) + specifier: ^8.0.1 + version: 8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) nestjs-zod: specifier: workspace:* version: link:../nestjs-zod @@ -125,8 +125,8 @@ importers: specifier: ^10.0.0 version: 10.4.4(@nestjs/common@10.4.4)(@nestjs/platform-express@10.4.4)(reflect-metadata@0.2.2)(rxjs@7.8.1) '@nestjs/swagger': - specifier: ^7.4.2 - version: 7.4.2(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) + specifier: ^8.0.1 + version: 8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) '@types/jest': specifier: ^29.5.2 version: 29.5.13 @@ -188,8 +188,8 @@ importers: specifier: ^10.0.0 version: 10.4.4(@nestjs/common@10.4.4)(@nestjs/platform-express@10.4.4)(reflect-metadata@0.2.2)(rxjs@7.8.1) '@nestjs/swagger': - specifier: ^7.4.2 - version: 7.4.2(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) + specifier: ^8.0.1 + version: 8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) '@types/jest': specifier: ^29.5.2 version: 29.5.13 @@ -1286,8 +1286,8 @@ packages: - chokidar dev: true - /@nestjs/swagger@7.4.2(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2): - resolution: {integrity: sha512-Mu6TEn1M/owIvAx2B4DUQObQXqo2028R2s9rSZ/hJEgBK95+doTwS0DjmVA2wTeZTyVtXOoN7CsoM5pONBzvKQ==} + /@nestjs/swagger@8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2): + resolution: {integrity: sha512-kW0dlsZXXWQgSSJHvk0fzg6kHvLcJ6trpbfvj5UN8DWIyCdCS/MGNshDE3P82xxKcg/pLZH7z41qYpFiawkGvQ==} peerDependencies: '@fastify/static': ^6.0.0 || ^7.0.0 '@nestjs/common': ^9.0.0 || ^10.0.0