build/bazel/json_module_graph/transitiveDeps.jq

8 lines
184 B
Plaintext
Raw Normal View History

2025-08-25 08:23:45 +08:00
# CMD: Returns the names of the transitive dependencies of the module named $arg
include "library";
(moduleGraphNoVariants | removeSelfEdges) as $m |
[$arg] |
transitiveDeps($m)