microsoft/rnx-kit

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

tido64 opened this issue · 0 comments

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'