From 2695d0875f00713bbcdf037437c3e203d4015bfe Mon Sep 17 00:00:00 2001 From: duysolo Date: Fri, 5 Aug 2022 12:08:40 +0700 Subject: [PATCH] try to move some packages as dev --- package-lock.json | 48 +++++++++++++++++++++++++++++++++-------------- package.json | 12 ++++++------ 2 files changed, 40 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 63a6e90..25c559a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,15 @@ { "name": "@mercury-labs/auth", - "version": "1.1.18", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@mercury-labs/auth", - "version": "1.1.18", + "version": "1.1.0", "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", "bcrypt": "~5.0.1", "class-transformer": "~0.5.1", "class-validator": "~0.13.2", @@ -32,9 +26,15 @@ "devDependencies": { "@fastify/cookie": "^6.0.0", "@nestjs/cli": "^9.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/platform-express": "^9.0.0", "@nestjs/platform-fastify": "^9.0.0", "@nestjs/schematics": "^9.0.0", + "@nestjs/swagger": "^6.0.0", "@nestjs/testing": "^9.0.0", "@rushstack/eslint-config": "~2.6.1", "@types/bcrypt": "~5.0.0", @@ -1580,6 +1580,7 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/@nestjs/cqrs/-/cqrs-9.0.1.tgz", "integrity": "sha512-DsqkAaIHy9+Ot4FJybmlDQk0HBDTGztz0F3LcMnatFDQv1X56W0Y2+R/7jjwHsmHzQfbffT2FGyCOx2/9apFCg==", + "dev": true, "dependencies": { "uuid": "8.3.2" }, @@ -1594,6 +1595,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/jwt/-/jwt-9.0.0.tgz", "integrity": "sha512-ZsXGY/wMYKzEhymw2+dxiwrHTRKIKrGszx6r2EjQqNLypdXMQu0QrujwZJ8k3+XQV4snmuJwwNakQoA2ILfq8w==", + "dev": true, "dependencies": { "@types/jsonwebtoken": "8.5.8", "jsonwebtoken": "8.5.1" @@ -1606,6 +1608,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.1.0.tgz", "integrity": "sha512-+2kSly4P1QI+9eGt+/uGyPdEG1hVz7nbpqPHWZVYgoqz8eOHljpXPag+UCVRw9zo2XCu4sgNUIGe8Uk0+OvUQg==", + "dev": true, "peerDependencies": { "@nestjs/common": "^7.0.8 || ^8.0.0 || ^9.0.0", "class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0", @@ -1625,6 +1628,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-9.0.0.tgz", "integrity": "sha512-Gnh8n1wzFPOLSS/94X1sUP4IRAoXTgG4odl7/AO5h+uwscEGXxJFercrZfqdAwkWhqkKWbsntM3j5mRy/6ZQDA==", + "dev": true, "peerDependencies": { "@nestjs/common": "^8.0.0 || ^9.0.0", "passport": "^0.4.0 || ^0.5.0 || ^0.6.0" @@ -1704,6 +1708,7 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.0.4.tgz", "integrity": "sha512-YKf9RvCYHAgqkMvUG3xRr0zAcnuN8JsWPfvi7h0hzEXLRhNxByj2FT8Rzj+0fPAe6VZioWXBDpLzshO2PjE48Q==", + "dev": true, "dependencies": { "@nestjs/mapped-types": "1.1.0", "js-yaml": "4.1.0", @@ -2276,6 +2281,7 @@ "version": "8.5.8", "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dev": true, "dependencies": { "@types/node": "*" } @@ -2295,7 +2301,8 @@ "node_modules/@types/node": { "version": "16.11.45", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.45.tgz", - "integrity": "sha512-3rKg/L5x0rofKuuUt5zlXzOnKyIHXmIu5R8A0TuNDMF2062/AOIDBciFIjToLEJ/9F9DzkHNot+BpNsMI1OLdQ==" + "integrity": "sha512-3rKg/L5x0rofKuuUt5zlXzOnKyIHXmIu5R8A0TuNDMF2062/AOIDBciFIjToLEJ/9F9DzkHNot+BpNsMI1OLdQ==", + "dev": true }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -3184,7 +3191,8 @@ "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "node_modules/array-flatten": { "version": "1.1.1", @@ -7040,6 +7048,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -9368,7 +9377,8 @@ "node_modules/swagger-ui-dist": { "version": "4.12.0", "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.12.0.tgz", - "integrity": "sha512-B0Iy2ueXtbByE6OOyHTi3lFQkpPi/L7kFOKFeKTr44za7dJIELa9kzaca6GkndCgpK1QTjArnoXG+aUy0XQp1w==" + "integrity": "sha512-B0Iy2ueXtbByE6OOyHTi3lFQkpPi/L7kFOKFeKTr44za7dJIELa9kzaca6GkndCgpK1QTjArnoXG+aUy0XQp1w==", + "dev": true }, "node_modules/symbol-observable": { "version": "4.0.0", @@ -11610,6 +11620,7 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/@nestjs/cqrs/-/cqrs-9.0.1.tgz", "integrity": "sha512-DsqkAaIHy9+Ot4FJybmlDQk0HBDTGztz0F3LcMnatFDQv1X56W0Y2+R/7jjwHsmHzQfbffT2FGyCOx2/9apFCg==", + "dev": true, "requires": { "uuid": "8.3.2" } @@ -11618,6 +11629,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/jwt/-/jwt-9.0.0.tgz", "integrity": "sha512-ZsXGY/wMYKzEhymw2+dxiwrHTRKIKrGszx6r2EjQqNLypdXMQu0QrujwZJ8k3+XQV4snmuJwwNakQoA2ILfq8w==", + "dev": true, "requires": { "@types/jsonwebtoken": "8.5.8", "jsonwebtoken": "8.5.1" @@ -11627,12 +11639,14 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.1.0.tgz", "integrity": "sha512-+2kSly4P1QI+9eGt+/uGyPdEG1hVz7nbpqPHWZVYgoqz8eOHljpXPag+UCVRw9zo2XCu4sgNUIGe8Uk0+OvUQg==", + "dev": true, "requires": {} }, "@nestjs/passport": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-9.0.0.tgz", "integrity": "sha512-Gnh8n1wzFPOLSS/94X1sUP4IRAoXTgG4odl7/AO5h+uwscEGXxJFercrZfqdAwkWhqkKWbsntM3j5mRy/6ZQDA==", + "dev": true, "requires": {} }, "@nestjs/platform-express": { @@ -11680,6 +11694,7 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.0.4.tgz", "integrity": "sha512-YKf9RvCYHAgqkMvUG3xRr0zAcnuN8JsWPfvi7h0hzEXLRhNxByj2FT8Rzj+0fPAe6VZioWXBDpLzshO2PjE48Q==", + "dev": true, "requires": { "@nestjs/mapped-types": "1.1.0", "js-yaml": "4.1.0", @@ -12116,6 +12131,7 @@ "version": "8.5.8", "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz", "integrity": "sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==", + "dev": true, "requires": { "@types/node": "*" } @@ -12135,7 +12151,8 @@ "@types/node": { "version": "16.11.45", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.45.tgz", - "integrity": "sha512-3rKg/L5x0rofKuuUt5zlXzOnKyIHXmIu5R8A0TuNDMF2062/AOIDBciFIjToLEJ/9F9DzkHNot+BpNsMI1OLdQ==" + "integrity": "sha512-3rKg/L5x0rofKuuUt5zlXzOnKyIHXmIu5R8A0TuNDMF2062/AOIDBciFIjToLEJ/9F9DzkHNot+BpNsMI1OLdQ==", + "dev": true }, "@types/parse-json": { "version": "4.0.0", @@ -12798,7 +12815,8 @@ "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "array-flatten": { "version": "1.1.1", @@ -15718,6 +15736,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "requires": { "argparse": "^2.0.1" } @@ -17495,7 +17514,8 @@ "swagger-ui-dist": { "version": "4.12.0", "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.12.0.tgz", - "integrity": "sha512-B0Iy2ueXtbByE6OOyHTi3lFQkpPi/L7kFOKFeKTr44za7dJIELa9kzaca6GkndCgpK1QTjArnoXG+aUy0XQp1w==" + "integrity": "sha512-B0Iy2ueXtbByE6OOyHTi3lFQkpPi/L7kFOKFeKTr44za7dJIELa9kzaca6GkndCgpK1QTjArnoXG+aUy0XQp1w==", + "dev": true }, "symbol-observable": { "version": "4.0.0", diff --git a/package.json b/package.json index 4ba7d40..8bf8002 100644 --- a/package.json +++ b/package.json @@ -38,12 +38,6 @@ }, "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", "bcrypt": "~5.0.1", "class-transformer": "~0.5.1", "class-validator": "~0.13.2", @@ -60,6 +54,12 @@ "devDependencies": { "@fastify/cookie": "^6.0.0", "@nestjs/cli": "^9.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/platform-express": "^9.0.0", "@nestjs/platform-fastify": "^9.0.0", "@nestjs/schematics": "^9.0.0",