[Feature] Hide folder aliases defined using link:
from outdated dependencies when using yarn upgrade-interactive
#5393
Labels
enhancement
New feature or request
Previously flagged in #3112 (closed as stale)
Previously flagged in #2865 (closed as stale)
Could be alleviated by yarnpkg/yarn#3368
Describe the user story
Following the example given at https://yarnpkg.com/features/protocols#why-is-the-link-protocol-recommended-over-aliases-for-path-mapping, if you define an alias for your
src
folder as follows inpackage.json
:and subsequently run
yarn upgrade-interactive
, it will confusingly show thesrc
dependency as being out-of-date with the NPM package of the same name:Describe the solution you'd like
I think this behaviour is confusing, because the
src
folder andsrc
NPM package are completely unrelated, except for the fact that they have the same name. Therefore, I think linked folders should be excluded from the list of dependencies to upgrade.Describe the drawbacks of your solution
None that I can think of
Describe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: