| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a53911b commit 1fa724e
108 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,8 +250,14 @@ Not supported by all npm commands. | |||
| 250 | 250 | * Default: false | |
| 251 | 251 | * Type: Boolean | |
| 252 | 252 | ||
| 253 | - If set to true, it will update only the `package-lock.json`, instead of | ||
| 254 | - checking `node_modules` and downloading dependencies. | ||
| 253 | + If set to true, the current operation will only use the `package-lock.json`, | ||
| 254 | + ignoring `node_modules`. | ||
| 255 | + | ||
| 256 | + For `update` this means only the `package-lock.json` will be updated, | ||
| 257 | + instead of checking `node_modules` and downloading dependencies. | ||
| 258 | + | ||
| 259 | + For `list` this means the output will be based on the tree described by the | ||
| 260 | + `package-lock.json`, rather than the contents of `node_modules`. | ||
| 255 | 261 | ||
| 256 | 262 | #### `omit` | |
| 257 | 263 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -155,18 +155,21 @@ variable will be set to `'production'` for all lifecycle scripts. | |||
| 155 | 155 | * Default: false | |
| 156 | 156 | * Type: Boolean | |
| 157 | 157 | ||
| 158 | - If true, then local installs will link if there is a suitable globally | ||
| 159 | - installed package. | ||
| 158 | + Used with `npm ls`, limiting output to only those packages that are linked. | ||
| 160 | 159 | ||
| 161 | - Note that this means that local installs can cause things to be installed | ||
| 162 | - into the global space at the same time. The link is only done if one of the | ||
| 163 | - two conditions are met: | ||
| 160 | + #### `package-lock-only` | ||
| 164 | 161 | ||
| 165 | - * The package is not already installed globally, or | ||
| 166 | - * the globally installed version is identical to the version that is being | ||
| 167 | - installed locally. | ||
| 162 | + * Default: false | ||
| 163 | + * Type: Boolean | ||
| 164 | + | ||
| 165 | + If set to true, the current operation will only use the `package-lock.json`, | ||
| 166 | + ignoring `node_modules`. | ||
| 167 | + | ||
| 168 | + For `update` this means only the `package-lock.json` will be updated, | ||
| 169 | + instead of checking `node_modules` and downloading dependencies. | ||
| 168 | 170 | ||
| 169 | - When used with `npm ls`, only show packages that are linked. | ||
| 171 | + For `list` this means the output will be based on the tree described by the | ||
| 172 | + `package-lock.json`, rather than the contents of `node_modules`. | ||
| 170 | 173 | ||
| 171 | 174 | #### `unicode` | |
| 172 | 175 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,6 +36,13 @@ Whether or not to output JSON data, rather than the normal output. | |||
| 36 | 36 | ||
| 37 | 37 | Not supported by all npm commands. | |
| 38 | 38 | ||
| 39 | + #### `pack-destination` | ||
| 40 | + | ||
| 41 | + * Default: "." | ||
| 42 | + * Type: String | ||
| 43 | + | ||
| 44 | + Directory in which `npm pack` will save tarballs. | ||
| 45 | + | ||
| 39 | 46 | #### `workspace` | |
| 40 | 47 | ||
| 41 | 48 | * Default: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -743,18 +743,7 @@ Use of `legacy-peer-deps` is not recommended, as it will not enforce the | |||
| 743 | 743 | * Default: false | |
| 744 | 744 | * Type: Boolean | |
| 745 | 745 | ||
| 746 | - If true, then local installs will link if there is a suitable globally | ||
| 747 | - installed package. | ||
| 748 | - | ||
| 749 | - Note that this means that local installs can cause things to be installed | ||
| 750 | - into the global space at the same time. The link is only done if one of the | ||
| 751 | - two conditions are met: | ||
| 752 | - | ||
| 753 | - * The package is not already installed globally, or | ||
| 754 | - * the globally installed version is identical to the version that is being | ||
| 755 | - installed locally. | ||
| 756 | - | ||
| 757 | - When used with `npm ls`, only show packages that are linked. | ||
| 746 | + Used with `npm ls`, limiting output to only those packages that are linked. | ||
| 758 | 747 | ||
| 759 | 748 | #### `local-address` | |
| 760 | 749 | ||
@@ -878,6 +867,13 @@ when publishing or changing package permissions with `npm access`. | |||
| 878 | 867 | If not set, and a registry response fails with a challenge for a one-time | |
| 879 | 868 | password, npm will prompt on the command line for one. | |
| 880 | 869 | ||
| 870 | + #### `pack-destination` | ||
| 871 | + | ||
| 872 | + * Default: "." | ||
| 873 | + * Type: String | ||
| 874 | + | ||
| 875 | + Directory in which `npm pack` will save tarballs. | ||
| 876 | + | ||
| 881 | 877 | #### `package` | |
| 882 | 878 | ||
| 883 | 879 | * Default: | |
@@ -902,8 +898,14 @@ package-locks disabled use `npm prune`. | |||
| 902 | 898 | * Default: false | |
| 903 | 899 | * Type: Boolean | |
| 904 | 900 | ||
| 905 | - If set to true, it will update only the `package-lock.json`, instead of | ||
| 906 | - checking `node_modules` and downloading dependencies. | ||
| 901 | + If set to true, the current operation will only use the `package-lock.json`, | ||
| 902 | + ignoring `node_modules`. | ||
| 903 | + | ||
| 904 | + For `update` this means only the `package-lock.json` will be updated, | ||
| 905 | + instead of checking `node_modules` and downloading dependencies. | ||
| 906 | + | ||
| 907 | + For `list` this means the output will be based on the tree described by the | ||
| 908 | + `package-lock.json`, rather than the contents of `node_modules`. | ||
| 907 | 909 | ||
| 908 | 910 | #### `parseable` | |
| 909 | 911 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -324,8 +324,12 @@ <h4 id="package-lock-only"><code>package-lock-only</code></h4> | |||
| 324 | 324 | <li>Default: false</li> | |
| 325 | 325 | <li>Type: Boolean</li> | |
| 326 | 326 | </ul> | |
| 327 | - <p>If set to true, it will update only the <code>package-lock.json</code>, instead of | ||
| 328 | - checking <code>node_modules</code> and downloading dependencies.</p> | ||
| 327 | + <p>If set to true, the current operation will only use the <code>package-lock.json</code>, | ||
| 328 | + ignoring <code>node_modules</code>.</p> | ||
| 329 | + <p>For <code>update</code> this means only the <code>package-lock.json</code> will be updated, | ||
| 330 | + instead of checking <code>node_modules</code> and downloading dependencies.</p> | ||
| 331 | + <p>For <code>list</code> this means the output will be based on the tree described by the | ||
| 332 | + <code>package-lock.json</code>, rather than the contents of <code>node_modules</code>.</p> | ||
| 329 | 333 | <h4 id="omit"><code>omit</code></h4> | |
| 330 | 334 | <ul> | |
| 331 | 335 | <li>Default: ‘dev’ if the <code>NODE_ENV</code> environment variable is set to | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ <h1 id="npm-ls">npm-ls</h1> | |||
| 141 | 141 | ||
| 142 | 142 | <section id="table_of_contents"> | |
| 143 | 143 | <h2 id="table-of-contents">Table of contents</h2> | |
| 144 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#note-design-changes-pending">Note: Design Changes Pending</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#all"><code>all</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#long"><code>long</code></a></li><li><a href="#parseable"><code>parseable</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#unicode"><code>unicode</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 144 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#note-design-changes-pending">Note: Design Changes Pending</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#all"><code>all</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#long"><code>long</code></a></li><li><a href="#parseable"><code>parseable</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#unicode"><code>unicode</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | 145 | </section> | |
| 146 | 146 | ||
| 147 | 147 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -159,7 +159,7 @@ <h3 id="description">Description</h3> | |||
| 159 | 159 | the results to only the paths to the packages named. Note that nested | |
| 160 | 160 | packages will <em>also</em> show the paths to the specified packages. For | |
| 161 | 161 | example, running <code>npm ls promzard</code> in npm’s source tree will show:</p> | |
| 162 | - <pre lang="bash"><code>npm@7.17.0 /path/to/npm | ||
| 162 | + <pre lang="bash"><code>npm@7.18.1 /path/to/npm | ||
| 163 | 163 | └─┬ init-package-json@0.0.4 | |
| 164 | 164 | └── promzard@0.1.5 | |
| 165 | 165 | </code></pre> | |
@@ -263,17 +263,18 @@ <h4 id="link"><code>link</code></h4> | |||
| 263 | 263 | <li>Default: false</li> | |
| 264 | 264 | <li>Type: Boolean</li> | |
| 265 | 265 | </ul> | |
| 266 | - <p>If true, then local installs will link if there is a suitable globally | ||
| 267 | - installed package.</p> | ||
| 268 | - <p>Note that this means that local installs can cause things to be installed | ||
| 269 | - into the global space at the same time. The link is only done if one of the | ||
| 270 | - two conditions are met:</p> | ||
| 266 | + <p>Used with <code>npm ls</code>, limiting output to only those packages that are linked.</p> | ||
| 267 | + <h4 id="package-lock-only"><code>package-lock-only</code></h4> | ||
| 271 | 268 | <ul> | |
| 272 | - <li>The package is not already installed globally, or</li> | ||
| 273 | - <li>the globally installed version is identical to the version that is being | ||
| 274 | - installed locally.</li> | ||
| 269 | + <li>Default: false</li> | ||
| 270 | + <li>Type: Boolean</li> | ||
| 275 | 271 | </ul> | |
| 276 | - <p>When used with <code>npm ls</code>, only show packages that are linked.</p> | ||
| 272 | + <p>If set to true, the current operation will only use the <code>package-lock.json</code>, | ||
| 273 | + ignoring <code>node_modules</code>.</p> | ||
| 274 | + <p>For <code>update</code> this means only the <code>package-lock.json</code> will be updated, | ||
| 275 | + instead of checking <code>node_modules</code> and downloading dependencies.</p> | ||
| 276 | + <p>For <code>list</code> this means the output will be based on the tree described by the | ||
| 277 | + <code>package-lock.json</code>, rather than the contents of <code>node_modules</code>.</p> | ||
| 277 | 278 | <h4 id="unicode"><code>unicode</code></h4> | |
| 278 | 279 | <ul> | |
| 279 | 280 | <li>Default: false on windows, true on mac/unix systems with a unicode locale, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ <h1 id="npm-pack">npm-pack</h1> | |||
| 141 | 141 | ||
| 142 | 142 | <section id="table_of_contents"> | |
| 143 | 143 | <h2 id="table-of-contents">Table of contents</h2> | |
| 144 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 144 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#pack-destination"><code>pack-destination</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | 145 | </section> | |
| 146 | 146 | ||
| 147 | 147 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -168,6 +168,12 @@ <h4 id="json"><code>json</code></h4> | |||
| 168 | 168 | </ul> | |
| 169 | 169 | <p>Whether or not to output JSON data, rather than the normal output.</p> | |
| 170 | 170 | <p>Not supported by all npm commands.</p> | |
| 171 | + <h4 id="pack-destination"><code>pack-destination</code></h4> | ||
| 172 | + <ul> | ||
| 173 | + <li>Default: “.”</li> | ||
| 174 | + <li>Type: String</li> | ||
| 175 | + </ul> | ||
| 176 | + <p>Directory in which <code>npm pack</code> will save tarballs.</p> | ||
| 171 | 177 | <h4 id="workspace"><code>workspace</code></h4> | |
| 172 | 178 | <ul> | |
| 173 | 179 | <li>Default:</li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 148 | 148 | <pre lang="bash"><code>npm <command> [args] | |
| 149 | 149 | </code></pre> | |
| 150 | 150 | <h3 id="version">Version</h3> | |
| 151 | - <p>7.17.0</p> | ||
| 151 | + <p>7.18.1</p> | ||
| 152 | 152 | <h3 id="description">Description</h3> | |
| 153 | 153 | <p>npm is the package manager for the Node JavaScript platform. It puts | |
| 154 | 154 | modules in place so that node can find them, and manages dependency | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,7 +58,7 @@ class Audit extends ArboristWorkspaceCmd { | |||
| 58 | 58 | audit: true, | |
| 59 | 59 | path: this.npm.prefix, | |
| 60 | 60 | reporter, | |
| 61 | - workspaces: this.workspaces, | ||
| 61 | + workspaces: this.workspaceNames, | ||
| 62 | 62 | } | |
| 63 | 63 | ||
| 64 | 64 | const arb = new Arborist(opts) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments