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
When you run yarn list, yarn list --production, or NODE_ENV=production yarn list (not sure which one is recommended BTW) in a package, the output is the list of dependencies of all the packages in the workspace.
If the current behavior is a bug, please provide the steps to reproduce.
I would also like the ability to run yarn list on a single workspace. It appears that the workspace docs are inaccurate.
yarn list and yarn workspace package-name list produce the same output, even when truly running yarn list in package-name would produce different output.
I went through the code and I feel that the ideal way to implement this would be to have separate lockfiles for each workspace package. In other words, I would say that #5428 needs to be solved before this can be tackled (without complicating it too much).
Do you want to request a feature or report a bug?
Bug, I think.
What is the current behavior?
When you run
yarn list
,yarn list --production
, orNODE_ENV=production yarn list
(not sure which one is recommended BTW) in a package, the output is the list of dependencies of all the packages in the workspace.If the current behavior is a bug, please provide the steps to reproduce.
Github sample: /~https://github.com/simonrelet/yarn-workspace-issue
In a terminal run:
Output:
What is the expected behavior?
I would expect yarn to list the dependencies of the current package.
Output:
Please mention your node.js, yarn and operating system version.
Node: 9.3.0
Yarn: 1.3.2
OS: OS X 10.12.6
The text was updated successfully, but these errors were encountered: