From 9fad53fc7b0fb1f2369bdda0b4f755f973d4f073 Mon Sep 17 00:00:00 2001 From: duysolo Date: Fri, 5 Aug 2022 12:26:27 +0700 Subject: [PATCH] support multiple nestjs versions --- package-lock.json | 24 ++++++++++++------------ package.json | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0efca07..d52f403 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,12 +10,12 @@ "license": "MIT", "dependencies": { "@mercury-labs/hashing": "^1.0.0", - "@nestjs/common": "^9.0.0", - "@nestjs/core": "^9.0.0", - "@nestjs/cqrs": "^9.0.0", - "@nestjs/jwt": "^9.0.0", - "@nestjs/passport": "^9.0.0", - "@nestjs/swagger": "^6.0.0", + "@nestjs/common": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/core": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/cqrs": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/jwt": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/passport": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/swagger": "^6.0.0 || ^5.0.0", "bcrypt": "~5.0.1", "class-transformer": "~0.5.1", "class-validator": "~0.13.2", @@ -63,12 +63,12 @@ "typescript": "^4.3.5" }, "peerDependencies": { - "@nestjs/common": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/core": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/cqrs": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/jwt": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/passport": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/swagger": "^6.0.0 | ^5.0.0" + "@nestjs/common": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/core": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/cqrs": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/jwt": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/passport": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/swagger": "^6.0.0 || ^5.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 4ba7d40..380b7be 100644 --- a/package.json +++ b/package.json @@ -38,12 +38,12 @@ }, "dependencies": { "@mercury-labs/hashing": "^1.0.0", - "@nestjs/common": "^9.0.0", - "@nestjs/core": "^9.0.0", - "@nestjs/cqrs": "^9.0.0", - "@nestjs/jwt": "^9.0.0", - "@nestjs/passport": "^9.0.0", - "@nestjs/swagger": "^6.0.0", + "@nestjs/common": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/core": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/cqrs": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/jwt": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/passport": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/swagger": "^6.0.0 || ^5.0.0", "bcrypt": "~5.0.1", "class-transformer": "~0.5.1", "class-validator": "~0.13.2", @@ -91,12 +91,12 @@ "typescript": "^4.3.5" }, "peerDependencies": { - "@nestjs/common": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/core": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/cqrs": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/jwt": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/passport": "^9.0.0 | ^8.0.0 | ^7.0.0", - "@nestjs/swagger": "^6.0.0 | ^5.0.0" + "@nestjs/common": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/core": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/cqrs": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/jwt": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/passport": "^9.0.0 || ^8.0.0 || ^7.0.0", + "@nestjs/swagger": "^6.0.0 || ^5.0.0" }, "jest": { "moduleFileExtensions": [