-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
if a workspace package has a peerDependency that the root package.json has in its devDependencies (+ dependencies?), and the dependency is nohoisted for the workspace package, it gets installed in the workspace package's node_modules
If the current behavior is a bug, please provide the steps to reproduce.
repo: https://github.com/SEAPUNK/yarn-nohoist-peerdep
clone, yarn install, and see that nice/node_modules/left-pad exists (and subsequently, proj/node_modules/left-pad exists as well)
What is the expected behavior?
left-pad should not be installed in nice/node_modules
Please mention your node.js, yarn and operating system version.
nodejs 8.9.4
yarn 1.5.1
macOS high sierra