Skip to content

Commit

Permalink
docs: correct pkg env usage for exec cli (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Oct 9, 2023
1 parent 7e645b3 commit c455b32
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/cli/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\>
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/cli/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\>
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-2.x/cli/recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\>
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-2.x/pnpm-recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-3.x/cli/recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-3.x/pnpm-recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-4.x/cli/recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-4.x/pnpm-recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-5.x/cli/recursive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\>
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs_archived/version-6.x/cli/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c455b32

Please sign in to comment.