diff options
author | isaacs <i@izs.me> | 2013-12-11 10:20:26 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-12-11 10:20:26 -0800 |
commit | a22de4f7eed04f14e590fdc5c8739d2ee17753e5 (patch) | |
tree | ac02ad050e8ca27e6d792d6923f9d0c0d508b298 /deps/npm/doc/cli | |
parent | f16edd2632930e3fbfead4d6d52eeac87824f1a6 (diff) | |
download | node-a22de4f7eed04f14e590fdc5c8739d2ee17753e5.tar.gz |
npm: Upgrade to 1.3.17
Diffstat (limited to 'deps/npm/doc/cli')
-rw-r--r-- | deps/npm/doc/cli/npm-install.md | 3 | ||||
-rw-r--r-- | deps/npm/doc/cli/npm-version.md | 4 | ||||
-rw-r--r-- | deps/npm/doc/cli/repo.md | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/deps/npm/doc/cli/npm-install.md b/deps/npm/doc/cli/npm-install.md index 4cbb1129e..618ebab0f 100644 --- a/deps/npm/doc/cli/npm-install.md +++ b/deps/npm/doc/cli/npm-install.md @@ -173,6 +173,9 @@ local space in some cases. The `--no-bin-links` argument will prevent npm from creating symlinks for any binaries the package might contain. +The `--no-optional` argument will prevent optional dependencies from +being installed. + The `--no-shrinkwrap` argument, which will ignore an available shrinkwrap file and use the package.json instead. diff --git a/deps/npm/doc/cli/npm-version.md b/deps/npm/doc/cli/npm-version.md index 18aaf7470..870bd4921 100644 --- a/deps/npm/doc/cli/npm-version.md +++ b/deps/npm/doc/cli/npm-version.md @@ -3,7 +3,7 @@ npm-version(1) -- Bump a package version ## SYNOPSIS - npm version [<newversion> | major | minor | patch | build] + npm version [<newversion> | major | minor | patch] ## DESCRIPTION @@ -11,7 +11,7 @@ Run this in a package directory to bump the version and write the new data back to the package.json file. The `newversion` argument should be a valid semver string, *or* a valid -second argument to semver.inc (one of "build", "patch", "minor", or +second argument to semver.inc (one of "patch", "minor", or "major"). In the second case, the existing version will be incremented by 1 in the specified field. diff --git a/deps/npm/doc/cli/repo.md b/deps/npm/doc/cli/repo.md index 5c281c28e..12085c101 100644 --- a/deps/npm/doc/cli/repo.md +++ b/deps/npm/doc/cli/repo.md @@ -4,12 +4,15 @@ npm-repo(1) -- Open package repository page in the browser ## SYNOPSIS npm repo <pkgname> + npm repo (with no args in a package dir) ## DESCRIPTION This command tries to guess at the likely location of a package's repository URL, and then tries to open it using the `--browser` -config param. +config param. If no package name is provided, it will search for +a `package.json` in the current folder and try to use the property +of the name field. ## CONFIGURATION |