diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-06-11 00:11:08 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-06-11 19:14:06 +0300 |
commit | 40829ec40c33a6d23f18715e60e3395bdcb0467e (patch) | |
tree | df02ff3c24092e298076127c63160d3931d2ef01 /.github | |
parent | 3f202cd777897d2213820fb00a4e85f440f69701 (diff) |
fix(link): do not prune packages
`npm link <pkg>` is meant to be used as a way to link a local package to
an install tree and it's very surprising to users that it may prune
extraneous deps from the project.
This change switches the default behavior to avoid pruning deps when
reifying the dependencies in npm link.
Fixes: https://github.com/npm/cli/issues/2554
PR-URL: https://github.com/npm/cli/pull/3399
Credit: @ruyadorno
Close: #3399
Reviewed-by: @ljharb, @nlf
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions