Sha256: b0eb8763be5f70fd5ea76f09fc0ef9d0d536c5c45c7104dccf527688ecc2bc98
Contents?: true
Size: 925 Bytes
Versions: 1
Compression:
Stored size: 925 Bytes
Contents
# visualize_packwerk This gem contains rake tasks to help visualize relationships between packwerk packs. # Usage ## Building a package graph for a selection of packages ```ruby # Select the packs you want to include selected_packs = ParsePackwerk.all selected_packs = ParsePackwerk.all.select{|p| ['packs/my_pack_1', 'packs/my_pack_2'].include?(p.name) } selected_packs = ParsePackwerk.all.select{|p| ['Team 1', 'Team 2'].include?(CodeOwnership.for_package(p)&.name) } VisualizePackwerk.package_graph!(selected_packs) ``` # Building a team graph for specific teams ``` # Select the teams you want to include selected_teams = CodeTeams.all selected_teams = CodeTeams.all.select{ ... } VisualizePackwerk.team_graph!(selected_teams) ``` ## bin/packs For simpler use, use `bin/packs` in `use_packwerk` (https://github.com/rubyatscale/use_packwerk) # Want to change something or add a feature? Submit a PR or post an issue!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
visualize_packwerk-0.0.6 | README.md |