Skip to content

Adding --scope to ls or some way to determine which packages are depended upon for a single package #381

@Steven-Evans

Description

@Steven-Evans

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions