From fbbfa120965ccddee27a75756da7016917d1d7d6 Mon Sep 17 00:00:00 2001 From: Lucas Heim <13325346+lucasheim@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:06:12 -0300 Subject: [PATCH] fix(typescript-nodejs): update package json dependencies (#15493) * fix(typescript-nodejs): update package dependencies * update samples * Update modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache Co-authored-by: Esteban Gehring * update samples --------- Co-authored-by: William Cheng Co-authored-by: Esteban Gehring --- .../src/main/resources/typescript-nestjs/package.mustache | 7 +++++-- .../builds/default/package.json | 4 ++-- .../builds/default/package.json | 5 +++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache index 0ac1e788fb8..1167ea07cd3 100644 --- a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache @@ -32,15 +32,18 @@ "@nestjs/common": "^{{nestVersion}}", "@nestjs/core": "^{{nestVersion}}", "@nestjs/platform-express": "^{{nestVersion}}", + {{#useAxiosHttpModule}} + "@nestjs/axios": "^2.0.0", + {{/useAxiosHttpModule}} "reflect-metadata": "^0.1.13", "rimraf": "^2.6.3", - "rxjs": "^6.5.2" + "rxjs": "^7.1.0" }, "devDependencies": { "@nestjs/testing": "~{{nestVersion}}", "@types/express": "^4.16.0", "@types/jest": "^24.0.15", - "@types/node": "^12.6.1", + "@types/node": "^14.8.2", "@types/supertest": "^2.0.8", "concurrently": "^4.1.1", "nodemon": "^1.19.1", diff --git a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json index 1008d977182..d8efa421c35 100644 --- a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json +++ b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json @@ -34,13 +34,13 @@ "@nestjs/platform-express": "^6.0.0", "reflect-metadata": "^0.1.13", "rimraf": "^2.6.3", - "rxjs": "^6.5.2" + "rxjs": "^7.1.0" }, "devDependencies": { "@nestjs/testing": "~6.0.0", "@types/express": "^4.16.0", "@types/jest": "^24.0.15", - "@types/node": "^12.6.1", + "@types/node": "^14.8.2", "@types/supertest": "^2.0.8", "concurrently": "^4.1.1", "nodemon": "^1.19.1", diff --git a/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/package.json b/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/package.json index c49a0a25b9c..bd74fe891d0 100644 --- a/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/package.json +++ b/samples/client/petstore/typescript-nestjs-v8-provided-in-root/builds/default/package.json @@ -32,15 +32,16 @@ "@nestjs/common": "^8.0.0", "@nestjs/core": "^8.0.0", "@nestjs/platform-express": "^8.0.0", + "@nestjs/axios": "^2.0.0", "reflect-metadata": "^0.1.13", "rimraf": "^2.6.3", - "rxjs": "^6.5.2" + "rxjs": "^7.1.0" }, "devDependencies": { "@nestjs/testing": "~8.0.0", "@types/express": "^4.16.0", "@types/jest": "^24.0.15", - "@types/node": "^12.6.1", + "@types/node": "^14.8.2", "@types/supertest": "^2.0.8", "concurrently": "^4.1.1", "nodemon": "^1.19.1",