[Bug?]: yarn up
incorrectly updates dependencies using the link protocol
#3102
Labels
yarn up
incorrectly updates dependencies using the link protocol
#3102
Self-service
Describe the bug
When using the
link:
protocol for linking local packages (as described in the protocols docs), I noticed that runningyarn up
will incorrectly swap these dependencies for their registry equivalents.I would expect
yarn up
to ignore dependencies listed with thelink:
protocol.To reproduce
While this example is not a real world use case since I'm explicitly updating the dependency, this also occurs when using a wildcard such as
yarn up '*'
which is a real world use case for updating all deps.Environment
System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Binaries:
Node: 14.17.1 - /private/var/folders/jh/s3v_qtkx501g98yxct1x4g3r634gd_/T/xfs-00f87514/node
Yarn: 2.4.2 - /private/var/folders/jh/s3v_qtkx501g98yxct1x4g3r634gd_/T/xfs-00f87514/yarn
npm: 6.14.13 - ~/.local/share/nvm/v14.17.1/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: