From 9a02e8b31f467d211e333e056a4c4374023a966a Mon Sep 17 00:00:00 2001 From: Calvin <33236944+ckfngod@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:56:18 -0700 Subject: [PATCH] fix(deps): fix pnpm dependency issue (#868) * fix(deps): fix pnpm dependency issue fix #817 * fix: add lockfile --- packages/graphql-request/package.json | 6 +- packages/hasura/package.json | 6 +- packages/rabbitmq/package.json | 6 +- packages/stripe/package.json | 6 +- packages/webhooks/package.json | 4 +- pnpm-lock.yaml | 91 +++++++++------------------ 6 files changed, 42 insertions(+), 77 deletions(-) diff --git a/packages/graphql-request/package.json b/packages/graphql-request/package.json index 1f710f06e..2e461d937 100644 --- a/packages/graphql-request/package.json +++ b/packages/graphql-request/package.json @@ -38,9 +38,9 @@ "access": "public" }, "dependencies": { - "@golevelup/nestjs-common": "^2.0.0", - "@golevelup/nestjs-discovery": "^4.0.1", - "@golevelup/nestjs-modules": "^0.7.1", + "@golevelup/nestjs-common": "workspace:^", + "@golevelup/nestjs-discovery": "workspace:^", + "@golevelup/nestjs-modules": "workspace:^", "graphql": "^16.8.1", "graphql-request": "^6.1.0" }, diff --git a/packages/hasura/package.json b/packages/hasura/package.json index cdb9fab3e..b84851025 100644 --- a/packages/hasura/package.json +++ b/packages/hasura/package.json @@ -36,9 +36,9 @@ "access": "public" }, "dependencies": { - "@golevelup/nestjs-common": "^2.0.0", - "@golevelup/nestjs-discovery": "^4.0.1", - "@golevelup/nestjs-modules": "^0.7.1", + "@golevelup/nestjs-common": "workspace:^", + "@golevelup/nestjs-discovery": "workspace:^", + "@golevelup/nestjs-modules": "workspace:^", "@hasura/metadata": "^1.0.2", "js-yaml": "^4.1.0", "zod": "^3.23.8" diff --git a/packages/rabbitmq/package.json b/packages/rabbitmq/package.json index 79feb7887..ecaf152a7 100644 --- a/packages/rabbitmq/package.json +++ b/packages/rabbitmq/package.json @@ -34,9 +34,9 @@ "url": "https://github.com/golevelup/nestjs/issues" }, "dependencies": { - "@golevelup/nestjs-common": "^2.0.0", - "@golevelup/nestjs-discovery": "^4.0.1", - "@golevelup/nestjs-modules": "^0.7.1", + "@golevelup/nestjs-common": "workspace:^", + "@golevelup/nestjs-discovery": "workspace:^", + "@golevelup/nestjs-modules": "workspace:^", "amqp-connection-manager": "^4.1.14", "amqplib": "^0.10.4", "lodash": "^4.17.21" diff --git a/packages/stripe/package.json b/packages/stripe/package.json index 1eb261c49..3de16708b 100644 --- a/packages/stripe/package.json +++ b/packages/stripe/package.json @@ -36,9 +36,9 @@ "access": "public" }, "dependencies": { - "@golevelup/nestjs-common": "^2.0.0", - "@golevelup/nestjs-discovery": "^4.0.1", - "@golevelup/nestjs-modules": "^0.7.1" + "@golevelup/nestjs-common": "workspace:^", + "@golevelup/nestjs-discovery": "workspace:^", + "@golevelup/nestjs-modules": "workspace:^" }, "devDependencies": { "stripe": "^17.1.0" diff --git a/packages/webhooks/package.json b/packages/webhooks/package.json index a9cb23fca..b10eb18f1 100644 --- a/packages/webhooks/package.json +++ b/packages/webhooks/package.json @@ -38,8 +38,8 @@ "access": "public" }, "dependencies": { - "@golevelup/nestjs-common": "^2.0.0", - "@golevelup/nestjs-modules": "^0.7.1" + "@golevelup/nestjs-common": "workspace:^", + "@golevelup/nestjs-modules": "workspace:^" }, "peerDependencies": { "body-parser": "^1.20.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0d613c1d0..47ae12cf5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,14 +204,14 @@ importers: packages/graphql-request: dependencies: '@golevelup/nestjs-common': - specifier: ^2.0.0 - version: 2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1)) + specifier: workspace:^ + version: link:../common '@golevelup/nestjs-discovery': - specifier: ^4.0.1 - version: 4.0.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.4) + specifier: workspace:^ + version: link:../discovery '@golevelup/nestjs-modules': - specifier: ^0.7.1 - version: 0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1) + specifier: workspace:^ + version: link:../modules graphql: specifier: ^16.8.1 version: 16.9.0 @@ -222,14 +222,14 @@ importers: packages/hasura: dependencies: '@golevelup/nestjs-common': - specifier: ^2.0.0 - version: 2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1)) + specifier: workspace:^ + version: link:../common '@golevelup/nestjs-discovery': - specifier: ^4.0.1 - version: 4.0.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.4) + specifier: workspace:^ + version: link:../discovery '@golevelup/nestjs-modules': - specifier: ^0.7.1 - version: 0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1) + specifier: workspace:^ + version: link:../modules '@hasura/metadata': specifier: ^1.0.2 version: 1.0.2 @@ -262,14 +262,14 @@ importers: packages/rabbitmq: dependencies: '@golevelup/nestjs-common': - specifier: ^2.0.0 - version: 2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1)) + specifier: workspace:^ + version: link:../common '@golevelup/nestjs-discovery': - specifier: ^4.0.1 - version: 4.0.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.4) + specifier: workspace:^ + version: link:../discovery '@golevelup/nestjs-modules': - specifier: ^0.7.1 - version: 0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1) + specifier: workspace:^ + version: link:../modules '@nestjs/common': specifier: ^10.x version: 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) @@ -299,14 +299,14 @@ importers: packages/stripe: dependencies: '@golevelup/nestjs-common': - specifier: ^2.0.0 - version: 2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1)) + specifier: workspace:^ + version: link:../common '@golevelup/nestjs-discovery': - specifier: ^4.0.1 - version: 4.0.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.4) + specifier: workspace:^ + version: link:../discovery '@golevelup/nestjs-modules': - specifier: ^0.7.1 - version: 0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1) + specifier: workspace:^ + version: link:../modules devDependencies: stripe: specifier: ^17.1.0 @@ -338,11 +338,11 @@ importers: packages/webhooks: dependencies: '@golevelup/nestjs-common': - specifier: ^2.0.0 - version: 2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1)) + specifier: workspace:^ + version: link:../common '@golevelup/nestjs-modules': - specifier: ^0.7.1 - version: 0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1) + specifier: workspace:^ + version: link:../modules body-parser: specifier: ^1.20.3 version: 1.20.3 @@ -926,23 +926,6 @@ packages: resolution: {integrity: sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@golevelup/nestjs-common@2.0.0': - resolution: {integrity: sha512-D9RLXgkqn9SDLnZ2VoMER9l/+g5CM9Z7sZXa+10+0rZs6yevMepoiWmMVsFoUXLzYG2GwfixHLExwUr3XBCHFw==} - peerDependencies: - '@nestjs/common': ^10.x - - '@golevelup/nestjs-discovery@4.0.1': - resolution: {integrity: sha512-HFXBJayEkYcU/bbxOztozONdWaZR34ZeJ2zRbZIWY8d5K26oPZQTvJ4L0STW3XVRGWtoE0WBpmx2YPNgYvcmJQ==} - peerDependencies: - '@nestjs/common': ^10.x - '@nestjs/core': ^10.x - - '@golevelup/nestjs-modules@0.7.1': - resolution: {integrity: sha512-L5hBuU57ujl73IAyyZYkT+41tbo+9BggLzze7AMSWJhNUJBhvifFvtfSNRy2aTTPsLYuHLH2tmerjjOQkEdgDg==} - peerDependencies: - '@nestjs/common': ^10.x - rxjs: ^7.x - '@graphql-typed-document-node/core@3.2.0': resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: @@ -5972,24 +5955,6 @@ snapshots: dependencies: levn: 0.4.1 - '@golevelup/nestjs-common@2.0.0(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))': - dependencies: - '@nestjs/common': 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) - lodash: 4.17.21 - nanoid: 3.3.7 - - '@golevelup/nestjs-discovery@4.0.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.4)': - dependencies: - '@nestjs/common': 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) - '@nestjs/core': 10.4.4(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/platform-express@10.4.4)(encoding@0.1.13)(reflect-metadata@0.2.2)(rxjs@7.8.1) - lodash: 4.17.21 - - '@golevelup/nestjs-modules@0.7.1(@nestjs/common@10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1))(rxjs@7.8.1)': - dependencies: - '@nestjs/common': 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) - lodash: 4.17.21 - rxjs: 7.8.1 - '@graphql-typed-document-node/core@3.2.0(graphql@16.9.0)': dependencies: graphql: 16.9.0