I just started using Yarn workspaces and have two packages defined, let's call them Alpha and Beta. Beta depends on Alpha.
Alpha has a peer dependency for somelib@^1.2.3
, so I added somelib@^1.2.3
as dependency to Beta's package.json
.
When installing, I get the warning
> [email protected]" has unmet peer dependency "somelib@^1.2.3".
I would assume by adding somelib@^1.2.3
as dependency to Beta, the peer dependency is satisfied. Why do I still get a warning, how do I satisfy the peer dependency?