Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct pkg env usage for exec cli #453

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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