| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 30b7133 commit b796d35
533 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,40 +72,6 @@ cache: | |||
| 72 | 72 | ||
| 73 | 73 | ### Configuration | |
| 74 | 74 | ||
| 75 | - #### `save` | ||
| 76 | - | ||
| 77 | - * Default: `true` unless when using `npm update` where it defaults to `false` | ||
| 78 | - * Type: Boolean | ||
| 79 | - | ||
| 80 | - Save installed packages to a `package.json` file as dependencies. | ||
| 81 | - | ||
| 82 | - When used with the `npm rm` command, removes the dependency from | ||
| 83 | - `package.json`. | ||
| 84 | - | ||
| 85 | - Will also prevent writing to `package-lock.json` if set to `false`. | ||
| 86 | - | ||
| 87 | - #### `save-exact` | ||
| 88 | - | ||
| 89 | - * Default: false | ||
| 90 | - * Type: Boolean | ||
| 91 | - | ||
| 92 | - Dependencies saved to package.json will be configured with an exact version | ||
| 93 | - rather than using npm's default semver range operator. | ||
| 94 | - | ||
| 95 | - #### `global` | ||
| 96 | - | ||
| 97 | - * Default: false | ||
| 98 | - * Type: Boolean | ||
| 99 | - | ||
| 100 | - Operates in "global" mode, so that packages are installed into the `prefix` | ||
| 101 | - folder instead of the current working directory. See | ||
| 102 | - [folders](/configuring-npm/folders) for more on the differences in behavior. | ||
| 103 | - | ||
| 104 | - * packages are installed into the `{prefix}/lib/node_modules` folder, instead | ||
| 105 | - of the current working directory. | ||
| 106 | - * bin files are linked to `{prefix}/bin` | ||
| 107 | - * man pages are linked to `{prefix}/share/man` | ||
| 108 | - | ||
| 109 | 75 | #### `install-strategy` | |
| 110 | 76 | ||
| 111 | 77 | * Default: "hoisted" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ npm set key=value [key=value...] | |||
| 46 | 46 | ||
| 47 | 47 | Sets each of the config keys to the value provided. | |
| 48 | 48 | ||
| 49 | - If value is omitted, then it sets it to an empty string. | ||
| 49 | + If value is omitted, the key will be removed from your config file entirely. | ||
| 50 | 50 | ||
| 51 | 51 | Note: for backwards compatibility, `npm config set key value` is supported | |
| 52 | 52 | as an alias for `npm config set key=value`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,40 +18,6 @@ This command runs `npm ci` followed immediately by `npm test`. | |||
| 18 | 18 | ||
| 19 | 19 | ### Configuration | |
| 20 | 20 | ||
| 21 | - #### `save` | ||
| 22 | - | ||
| 23 | - * Default: `true` unless when using `npm update` where it defaults to `false` | ||
| 24 | - * Type: Boolean | ||
| 25 | - | ||
| 26 | - Save installed packages to a `package.json` file as dependencies. | ||
| 27 | - | ||
| 28 | - When used with the `npm rm` command, removes the dependency from | ||
| 29 | - `package.json`. | ||
| 30 | - | ||
| 31 | - Will also prevent writing to `package-lock.json` if set to `false`. | ||
| 32 | - | ||
| 33 | - #### `save-exact` | ||
| 34 | - | ||
| 35 | - * Default: false | ||
| 36 | - * Type: Boolean | ||
| 37 | - | ||
| 38 | - Dependencies saved to package.json will be configured with an exact version | ||
| 39 | - rather than using npm's default semver range operator. | ||
| 40 | - | ||
| 41 | - #### `global` | ||
| 42 | - | ||
| 43 | - * Default: false | ||
| 44 | - * Type: Boolean | ||
| 45 | - | ||
| 46 | - Operates in "global" mode, so that packages are installed into the `prefix` | ||
| 47 | - folder instead of the current working directory. See | ||
| 48 | - [folders](/configuring-npm/folders) for more on the differences in behavior. | ||
| 49 | - | ||
| 50 | - * packages are installed into the `{prefix}/lib/node_modules` folder, instead | ||
| 51 | - of the current working directory. | ||
| 52 | - * bin files are linked to `{prefix}/bin` | ||
| 53 | - * man pages are linked to `{prefix}/share/man` | ||
| 54 | - | ||
| 55 | 21 | #### `install-strategy` | |
| 56 | 22 | ||
| 57 | 23 | * Default: "hoisted" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |||
| 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | |
| 28 | 28 | ||
| 29 | 29 | ```bash | |
| 30 | - npm@9.6.4 /path/to/npm | ||
| 30 | + npm@9.6.6 /path/to/npm | ||
| 31 | 31 | └─┬ init-package-json@0.0.4 | |
| 32 | 32 | └── promzard@0.1.5 | |
| 33 | 33 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -199,7 +199,8 @@ This value is not exported to the environment for child processes. | |||
| 199 | 199 | * Default: false | |
| 200 | 200 | * Type: Boolean | |
| 201 | 201 | ||
| 202 | - Indicates that a provenance statement should be generated. | ||
| 202 | + When publishing from a supported cloud CI/CD system, the package will be | ||
| 203 | + publicly linked to where it was built and published from. | ||
| 203 | 204 | ||
| 204 | 205 | ### See Also | |
| 205 | 206 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 9.6.4 | ||
| 17 | + 9.6.6 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,7 +72,7 @@ Man pages are not installed on Windows systems. | |||
| 72 | 72 | #### Cache | |
| 73 | 73 | ||
| 74 | 74 | See [`npm cache`](/commands/npm-cache). Cache files are stored in `~/.npm` on Posix, or | |
| 75 | - `%AppData%/npm-cache` on Windows. | ||
| 75 | + `%LocalAppData%/npm-cache` on Windows. | ||
| 76 | 76 | ||
| 77 | 77 | This is controlled by the [`cache` config](/using-npm/config#cache) param. | |
| 78 | 78 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1010,7 +1010,8 @@ Set to `false` to suppress the progress bar. | |||
| 1010 | 1010 | * Default: false | |
| 1011 | 1011 | * Type: Boolean | |
| 1012 | 1012 | ||
| 1013 | - Indicates that a provenance statement should be generated. | ||
| 1013 | + When publishing from a supported cloud CI/CD system, the package will be | ||
| 1014 | + publicly linked to where it was built and published from. | ||
| 1014 | 1015 | ||
| 1015 | 1016 | #### `proxy` | |
| 1016 | 1017 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,7 +142,7 @@ <h1 id="npm-ci">npm-ci</h1> | |||
| 142 | 142 | ||
| 143 | 143 | <section id="table_of_contents"> | |
| 144 | 144 | <h2 id="table-of-contents">Table of contents</h2> | |
| 145 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#example">Example</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#example">Example</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 146 | 146 | </section> | |
| 147 | 147 | ||
| 148 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -196,36 +196,6 @@ <h3 id="example">Example</h3> | |||
| 196 | 196 | - "$HOME/.npm" | |
| 197 | 197 | </code></pre> | |
| 198 | 198 | <h3 id="configuration">Configuration</h3> | |
| 199 | - <h4 id="save"><code>save</code></h4> | ||
| 200 | - <ul> | ||
| 201 | - <li>Default: <code>true</code> unless when using <code>npm update</code> where it defaults to <code>false</code></li> | ||
| 202 | - <li>Type: Boolean</li> | ||
| 203 | - </ul> | ||
| 204 | - <p>Save installed packages to a <code>package.json</code> file as dependencies.</p> | ||
| 205 | - <p>When used with the <code>npm rm</code> command, removes the dependency from | ||
| 206 | - <code>package.json</code>.</p> | ||
| 207 | - <p>Will also prevent writing to <code>package-lock.json</code> if set to <code>false</code>.</p> | ||
| 208 | - <h4 id="save-exact"><code>save-exact</code></h4> | ||
| 209 | - <ul> | ||
| 210 | - <li>Default: false</li> | ||
| 211 | - <li>Type: Boolean</li> | ||
| 212 | - </ul> | ||
| 213 | - <p>Dependencies saved to package.json will be configured with an exact version | ||
| 214 | - rather than using npm's default semver range operator.</p> | ||
| 215 | - <h4 id="global"><code>global</code></h4> | ||
| 216 | - <ul> | ||
| 217 | - <li>Default: false</li> | ||
| 218 | - <li>Type: Boolean</li> | ||
| 219 | - </ul> | ||
| 220 | - <p>Operates in "global" mode, so that packages are installed into the <code>prefix</code> | ||
| 221 | - folder instead of the current working directory. See | ||
| 222 | - <a href="../configuring-npm/folders.html">folders</a> for more on the differences in behavior.</p> | ||
| 223 | - <ul> | ||
| 224 | - <li>packages are installed into the <code>{prefix}/lib/node_modules</code> folder, instead | ||
| 225 | - of the current working directory.</li> | ||
| 226 | - <li>bin files are linked to <code>{prefix}/bin</code></li> | ||
| 227 | - <li>man pages are linked to <code>{prefix}/share/man</code></li> | ||
| 228 | - </ul> | ||
| 229 | 199 | <h4 id="install-strategy"><code>install-strategy</code></h4> | |
| 230 | 200 | <ul> | |
| 231 | 201 | <li>Default: "hoisted"</li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -172,7 +172,7 @@ <h4 id="set">set</h4> | |||
| 172 | 172 | npm set key=value [key=value...] | |
| 173 | 173 | </code></pre> | |
| 174 | 174 | <p>Sets each of the config keys to the value provided.</p> | |
| 175 | - <p>If value is omitted, then it sets it to an empty string.</p> | ||
| 175 | + <p>If value is omitted, the key will be removed from your config file entirely.</p> | ||
| 176 | 176 | <p>Note: for backwards compatibility, <code>npm config set key value</code> is supported | |
| 177 | 177 | as an alias for <code>npm config set key=value</code>.</p> | |
| 178 | 178 | <h4 id="get">get</h4> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments