From 3ba2763911c07f7f84781bf1b92faabd3d5dbf57 Mon Sep 17 00:00:00 2001 From: Pascal zhang Date: Thu, 25 Jul 2024 19:59:44 +0200 Subject: [PATCH] docs(core): adding npx where it missing (#27015) ## Current Behavior having some command without npx before ```` nx ..... ```` ## Expected Behavior Have npx on all command ```` npx nx ..... ```` Co-authored-by: pikooli <> --- docs/shared/tutorials/npm-workspaces.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/shared/tutorials/npm-workspaces.md b/docs/shared/tutorials/npm-workspaces.md index 347aa344e6ad9..e278237808914 100644 --- a/docs/shared/tutorials/npm-workspaces.md +++ b/docs/shared/tutorials/npm-workspaces.md @@ -350,13 +350,13 @@ Now you're ready to use the `nx release` command to publish the `forms` and `but To preview your first release, run: ```shell -nx release --first-release --dry-run +npx nx release --first-release --dry-run ``` The command will ask you a series of questions and then show you what the results would be. Once you are happy with the results, run it again without the `--dry-run` flag: ```shell -nx release --first-release +npx nx release --first-release ``` After this first release, you can remove the `--first-release` flag and just run `nx release --dry-run`. There is also a [dedicated feature page](/features/manage-releases) that goes into more detail about how to use the `nx release` command.