diff --git a/deps/npm/doc/cli/link.md b/deps/npm/doc/cli/link.md index dd54792e29..4e4ef799b3 100644 --- a/deps/npm/doc/cli/link.md +++ b/deps/npm/doc/cli/link.md @@ -16,6 +16,9 @@ symbolic link from `prefix/package-name` to the current folder. Next, in some other location, `npm link package-name` will create a symlink from the local `node_modules` folder to the global symlink. +Note that `package-name` is taken from `package.json` , +not from directory name. + When creating tarballs for `npm publish`, the linked packages are "snapshotted" to their current state by resolving the symbolic links. diff --git a/deps/npm/doc/cli/shrinkwrap.md b/deps/npm/doc/cli/shrinkwrap.md index 3b60b13f7f..9af16f7075 100644 --- a/deps/npm/doc/cli/shrinkwrap.md +++ b/deps/npm/doc/cli/shrinkwrap.md @@ -9,7 +9,8 @@ npm-shrinkwrap(1) -- Lock down dependency versions This command locks down the versions of a package's dependencies so that you can control exactly which versions of each dependency will be used when your package -is installed. +is installed. The "package.json" file is still required if you want to use "npm +install". By default, "npm install" recursively installs the target's dependencies (as specified in package.json), choosing the latest available version that satisfies diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index 0688dc5581..88cbedc9ee 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -19,7 +19,7 @@

This function should not be used programmatically. Instead, just refer to the npm.bin member.

- +