Skip to content

yarn constraints query

query the constraints fact database

Terminal window
yarn constraints query <query>

List all dependencies throughout the workspace :

Terminal window
yarn constraints query 'workspace_has_dependency(_, DependencyName, _, _).'

This command will output all matches to the given prolog query.

DefinitionDescription

—json

Format the output as an NDJSON stream