diff options
author | FallenRiteMonk <fallenritemonk@gmail.com> | 2018-04-05 18:52:34 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-04-05 23:01:07 +0300 |
commit | 25a816dcda7b1db0929501acfe13f2fe5119759b (patch) | |
tree | d3df4377a11dfb643b5976d2048d9bb4ee527903 /deps/npm/html/doc/cli/npm-install.html | |
parent | b29c36b80746733994257b7380245102bc3c4cd6 (diff) |
deps: upgrade npm to 5.8.0
PR-URL: https://github.com/nodejs/node/pull/19560
Fixes: https://github.com/nodejs/node/issues/19271
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/npm/html/doc/cli/npm-install.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-install.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/deps/npm/html/doc/cli/npm-install.html b/deps/npm/html/doc/cli/npm-install.html index 5989cc25a10..dfd815337cd 100644 --- a/deps/npm/html/doc/cli/npm-install.html +++ b/deps/npm/html/doc/cli/npm-install.html @@ -54,6 +54,10 @@ after packing it up into a tarball (b).</p> <p> With the <code>--production</code> flag (or when the <code>NODE_ENV</code> environment variable is set to <code>production</code>), npm will not install modules listed in <code>devDependencies</code>.</p> +<blockquote> +<p>NOTE: The <code>--production</code> flag has no particular meaning when adding a + dependency to a project.</p> +</blockquote> </li> <li><p><code>npm install <folder></code>:</p> <p> Install the package in the directory as a symlink in the current project. @@ -281,7 +285,8 @@ being installed.</p> <p>The <code>--no-shrinkwrap</code> argument, which will ignore an available package lock or shrinkwrap file and use the package.json instead.</p> <p>The <code>--no-package-lock</code> argument will prevent npm from creating a -<code>package-lock.json</code> file.</p> +<code>package-lock.json</code> file. When running with package-lock's disabled npm +will not automatically prune your node modules when installing.</p> <p>The <code>--nodedir=/path/to/node/source</code> argument will allow npm to find the node source code so that npm can compile native modules.</p> <p>The <code>--only={prod[uction]|dev[elopment]}</code> argument will cause either only @@ -369,5 +374,5 @@ affects a real use-case, it will be investigated.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-install — npm@5.6.0</p> +<p id="footer">npm-install — npm@5.8.0</p> |