Skip to content

Commit 240f524

Browse files
committed
CLI documentation update from CI
1 parent e271e92 commit 240f524

File tree

6 files changed

+47
-6
lines changed

6 files changed

+47
-6
lines changed

content/cli/v10/commands/npm-ls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
5252
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:
5353

5454
```bash
55-
[email protected].2 /path/to/npm
55+
[email protected].3 /path/to/npm
5656
5757
5858
```

content/cli/v10/commands/npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
3131

3232
### Version
3333

34-
10.8.2
34+
10.8.3
3535

3636
### Description
3737

content/cli/v10/configuring-npm/npmrc.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The four relevant files are:
3737
All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. For example:
3838

3939
```bash
40-
prefix = ${HOME}/.npm-packages
40+
cache = ${HOME}/.npm-packages
4141
```
4242

4343
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.
@@ -107,10 +107,13 @@ _authToken=MYTOKEN
107107
@myorg:registry=https://somewhere-else.com/myorg
108108
@another:registry=https://somewhere-else.com/another
109109
//registry.npmjs.org/:_authToken=MYTOKEN
110+
110111
; would apply to both @myorg and @another
111-
; //somewhere-else.com/:_authToken=MYTOKEN
112+
//somewhere-else.com/:_authToken=MYTOKEN
113+
112114
; would apply only to @myorg
113115
//somewhere-else.com/myorg/:_authToken=MYTOKEN1
116+
114117
; would apply only to @another
115118
//somewhere-else.com/another/:_authToken=MYTOKEN2
116119
```

content/cli/v10/configuring-npm/package-json.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ See [semver](https://github.com/npm/node-semver#versions) for more details about
512512
- `user/repo` See 'GitHub URLs' below
513513
- `tag` A specific version tagged and published as `tag` See [`npm dist-tag`](/cli/v10/commands/npm-dist-tag)
514514
- `path/path/path` See [Local Paths](#local-paths) below
515+
- `npm:@scope/pkg@version` Custom alias for a pacakge See [`package-spec`](/cli/v10/using-npm/package-spec#aliases)
515516

516517
For example, these are all valid:
517518

@@ -529,7 +530,8 @@ For example, these are all valid:
529530
"two": "2.x",
530531
"thr": "3.3.x",
531532
"lat": "latest",
532-
"dyl": "file:../dyl"
533+
"dyl": "file:../dyl",
534+
"kpg": "npm:[email protected]"
533535
}
534536
}
535537
```

content/cli/v10/using-npm/changelog.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,42 @@ redirect_from:
1515
- /using-npm/changelog
1616
---
1717

18+
## [10.8.3](https://github.com/npm/cli/compare/v10.8.2...v10.8.3) (2024-08-28)
19+
20+
### Bug Fixes
21+
22+
- [`7e61151`](https://github.com/npm/cli/commit/7e61151b9ab4f62a83e9ea8bcfa15ece11b6a1fd) [#7759](https://github.com/npm/cli/pull/7759) docs: init usage description corrected (#7759) (@milaninfy)
23+
- [`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)
32+
33+
### Dependencies
34+
35+
- [`3fd7a48`](https://github.com/npm/cli/commit/3fd7a48a26e1839580780fe969a89f71c6932064) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
36+
- [`d7e462b`](https://github.com/npm/cli/commit/d7e462b28c4e9380b96f7a683fdcc02a0915a826) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
37+
- [`df58b0c`](https://github.com/npm/cli/commit/df58b0c756d5279b219c684e0768b279d2607eab) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
38+
- [`7342c24`](https://github.com/npm/cli/commit/7342c2460a38bfc16783b927f7454ddc353592c7) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
39+
- [`2986f4e`](https://github.com/npm/cli/commit/2986f4e5e08ea9d606012ee609a0b722a76b4252) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
40+
- [`a44ab26`](https://github.com/npm/cli/commit/a44ab26326d04e3eb0d48e7749b41e1e0f30c5ca) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
41+
- [`4e965ad`](https://github.com/npm/cli/commit/4e965ad4c990f501481c569bf28e543625cbd7ff) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
42+
- [`12587fa`](https://github.com/npm/cli/commit/12587fa8e926b63b13ff0443e474ec4eea0b1d5a) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
43+
- [`1a9ac86`](https://github.com/npm/cli/commit/1a9ac861fcb5113e661239c54ae7a6aaa96bf88b) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
44+
- [`a303ddd`](https://github.com/npm/cli/commit/a303dddaf1b853cc351cc9aadb47741cf5c3f998) [#7737](https://github.com/npm/cli/pull/7737) `[email protected]`
45+
46+
### Chores
47+
48+
- [`1772276`](https://github.com/npm/cli/commit/1772276c881911277efed4cdc386901d9c19d65b) [#7756](https://github.com/npm/cli/pull/7756) fix duplicate changelog entries (@wraithgar)
49+
- [`8035725`](https://github.com/npm/cli/commit/80357253ecd8483463cd66c783c4464c330d72df) [#7756](https://github.com/npm/cli/pull/7756) `@npmcli/[email protected]` (@wraithgar)
50+
- [`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)
52+
- [workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v8.1.4): `[email protected]`
53+
1854
## [10.8.2](https://github.com/npm/cli/compare/v10.8.1...v10.8.2) (2024-07-09)
1955

2056
### Bug Fixes

content/nav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@
13241324
- title: Changelog
13251325
url: /cli/v9/using-npm/changelog
13261326
description: Changelog notes for each version
1327-
- title: Version 10.8.2
1327+
- title: Version 10.8.3
13281328
shortName: v10
13291329
url: /cli/v10
13301330
default: true

0 commit comments

Comments
 (0)