feat: dedupe - display difference when --dry-run is enabled#7133
feat: dedupe - display difference when --dry-run is enabled#7133Tayvon merged 2 commits intonpm:latestfrom
--dry-run is enabled#7133Conversation
|
Wow this has been on a lot of folks' wishlist for years! |
|
Agreed, this is amazing! is it too much to ask to align the output like a table? i'm not sure if the cli has a pattern for that already |
|
How do we feel about displaying this if the config value |
|
I definitely would. I'd also love to see it on |
|
Just to clarify, these suggestions can be done in separate PRs, I think having dry-run always do this is fine for a start. |
Tried out an implementation of tabular format using the examples in |
This PR adds functionality to show the difference in what would have been changed if the user had run the
dedupecommand with the--dry-runflag. At the moment the output is not really useful and doesn't give the user any information other than something likeadded 2 packages, removed 3 packages, and changed 12 packages in 48s.This PR changes that:

References
Closes #2687
Closes #4398