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/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 7636171..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 @@ -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,33 +1286,6 @@ 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==} - peerDependencies: - '@fastify/static': ^6.0.0 || ^7.0.0 - '@nestjs/common': ^9.0.0 || ^10.0.0 - '@nestjs/core': ^9.0.0 || ^10.0.0 - class-transformer: '*' - class-validator: '*' - reflect-metadata: ^0.1.12 || ^0.2.0 - peerDependenciesMeta: - '@fastify/static': - optional: true - class-transformer: - optional: true - class-validator: - optional: true - dependencies: - '@microsoft/tsdoc': 0.15.0 - '@nestjs/common': 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) - '@nestjs/core': 10.4.4(@nestjs/common@10.4.4)(@nestjs/platform-express@10.4.4)(reflect-metadata@0.2.2)(rxjs@7.8.1) - '@nestjs/mapped-types': 2.0.5(@nestjs/common@10.4.4)(reflect-metadata@0.2.2) - js-yaml: 4.1.0 - lodash: 4.17.21 - path-to-regexp: 3.3.0 - reflect-metadata: 0.2.2 - swagger-ui-dist: 5.17.14 - /@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: @@ -1339,7 +1312,6 @@ packages: path-to-regexp: 3.3.0 reflect-metadata: 0.2.2 swagger-ui-dist: 5.17.14 - dev: true /@nestjs/testing@10.4.4(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(@nestjs/platform-express@10.4.4): resolution: {integrity: sha512-qRGFj51A5RM7JqA8pcyEwSLA3Y0dle/PAZ8oxP0suimoCusRY3Tk7wYqutZdCNj1ATb678SDaUZDHk2pwSv9/g==}