From 0928584444ac6edf1ead0b93c9d05b1124183702 Mon Sep 17 00:00:00 2001 From: Forrest L Norvell Date: Tue, 29 Mar 2016 23:30:51 -0700 Subject: deps: upgrade npm to 3.8.3 PR-URL: https://github.com/npm/node/pull/6 Reviewed-By: Evan Lucas --- deps/npm/html/doc/cli/npm-install.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'deps/npm/html/doc/cli/npm-install.html') diff --git a/deps/npm/html/doc/cli/npm-install.html b/deps/npm/html/doc/cli/npm-install.html index f7bb35ecf3d..bc9f2bbb878 100644 --- a/deps/npm/html/doc/cli/npm-install.html +++ b/deps/npm/html/doc/cli/npm-install.html @@ -21,7 +21,7 @@ npm install <tarball url> npm install <folder> alias: npm i -common options: [-S|--save|-D|--save-dev|-O|--save-optional] [-E|--save-exact] [--dry-run] +common options: [-S|--save|-D|--save-dev|-O|--save-optional] [-E|--save-exact] [-B|--save-bundle] [--dry-run]

DESCRIPTION

This command installs a package, and any packages that it depends on. If the package has a shrinkwrap file, the installation of dependencies will be driven @@ -84,11 +84,13 @@ after packing it up into a tarball (b).

  • -O, --save-optional: Package will appear in your optionalDependencies.

    When using any of the above options to save dependencies to your -package.json, there is an additional, optional flag:

    +package.json, there are two additional, optional flags:

  • -E, --save-exact: Saved dependencies will be configured with an exact version rather than using npm's default semver range operator.

    +
  • +
  • -B, --save-bundle: Saved dependencies will also be added to your bundleDependencies list.

    Further, if you have an npm-shrinkwrap.json then it will be updated as well.

    <scope> is optional. The package will be downloaded from the registry @@ -104,6 +106,7 @@ npm install @myorg/privatepackage npm install node-tap --save-dev npm install dtrace-provider --save-optional npm install readable-stream --save --save-exact +npm install ansi-regex --save --save-bundle

  • @@ -213,7 +216,7 @@ rather than locally. See npm-folders( your local node_modules folder with the same layout it uses with the global node_modules folder. Only your direct dependencies will show in node_modules and everything they depend on will be flattened in their -node_modules folders. This obviously will elminate some deduping.

    +node_modules folders. This obviously will eliminate some deduping.

    The --legacy-bundling argument will cause npm to install the package such that versions of npm prior to 1.4, such as the one included with node 0.8, can install the package. This eliminates all automatic deduping.

    @@ -307,5 +310,5 @@ affects a real use-case, it will be investigated.

           - + -- cgit v1.2.3