CLI documentation update from CI
CI User committed
Jun 4, 2021 at 03:04 UTC
403634ec6e5a9b46c2c5bd285dc0cb7afab9f131
3 files changed
+4
-7
cli/v7
+1
-1
@@ -1 +1 @@
1
-Subproject commit 73633e566661f38d78a61faa1ab43919dc5696e6
1
+Subproject commit 33a31a97eb3f14d8a4b6b681e51d44056fd9a3c1
content/cli/v7/commands/npm-run-script.md
+1
-6
@@ -80,11 +80,7 @@ can use the `INIT_CWD` environment variable, which holds the full path you
80
were in when you ran `npm run`.
81
82
`npm run` sets the `NODE` environment variable to the `node` executable
83
-with which `npm` is executed. Also, if the `--scripts-prepend-node-path` is
84
-passed, the directory within which `node` resides is added to the `PATH`.
85
-If `--scripts-prepend-node-path=auto` is passed (which has been the default
86
-in `npm` v3), this is only performed when that `node` executable is not
87
-found in the `PATH`.
83
+with which `npm` is executed.
84
85
If you try to run a script without having a `node_modules` directory and it
86
fails, you will be given a warning to run `npm install`, just in case you've
@@ -148,7 +144,6 @@ npm test -w a -w b
144
This last command will run `test` in both `./packages/a` and `./packages/b`
145
packages.
146
151
-
147
### Configuration
148
149
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
content/cli/v7/using-npm/config.md
+2
@@ -784,6 +784,8 @@ What level of logs to report. On failure, *all* logs are written to
784
Any logs of a higher level than the setting are shown. The default is
785
"notice".
786
787
+See also the `foreground-scripts` config.
788
+
789
#### `logs-max`
790
791
* Default: 10