Skip to content

docs: use scoped package name in npx commands - #44

Merged
kamilmysliwiec merged 2 commits into
nestjs:masterfrom
thekhegay:docs/npx-scoped-package-name
Oct 22, 2026
Merged

kamilmysliwiec merged 2 commits into
nestjs:masterfrom
thekhegay:docs/npx-scoped-package-name

Conversation

@thekhegay

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: JSDoc

What is the current behavior?

Issue Number: N/A

JSDoc of migrate option on both stores and WebhookSchemaError example say npx nest-webhooks migrate, while docs move to npx @nestjs/webhooks migrate in nestjs/docs.nestjs.com#3646. Tests assert old kit text since lockfile has @nestjs/store-kit 0.1.0

What is the new behavior?

Follow up to nestjs/store-kit#36 (released in kit 0.1.1), CLI and store print npx @nestjs/webhooks ... there instead of nest-webhooks .... Here it's two commits:

  • JSDoc and error example say npx @nestjs/webhooks migrate
  • lockfile moves to @nestjs/store-kit 0.1.1, assertions on kit text in tests/postgres/cli.spec.ts and both migrations.spec.ts follow it (6 lines)

Package has single bin so npx runs nest-webhooks from it, and with scoped name it always resolves to official package. Bin itself stays, becuase scripts may call nest-webhooks directly

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Build, lint, tsc and full suite pass locally against PostgreSQL 18.6 and MySQL 8.4

@kamilmysliwiec
kamilmysliwiec merged commit ffa4840 into nestjs:master Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants