You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/cli/v11/commands/npm-ls.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
52
52
Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
Copy file name to clipboardExpand all lines: content/cli/v11/configuring-npm/folders.mdx
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -67,12 +67,6 @@ See [`npm cache`](/cli/v11/commands/npm-cache). Cache files are stored in `~/.np
67
67
68
68
This is controlled by the [`cache` config](/cli/v11/using-npm/config#cache) param.
69
69
70
-
#### Temp Files
71
-
72
-
Temporary files are stored by default in the folder specified by the [`tmp` config](/cli/v11/using-npm/config#tmp), which defaults to the TMPDIR, TMP, or TEMP environment variables, or `/tmp` on Unix and `c:\windows\temp` on Windows.
73
-
74
-
Temp files are given a unique folder under this root for each run of the program, and are deleted upon successful exit.
75
-
76
70
### More Information
77
71
78
72
When installing locally, npm first tries to find an appropriate `prefix` folder. This is so that `npm install foo@1.2.3` will install to the sensible root of your package, even if you happen to have `cd`ed into some other folder.
-[`f2d6947`](https://github.com/npm/cli/commit/f2d69478923b919c77bbb8bdb70c30ddeb59ffe7)[#8345](https://github.com/npm/cli/pull/8345) move warning to new line when `npm init` is canceled (@mbtools)
-[`7233cb3`](https://github.com/npm/cli/commit/7233cb3a159872236338b97bcb9d3797864abb33)[#8355](https://github.com/npm/cli/pull/8355) remove deprecated section related temp files (#8355) (@milaninfy)
28
+
-[`fb7a498`](https://github.com/npm/cli/commit/fb7a498d557abdd0c1a6945522d47878cf930a27)[#8351](https://github.com/npm/cli/pull/8351) clarify shell used for script (#8351) (@milaninfy)
29
+
-[`8b55d38`](https://github.com/npm/cli/commit/8b55d38cd2815a9503aed664c85eb678203dc4d4)[#8329](https://github.com/npm/cli/pull/8329) Rename "command" to "script" (#8329) (@DanKaplanSES)
-[`0ad1444`](https://github.com/npm/cli/commit/0ad1444d76b0b68e4a4d48d7f22ebd4cd0d0e850)[#8358](https://github.com/npm/cli/pull/8358) dev dependency updates (@wraithgar)
Copy file name to clipboardExpand all lines: content/cli/v11/using-npm/scripts.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -304,7 +304,7 @@ If you want to run a make command, you can do so. This works just fine:
304
304
305
305
### Exiting
306
306
307
-
Scripts are run by passing the line as a script argument to `sh`.
307
+
Scripts are run by passing the line as a script argument to `/bin/sh` on POSIX systems or `cmd.exe` on Windows. You can control which shell is used by setting the [`script-shell`](/cli/v11/using-npm/config#script-shell) configuration option.
308
308
309
309
If the script exits with a code other than 0, then this will abort the process.
0 commit comments