Skip to content

align-deps: add a toggle to show why a dependency got added #2454

Open
@tido64

Description

@tido64

Sometimes it's useful to know why a dependency got added. This could be a separate command/flag similar to yarn why.

Example:

error packages/test-app/package.json: Changes are needed to satisfy all capabilities.
	In dependencies:
	  - @react-native-community/netinfo "^9.0.0" is missing
	  - @react-native-community/netinfo was required by 'some-package', 'another-package'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions