-
Hi, I have a question regarding Yarn Berry's behavior with peer dependencies installation. I don't see this behavior clearly explained in the docs, or in the migration guide Found some info in rulebook : https://yarnpkg.com/advanced/rulebook Also similar issue reported by others (#6665) Is that correct statement that Yarn 4 does not automatically install peer dependencies, and requires them to be explicitly added to the top-level package.json? Example :
Project B
This would not install graphql when building project A , where it would have worked with Yarn v1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Peer dependencies have never been auto-installed, on any Yarn version. |
Beta Was this translation helpful? Give feedback.
Peer dependencies have never been auto-installed, on any Yarn version.