From c455b32468c5ce8c366c33dbdb1ca5631f467b1f Mon Sep 17 00:00:00 2001 From: Peach Date: Tue, 10 Oct 2023 02:54:26 +0800 Subject: [PATCH] docs: correct pkg env usage for exec cli (#453) --- docs/cli/exec.md | 2 +- versioned_docs/version-7.x/cli/exec.md | 2 +- versioned_docs_archived/version-2.x/cli/recursive.md | 2 +- versioned_docs_archived/version-2.x/pnpm-recursive.md | 2 +- versioned_docs_archived/version-3.x/cli/recursive.md | 2 +- versioned_docs_archived/version-3.x/pnpm-recursive.md | 2 +- versioned_docs_archived/version-4.x/cli/recursive.md | 2 +- versioned_docs_archived/version-4.x/pnpm-recursive.md | 2 +- versioned_docs_archived/version-5.x/cli/recursive.md | 2 +- versioned_docs_archived/version-6.x/cli/exec.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/cli/exec.md b/docs/cli/exec.md index 10c26569929f..b1149cc9fe73 100644 --- a/docs/cli/exec.md +++ b/docs/cli/exec.md @@ -56,7 +56,7 @@ pnpm -r exec rm -rf node_modules View package information for all packages. This should be used with the `--shell-mode` (or `-c`) option for the environment variable to work. ``` -pnpm -rc exec pnpm view $PNPM_PACKAGE_NAME +pnpm -rc exec pnpm view \$PNPM_PACKAGE_NAME ``` ### --resume-from <package_name\> diff --git a/versioned_docs/version-7.x/cli/exec.md b/versioned_docs/version-7.x/cli/exec.md index 895df48ab3f8..c131c7e5715f 100644 --- a/versioned_docs/version-7.x/cli/exec.md +++ b/versioned_docs/version-7.x/cli/exec.md @@ -56,7 +56,7 @@ pnpm -r exec rm -rf node_modules View package information for all packages. This should be used with the `--shell-mode` (or `-c`) option for the environment variable to work. ``` -pnpm -rc exec pnpm view $PNPM_PACKAGE_NAME +pnpm -rc exec pnpm view \$PNPM_PACKAGE_NAME ``` ### --resume-from <package_name\> diff --git a/versioned_docs_archived/version-2.x/cli/recursive.md b/versioned_docs_archived/version-2.x/cli/recursive.md index b05d47a5ee7d..bd4fa31b8dcf 100644 --- a/versioned_docs_archived/version-2.x/cli/recursive.md +++ b/versioned_docs_archived/version-2.x/cli/recursive.md @@ -103,7 +103,7 @@ Examples: # prune node_modules installations for all packages pnpm -r exec -- rm -rf node_modules # view package information for all packages -pnpm -r exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm -r exec -- pnpm view \$PNPM_PACKAGE_NAME ``` ### --filter <package_selector\> diff --git a/versioned_docs_archived/version-2.x/pnpm-recursive.md b/versioned_docs_archived/version-2.x/pnpm-recursive.md index 95c14a4f3bfd..a5a893dc62db 100644 --- a/versioned_docs_archived/version-2.x/pnpm-recursive.md +++ b/versioned_docs_archived/version-2.x/pnpm-recursive.md @@ -342,5 +342,5 @@ Usage examples: ```sh pnpm recursive exec -- rm -rf node_modules -pnpm recursive exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm recursive exec -- pnpm view \$PNPM_PACKAGE_NAME ``` diff --git a/versioned_docs_archived/version-3.x/cli/recursive.md b/versioned_docs_archived/version-3.x/cli/recursive.md index 8c98f6de8407..7403a4d02a71 100644 --- a/versioned_docs_archived/version-3.x/cli/recursive.md +++ b/versioned_docs_archived/version-3.x/cli/recursive.md @@ -77,5 +77,5 @@ Usage examples: ```sh pnpm recursive exec -- rm -rf node_modules -pnpm recursive exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm recursive exec -- pnpm view \$PNPM_PACKAGE_NAME ``` diff --git a/versioned_docs_archived/version-3.x/pnpm-recursive.md b/versioned_docs_archived/version-3.x/pnpm-recursive.md index d44325199822..fd835e9e5747 100644 --- a/versioned_docs_archived/version-3.x/pnpm-recursive.md +++ b/versioned_docs_archived/version-3.x/pnpm-recursive.md @@ -347,5 +347,5 @@ Usage examples: ```sh pnpm recursive exec -- rm -rf node_modules -pnpm recursive exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm recursive exec -- pnpm view \$PNPM_PACKAGE_NAME ``` diff --git a/versioned_docs_archived/version-4.x/cli/recursive.md b/versioned_docs_archived/version-4.x/cli/recursive.md index 08719cb825a8..0a8f95af4776 100644 --- a/versioned_docs_archived/version-4.x/cli/recursive.md +++ b/versioned_docs_archived/version-4.x/cli/recursive.md @@ -77,5 +77,5 @@ Usage examples: ```sh pnpm recursive exec -- rm -rf node_modules -pnpm recursive exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm recursive exec -- pnpm view \$PNPM_PACKAGE_NAME ``` diff --git a/versioned_docs_archived/version-4.x/pnpm-recursive.md b/versioned_docs_archived/version-4.x/pnpm-recursive.md index d44325199822..fd835e9e5747 100644 --- a/versioned_docs_archived/version-4.x/pnpm-recursive.md +++ b/versioned_docs_archived/version-4.x/pnpm-recursive.md @@ -347,5 +347,5 @@ Usage examples: ```sh pnpm recursive exec -- rm -rf node_modules -pnpm recursive exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm recursive exec -- pnpm view \$PNPM_PACKAGE_NAME ``` diff --git a/versioned_docs_archived/version-5.x/cli/recursive.md b/versioned_docs_archived/version-5.x/cli/recursive.md index b05d47a5ee7d..bd4fa31b8dcf 100644 --- a/versioned_docs_archived/version-5.x/cli/recursive.md +++ b/versioned_docs_archived/version-5.x/cli/recursive.md @@ -103,7 +103,7 @@ Examples: # prune node_modules installations for all packages pnpm -r exec -- rm -rf node_modules # view package information for all packages -pnpm -r exec -- pnpm view $PNPM_PACKAGE_NAME +pnpm -r exec -- pnpm view \$PNPM_PACKAGE_NAME ``` ### --filter <package_selector\> diff --git a/versioned_docs_archived/version-6.x/cli/exec.md b/versioned_docs_archived/version-6.x/cli/exec.md index be69ec510730..3f2b160dd083 100644 --- a/versioned_docs_archived/version-6.x/cli/exec.md +++ b/versioned_docs_archived/version-6.x/cli/exec.md @@ -58,7 +58,7 @@ pnpm -r exec rm -rf node_modules View package information for all packages. This should be used with the `--shell-mode` (or `-c`) option for the environment variable to work. ``` -pnpm -rc exec pnpm view $PNPM_PACKAGE_NAME +pnpm -rc exec pnpm view \$PNPM_PACKAGE_NAME ``` ### --parallel