unplugged-system/build/bazel/json_module_graph/transitiveDeps.jq

8 lines
209 B
Plaintext
Raw Permalink Normal View History

# CMD: Returns the names of the transitive dependencies of the module(s) $arg, splits on ","
include "library";
(moduleGraphNoVariants | removeSelfEdges) as $m |
($arg | split(",")) |
transitiveDeps($m)