Sha256: 09587031216d3f6c20c29887107cd67c06a2065b78aa1ed67618196c68ad93d4
Contents?: true
Size: 945 Bytes
Versions: 4
Compression:
Stored size: 945 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 = Packs.all selected_packs = Packs.all.select{ |p| ['packs/my_pack_1', 'packs/my_pack_2'].include?(p.name) } selected_packs = Packs.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 ```ruby # Select the teams you want to include selected_teams = CodeTeams.all selected_teams = CodeTeams.all.select{ |t| ['Team 1', 'Team 2'].include?(t.name) } 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
visualize_packwerk-0.1.3 | README.md |
visualize_packwerk-0.1.2 | README.md |
visualize_packwerk-0.1.1 | README.md |
visualize_packwerk-0.1.0 | README.md |