diff options
author | isaacs <i@izs.me> | 2019-08-06 21:49:32 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2019-08-06 22:31:53 +0300 |
commit | 45772af0ddca54b658cb2ba2182eec26d0a4729d (patch) | |
tree | 5949b0959d9a57b16774297c3db440f4eb6196d7 /doc | |
parent | 24acc9fc89d99d87cc66206c6c6f7cdc82fbf763 (diff) |
install: do not descend into directory deps' child modules
This builds on the work of https://github.com/npm/cli/pull/217, bringing
back the logic in 2f0c883519f17c94411dd1d9877c5666f260c12f for all deps
other than 'directory' symlinks where it causes problems.
This also causes the installer to *fix* shrinkwraps that inappropriately
list the dependencies of directory symlink packages, which goes further
to address the problems highlighted in
https://npm.community/t/installing-the-same-module-under-multiple-relative-paths-fails-on-linux/8863
and
https://npm.community/t/reinstall-breaks-after-npm-update-to-6-10-2/9327,
even if a prior npm install created a broken package-lock.json file.
Related: https://github.com/npm/cli/pull/217
Credit: @isaacs
Fix: https://npm.community/t/reinstall-breaks-after-npm-update-to-6-10-2/9327
Fix: https://npm.community/t/installing-the-same-module-under-multiple-relative-paths-fails-on-linux/8863
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions