-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding --scope
to ls
or some way to determine which packages are depended upon for a single package
#381
Comments
#382 PR with possible changes. Works for me but may be sloppy? Thoughts are appreciated on both code and whether this should even be considered part of master. |
Just linking this here for completeness re: the quiet flag #133 |
Feature sounds very interesting... can you make sure it works with #365 when it lands (not sure if you need to anything, just a "heads up") |
I gave it a quick glance and it seems like it shouldn't be a problem. packages and packageGraph are still defined during runPreparations. As per my comment on the PR, I'm going to create a new PR to remove the --quiet flag since @thejameskyle suggested the intent to remove the lerna version line of output altogether, which is somewhat unrelated to this. Edit: new PR #384 |
Moving to #384 |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Supposing a monorepo has multiple common dependent packages for services which are also in the same repository, it would be useful to know the complete list of packages that a particular service depends on. For example:
Service-1 depends on Auth
Auth depends on Common
Service-2 depends on Auth and Profile
Profile depends on Common
Then
lerna ls --scope Service-1
outputs something like:Service-1
Auth
Common
The text was updated successfully, but these errors were encountered: