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: fix refs to ws shorthand #3109

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/commands/npm-exec.md
Expand Up @@ -11,7 +11,7 @@ npm exec -- <pkg>[@<version>] [args...]
npm exec --package=<pkg>[@<version>] -- <cmd> [args...]
npm exec -c '<cmd> [args...]'
npm exec --package=foo -c '<cmd> [args...]'
npm exec [-ws] [-w <workspace-name] [args...]
npm exec [--ws] [-w <workspace-name] [args...]

npx <pkg>[@<specifier>] [args...]
npx -p <pkg>[@<specifier>] <cmd> [args...]
Expand Down Expand Up @@ -184,7 +184,7 @@ in this example we're using **eslint** to lint any js file found within each
workspace folder:

```
npm exec -ws -- eslint ./*.js
npm exec --ws -- eslint ./*.js
```

#### Filtering workspaces
Expand Down Expand Up @@ -275,7 +275,7 @@ children workspaces)

#### workspaces

* Alias: `-ws`
* Alias: `--ws`
* Type: Boolean
* Default: `false`

Expand Down
2 changes: 1 addition & 1 deletion docs/content/commands/npm-run-script.md
Expand Up @@ -189,7 +189,7 @@ children workspaces)

#### workspaces

* Alias: `-ws`
* Alias: `--ws`
* Type: Boolean
* Default: `false`

Expand Down