CLI documentation update from CI

npm CLI robot committed Apr 8, 2025 at 18:20 UTC 65a3e5c71485c1d3f296836296373385b4f7fcc5
8 files changed +54 -7
cli-cache.json
+1 -1
@@ -2,5 +2,5 @@
2 "v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
3 "v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
4 "v10": "a3041941586b6fb8ed7403fe3c24d81138a96005",
5 - "v11": "7fb624f32a4ae881824965c190bf6ae324eb83cb"
5 + "v11": "5bd086babba5f5b41548609405218c5e892bca7f"
6 }
\ No newline at end of file
content/cli/v11/commands/npm-ls.mdx
+1 -1
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
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:
53
54 ```bash
55 -npm@11.2.0 /path/to/npm
55 +npm@11.3.0 /path/to/npm
56 └─┬ init-package-json@0.0.4
57 └── promzard@0.1.5
58 ```
content/cli/v11/commands/npm.mdx
+1 -1
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
31
32 ### Version
33
34 -11.2.0
34 +11.3.0
35
36 ### Description
37
content/cli/v11/configuring-npm/package-json.mdx
+2 -2
@@ -622,7 +622,7 @@ in which case they will be normalized to a relative path and added to your `pack
622
623 This feature is helpful for local offline development and creating tests that require npm installing where you don't want to hit an external server, but should not be used when publishing your package to the public registry.
624
625 -_note_: Packages linked by local path will not have their own dependencies installed when `npm install` is ran in this case. You must run `npm install` from inside the local path itself.
625 +_note_: Packages linked by local path will not have their own dependencies installed when `npm install` is run. You must run `npm install` from inside the local path itself.
626
627 ### devDependencies
628
@@ -785,7 +785,7 @@ The above is a short hand notation, the full object form can be used to allow ov
785 }
786 ```
787
788 -To only override `@npm/foo` to be `1.0.0` when it's a child (or grandchild, or great grandchild, etc) of the package `bar`:
788 +To only override `@npm/foo` to be `1.0.0` when it's a child (or grandchild, or great grandchild, etc) of the package `@npm/bar`:
789
790 ```json
791 {
content/cli/v11/using-npm/changelog.mdx
+38
@@ -15,6 +15,44 @@ redirect_from:
15 - /using-npm/changelog
16 ---
17
18 +## [11.3.0](https://github.com/npm/cli/compare/v11.2.0...v11.3.0) (2025-04-08)
19 +
20 +### Features
21 +
22 +- [`b306d25`](https://github.com/npm/cli/commit/b306d25df2f2e6ae75fd4f6657e0858b6dd71c43) [#8129](https://github.com/npm/cli/pull/8129) add `node-gyp` as actual config (@wraithgar)
23 +
24 +### Bug Fixes
25 +
26 +- [`2f5392a`](https://github.com/npm/cli/commit/2f5392ae1f87fd3df3d7e521e0e69222fb9899e5) [#8135](https://github.com/npm/cli/pull/8135) make `npm run` autocomplete work with workspaces (#8135) (@terrainvidia)
27 +
28 +### Documentation
29 +
30 +- [`26b6454`](https://github.com/npm/cli/commit/26b64543ebb27e421c05643eb996f6765c13444c) fix grammer in local path note (@cgay)
31 +- [`1c0e83d`](https://github.com/npm/cli/commit/1c0e83d6c165a714c7c37c0887e350042e53cf34) [#7886](https://github.com/npm/cli/pull/7886) fix typo in package-json.md (#7886) (@stoneLeaf)
32 +- [`14efa57`](https://github.com/npm/cli/commit/14efa57f13b2bbbf10b0b217b981f919556789cd) [#8178](https://github.com/npm/cli/pull/8178) fix example package name in `overrides` explainer (#8178) (@G-Rath)
33 +- [`4183cba`](https://github.com/npm/cli/commit/4183cba3e13bcfea83fa3ef2b6c5b0c9685f79bc) [#8162](https://github.com/npm/cli/pull/8162) logging: replace proceeding with preceding in loglevels details (#8162) (@tyleralbee)
34 +
35 +### Dependencies
36 +
37 +- [`e57f112`](https://github.com/npm/cli/commit/e57f1126e496aa88e7164bf3102147b95d96c9c8) [#8207](https://github.com/npm/cli/pull/8207) `minipass-fetch@4.0.1`
38 +- [`3daabb1`](https://github.com/npm/cli/commit/3daabb1a0cd048db303a9246ab6855f2a0550c96) [#8207](https://github.com/npm/cli/pull/8207) `minizlib@3.0.2`
39 +- [`c7a7527`](https://github.com/npm/cli/commit/c7a752709509baffe674ca6d49e480835ff4a2df) [#8207](https://github.com/npm/cli/pull/8207) `ci-info@4.2.0`
40 +- [`20b09b6`](https://github.com/npm/cli/commit/20b09b67bedca8d2d49404d32d031bf1d875bf81) [#8207](https://github.com/npm/cli/pull/8207) `node-gyp@11.2.0`
41 +- [`679bc4a`](https://github.com/npm/cli/commit/679bc4a71614bffedfbea3058af13c7deb69fcd4) [#8129](https://github.com/npm/cli/pull/8129) `@npmcli/run-script@9.1.0`
42 +
43 +### Chores
44 +
45 +- [`3fbed84`](https://github.com/npm/cli/commit/3fbed848c1f909cf1321ad0916f938bae116219f) [#8207](https://github.com/npm/cli/pull/8207) install rimraf as a devdependency for smoke tests (@owlstronaut)
46 +- [`43f0b41`](https://github.com/npm/cli/commit/43f0b41a17b32997e7de9369c485acc8aa661c0a) [#8207](https://github.com/npm/cli/pull/8207) dev dependency updates (@wraithgar)
47 +- [`26803bc`](https://github.com/npm/cli/commit/26803bc46cf85e400b66644c975ee99f6fd0575e) [#8147](https://github.com/npm/cli/pull/8147) release integration node 23 yml (#8147) (@reggi)
48 +- [`d679a1a`](https://github.com/npm/cli/commit/d679a1ae9e22eb01663d3390b9522b1b5380db32) [#8146](https://github.com/npm/cli/pull/8146) release integration node 23 (#8146) (@reggi)
49 +- [workspace](https://github.com/npm/cli/releases/tag/arborist-v9.0.2): `@npmcli/arborist@9.0.2`
50 +- [workspace](https://github.com/npm/cli/releases/tag/config-v10.2.0): `@npmcli/config@10.2.0`
51 +- [workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v8.0.2): `libnpmdiff@8.0.2`
52 +- [workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v10.1.1): `libnpmexec@10.1.1`
53 +- [workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v7.0.2): `libnpmfund@7.0.2`
54 +- [workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v9.0.2): `libnpmpack@9.0.2`
55 +
56 ## [11.2.0](https://github.com/npm/cli/compare/v11.1.0...v11.2.0) (2025-03-05)
57
58 ### Features
content/cli/v11/using-npm/config.mdx
+9
@@ -749,6 +749,15 @@ Commit message which is used by `npm version` when creating version commit.
749
750 Any "%s" in the message will be replaced with the version number.
751
752 +#### `node-gyp`
753 +
754 +- Default: The path to the node-gyp bin that ships with npm
755 +- Type: Path
756 +
757 +This is the location of the "node-gyp" bin. By default it uses one that ships with npm itself.
758 +
759 +You can use this config to specify your own "node-gyp" to run when it is required to build a package.
760 +
761 #### `node-options`
762
763 - Default: null
content/cli/v11/using-npm/logging.mdx
+1 -1
@@ -50,7 +50,7 @@ The default value of `loglevel` is `"notice"` but there are several levels/types
50 - `"verbose"`
51 - `"silly"`
52
53 -All logs pertaining to a level proceeding the current setting will be shown.
53 +All logs pertaining to a level preceding the current setting will be shown.
54
55 ##### Aliases
56
content/nav.yml
+1 -1
@@ -1594,7 +1594,7 @@
1594 - title: Changelog
1595 url: /cli/v10/using-npm/changelog
1596 description: Changelog notes for each version
1597 - - title: Version 11.2.0
1597 + - title: Version 11.3.0
1598 shortName: v11
1599 url: /cli/v11
1600 default: true