nestjs icon indicating copy to clipboard operation
nestjs copied to clipboard

Publish @golevelup/nestjs-rabbitmq

Open ckfngod opened this issue 1 year ago • 6 comments

Any chance for a rabbitmq release soon so that I can start playing around with message batching 🙂

@WonderPanda @underfisk

ckfngod avatar Oct 05 '24 00:10 ckfngod

@WonderPanda Can we perform a release of rmq?

underfisk avatar Oct 06 '24 13:10 underfisk

I'm trying to publish but running into some issues with the new PNPM setup.

pnpm lerna publish -m 'chore: publish'
lerna notice cli v8.1.8
lerna info versioning independent
lerna info Looking for changed packages since @golevelup/[email protected]
lerna info getChangelogConfig Successfully resolved preset "conventional-changelog-angular"

Changes:
 - rabbitmq-integration: 3.4.0 => 3.5.0 (private)
 - @golevelup/nestjs-common: 2.0.0 => 2.0.1
 - @golevelup/nestjs-discovery: 4.0.1 => 4.0.2
 - @golevelup/nestjs-graphql-request: 0.2.2 => 0.2.3
 - @golevelup/nestjs-hasura: 3.0.7 => 3.0.8
 - @golevelup/nestjs-rabbitmq: 5.5.0 => 5.6.0
 - @golevelup/nestjs-stripe: 0.8.2 => 0.9.0
 - @golevelup/ts-jest: 0.5.6 => 0.6.0
 - @golevelup/ts-sinon: 0.1.0 => 0.1.1
 - @golevelup/ts-vitest: 0.5.0 => 0.5.1
 - @golevelup/nestjs-webhooks: 0.2.18 => 0.2.19

? Are you sure you want to publish these packages? Yes
lerna info execute Skipping releases
lerna ERR! Error: Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! Scope: all 13 workspace projects
lerna ERR!  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR!  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! 
lerna ERR! This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! 
lerna ERR! The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! 
lerna ERR! If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".
lerna ERR!     at makeError (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
lerna ERR!     at handlePromise (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:114:26)
lerna ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR!     at async VersionCommand.updatePackageVersions (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected][email protected]/node_modules/lerna/dist/index.js:9857:11)
lerna ERR!     at async Promise.all (index 0)
lerna ERR! Error: Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! Scope: all 13 workspace projects
lerna ERR!  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR!  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! 
lerna ERR! This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! 
lerna ERR! The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! 
lerna ERR! If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".
lerna ERR!     at makeError (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
lerna ERR!     at handlePromise (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:114:26)
lerna ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR!     at async VersionCommand.updatePackageVersions (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected][email protected]/node_modules/lerna/dist/index.js:9857:11)
lerna ERR!     at async Promise.all (index 0)
lerna ERR! lerna Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! lerna Scope: all 13 workspace projects
lerna ERR! lerna  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! lerna Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! lerna /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR! lerna  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! lerna 
lerna ERR! lerna This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! lerna 
lerna ERR! lerna The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! lerna 
lerna ERR! lerna If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".

WonderPanda avatar Oct 07 '24 16:10 WonderPanda

I'm trying to publish but running into some issues with the new PNPM setup.

pnpm lerna publish -m 'chore: publish'
lerna notice cli v8.1.8
lerna info versioning independent
lerna info Looking for changed packages since @golevelup/[email protected]
lerna info getChangelogConfig Successfully resolved preset "conventional-changelog-angular"

Changes:
 - rabbitmq-integration: 3.4.0 => 3.5.0 (private)
 - @golevelup/nestjs-common: 2.0.0 => 2.0.1
 - @golevelup/nestjs-discovery: 4.0.1 => 4.0.2
 - @golevelup/nestjs-graphql-request: 0.2.2 => 0.2.3
 - @golevelup/nestjs-hasura: 3.0.7 => 3.0.8
 - @golevelup/nestjs-rabbitmq: 5.5.0 => 5.6.0
 - @golevelup/nestjs-stripe: 0.8.2 => 0.9.0
 - @golevelup/ts-jest: 0.5.6 => 0.6.0
 - @golevelup/ts-sinon: 0.1.0 => 0.1.1
 - @golevelup/ts-vitest: 0.5.0 => 0.5.1
 - @golevelup/nestjs-webhooks: 0.2.18 => 0.2.19

? Are you sure you want to publish these packages? Yes
lerna info execute Skipping releases
lerna ERR! Error: Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! Scope: all 13 workspace projects
lerna ERR!  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR!  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! 
lerna ERR! This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! 
lerna ERR! The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! 
lerna ERR! If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".
lerna ERR!     at makeError (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
lerna ERR!     at handlePromise (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:114:26)
lerna ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR!     at async VersionCommand.updatePackageVersions (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected][email protected]/node_modules/lerna/dist/index.js:9857:11)
lerna ERR!     at async Promise.all (index 0)
lerna ERR! Error: Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! Scope: all 13 workspace projects
lerna ERR!  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR!  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! 
lerna ERR! This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! 
lerna ERR! The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! 
lerna ERR! If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".
lerna ERR!     at makeError (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
lerna ERR!     at handlePromise (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:114:26)
lerna ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
lerna ERR!     at async VersionCommand.updatePackageVersions (/home/jesse/code/personal/golevelup/nestjs/node_modules/.pnpm/[email protected][email protected]/node_modules/lerna/dist/index.js:9857:11)
lerna ERR!     at async Promise.all (index 0)
lerna ERR! lerna Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
lerna ERR! lerna Scope: all 13 workspace projects
lerna ERR! lerna  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
lerna ERR! lerna Progress: resolved 1, reused 0, downloaded 0, added 0
lerna ERR! lerna /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request:
lerna ERR! lerna  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @golevelup/nestjs-discovery@^4.0.2
lerna ERR! lerna 
lerna ERR! lerna This error happened while installing a direct dependency of /home/jesse/code/personal/golevelup/nestjs/packages/graphql-request
lerna ERR! lerna 
lerna ERR! lerna The latest release of @golevelup/nestjs-discovery is "4.0.1".
lerna ERR! lerna 
lerna ERR! lerna If you need the full list of all 12 published versions run "$ pnpm view @golevelup/nestjs-discovery versions".

I will take a look at it :)

underfisk avatar Oct 07 '24 17:10 underfisk

@underfisk any progress on this?

ckfngod avatar Oct 16 '24 20:10 ckfngod

@ckfngod Sorry not yet, i will try to get my head around this, it's been a busy week for me :/

underfisk avatar Oct 17 '24 00:10 underfisk

Hey, it seems like golevelup/nestjs-graphql-request library requests golevelup/[email protected], that is present in local repository but isn't published yet

maybe it's possible to publish updated nestjs-discovery and then publish other libs, dependent on new verison?

belyaev-dev avatar Oct 17 '24 15:10 belyaev-dev

@WonderPanda @underfisk would really appreciate it if we can get this published soon. is there anything i can do to help?

ckfngod avatar Oct 29 '24 18:10 ckfngod

@ckfngod We have to make sure publish is unblocked, you can see the error/command executed above. If you have the time to help us getting this unblocked, I would happily review it.

underfisk avatar Oct 29 '24 18:10 underfisk