Skip to content

Commit

Permalink
docs: update description of npm exec (#5881)
Browse files Browse the repository at this point in the history
* chore(docs): update description of npm exec

Co-authored-by: Gar <wraithgar@github.com>
  • Loading branch information
styfle and wraithgar authored Nov 30, 2022
1 parent ffbdea2 commit ea948dc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/lib/content/commands/npm-exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ specified multiple times, to execute the supplied command in an environment
where all specified packages are available.

If any requested packages are not present in the local project
dependencies, then they are installed to a folder in the npm cache, which
is added to the `PATH` environment variable in the executed process. A
prompt is printed (which can be suppressed by providing either `--yes` or
`--no`).
dependencies, then a prompt is printed, which can be suppressed by
providing either `--yes` or `--no`. When standard input is not a TTY or a
CI environment is detected, `--yes` is assumed. The requested packages are
installed to a folder in the npm cache, which is added to the `PATH`
environment variable in the executed process.

Package names provided without a specifier will be matched with whatever
version exists in the local project. Package names with a specifier will
Expand Down

0 comments on commit ea948dc

Please sign in to comment.