[BUG] Query dependencies of a child workspace returns no results #6828
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Dependencies of a child workspace are not returned during
npm query
.Given a dependency chain
applications/my-app -> packages/top-level-library -> packages/lower-level-library
,When I query with selector
.workspace > .workspace > *
Then no dependencies are returned.
Expected Behavior
Dependencies of child workspaces should be returned with
npm query
.Given a dependency chain
applications/my-app -> packages/top-level-library -> packages/lower-level-library
,When I query with selector
.workspace > .workspace > *
Then
lower-level-library
is returned.Steps To Reproduce
Environment
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: