You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to add a common dev-dependency from one of the packages in a workspace, it doesn't obey the -W flag.
What is the expected behavior?
I'm expecting the -W flag to add npm package as a dev-dependency (as I do have passed -D flag) in the package.json file at the root of the workspace, even if the command ran from one of the packages it must have obeyed the -W flag. But it didn't.
Steps to Reproduce
Setup a yarn workspace with one or more packages.
Try to add a dev-dependency from one of the packages with -W flag.
Environment
Node Version: 12.16.2
Yarn v1 Version: 1.22.4
OS and version: macOS Cataline (10.15.4)
The text was updated successfully, but these errors were encountered:
Bug description
Command
What is the current behavior?
If I try to add a common dev-dependency from one of the packages in a workspace, it doesn't obey the
-W flag
.What is the expected behavior?
I'm expecting the
-W flag
to addnpm package
as a dev-dependency (as I do have passed -D flag) in thepackage.json
file at the root of the workspace, even if the command ran from one of the packages it must have obeyed the-W flag
. But it didn't.Steps to Reproduce
Environment
12.16.2
1.22.4
The text was updated successfully, but these errors were encountered: