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/v10/commands/npm-ls.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
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/v10/configuring-npm/npmrc.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The four relevant files are:
37
37
All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. For example:
38
38
39
39
```bash
40
-
prefix = ${HOME}/.npm-packages
40
+
cache = ${HOME}/.npm-packages
41
41
```
42
42
43
43
Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file.
-[`2404c7e`](https://github.com/npm/cli/commit/2404c7e991e1a4962608a1e6b2453a7ccee4e0a5)[#7738](https://github.com/npm/cli/pull/7738) publish: consider package-spec when inside workspace dir (#7738) (@milaninfy)
24
+
-[`91e46a3`](https://github.com/npm/cli/commit/91e46a34b685ebbf134d573209731868cae304d0)[#7721](https://github.com/npm/cli/pull/7721) init: use locally installed version of given package (#7721) (@milaninfy)
25
+
-[`4e81a6a`](https://github.com/npm/cli/commit/4e81a6a4106e4e125b0eefda042b75cfae0a5f23)[#7674](https://github.com/npm/cli/pull/7674) always set exit code if exiting uncleanly (#7674) (@wraithgar, @hashtagchris)
26
+
-[`a947f25`](https://github.com/npm/cli/commit/a947f25bd4576f7ef70fe6b1226e72252fa7a571)[#7679](https://github.com/npm/cli/pull/7679) update lifecycle script list in run-script (#7679) (@sonsurim)
27
+
28
+
### Documentation
29
+
30
+
-[`e674987`](https://github.com/npm/cli/commit/e674987c8dc5634c3b2a8a4d0f024d15041ba23c)[#7743](https://github.com/npm/cli/pull/7743) update docs for npmrc and package-json (#7743) (@milaninfy)
31
+
-[`24d5350`](https://github.com/npm/cli/commit/24d53505491195b5c853c05db322f19c5ea091e0)[#7742](https://github.com/npm/cli/pull/7742) fix and update scoped configuration example (#7742) (@demedos)
-[`ed4add1`](https://github.com/npm/cli/commit/ed4add1e2791180a19f0fe1ebfa08a0837d3fe1a)[#7737](https://github.com/npm/cli/pull/7737) dev dependency updates (@wraithgar)
51
+
-[`86b05fc`](https://github.com/npm/cli/commit/86b05fc8f110cadc67fcf7417bc0646289919000)[#7683](https://github.com/npm/cli/pull/7683) allow for longer timer values (#7683) (@wraithgar)
0 commit comments