From c08d995290010e8cdafda88eb84cf627aae05db3 Mon Sep 17 00:00:00 2001 From: Mathieu Guilbault <108015560+trc-mathieu@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:55:47 -0500 Subject: [PATCH] docs(core): fix grammar (#28697) fix grammar --------- Co-authored-by: Isaac Mann Co-authored-by: Isaac Mann --- docs/generated/cli/exec.md | 4 ++-- docs/generated/packages/nx/documents/exec.md | 4 ++-- docs/shared/cli/exec.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/generated/cli/exec.md b/docs/generated/cli/exec.md index d74327714d..124eaeed65 100644 --- a/docs/generated/cli/exec.md +++ b/docs/generated/cli/exec.md @@ -10,7 +10,7 @@ description: 'Executes any command as if it was a target on the project' ## Usage -In package.json, adding a script with `nx exec` will run the command as if it is a target that project: +In package.json, adding a script with `nx exec` will run the command as if it is a target on that project: ```json { @@ -37,7 +37,7 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx` ## Examples -You can use `npm run ` for a project and leverage the caching by wrap your command with `nx exec`. +You can use `npm run ` for a project and leverage the caching by wrapping your command with `nx exec`. For example, you can run `npm run docs` as a Nx target for `myorg`: diff --git a/docs/generated/packages/nx/documents/exec.md b/docs/generated/packages/nx/documents/exec.md index d74327714d..124eaeed65 100644 --- a/docs/generated/packages/nx/documents/exec.md +++ b/docs/generated/packages/nx/documents/exec.md @@ -10,7 +10,7 @@ description: 'Executes any command as if it was a target on the project' ## Usage -In package.json, adding a script with `nx exec` will run the command as if it is a target that project: +In package.json, adding a script with `nx exec` will run the command as if it is a target on that project: ```json { @@ -37,7 +37,7 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx` ## Examples -You can use `npm run ` for a project and leverage the caching by wrap your command with `nx exec`. +You can use `npm run ` for a project and leverage the caching by wrapping your command with `nx exec`. For example, you can run `npm run docs` as a Nx target for `myorg`: diff --git a/docs/shared/cli/exec.md b/docs/shared/cli/exec.md index d74327714d..124eaeed65 100644 --- a/docs/shared/cli/exec.md +++ b/docs/shared/cli/exec.md @@ -10,7 +10,7 @@ description: 'Executes any command as if it was a target on the project' ## Usage -In package.json, adding a script with `nx exec` will run the command as if it is a target that project: +In package.json, adding a script with `nx exec` will run the command as if it is a target on that project: ```json { @@ -37,7 +37,7 @@ Install `nx` globally to invoke the command directly using `nx`, or use `npx nx` ## Examples -You can use `npm run ` for a project and leverage the caching by wrap your command with `nx exec`. +You can use `npm run ` for a project and leverage the caching by wrapping your command with `nx exec`. For example, you can run `npm run docs` as a Nx target for `myorg`: