Do you want to request a feature or report a bug?
What is the current behavior?
Changing directory into a workspace and using
yarn add nock adds
nock to the
dependencies for the package.json, rather than updating the version in
devDependencies. Different versions of
nock are then present within the same package.json in the
I’ve created a repo so you can easily replicate, with a PR showing the erroneous result, here.
What is the expected behavior?
Yarn should update the
devDependencies version of nock, like it would have done were we not in a workspace.
Please mention your node.js, yarn and operating system version.