@h-rig/dependency-graph-plugin 0.0.6-alpha.157 → 0.0.6-alpha.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/src/analysis/blockers.d.ts +35 -0
  2. package/dist/src/analysis/blockers.js +355 -0
  3. package/dist/src/{graph-model → analysis}/dependencyGraph.d.ts +1 -2
  4. package/dist/src/{graph.js → analysis/dependencyGraph.js} +256 -128
  5. package/dist/src/{graph.d.ts → analysis/graph.d.ts} +3 -4
  6. package/dist/src/analysis/graph.js +944 -0
  7. package/dist/src/analysis/rigSelectors.d.ts +26 -0
  8. package/dist/src/analysis/rigSelectors.js +172 -0
  9. package/dist/src/analysis/rollupModel.js +401 -0
  10. package/dist/src/{rollups.d.ts → analysis/rollups.d.ts} +2 -4
  11. package/dist/src/analysis/rollups.js +589 -0
  12. package/dist/src/{graph-model → analysis}/taskGraphCodes.js +1 -1
  13. package/dist/src/{graph-model → analysis}/taskGraphLayout.d.ts +2 -2
  14. package/dist/src/{graph-model → analysis}/taskGraphLayout.js +75 -29
  15. package/dist/src/analysis/taskGraphPrimitives.d.ts +58 -0
  16. package/dist/src/analysis/taskGraphPrimitives.js +528 -0
  17. package/dist/src/index.js +567 -396
  18. package/dist/src/plugin.d.ts +1 -11
  19. package/dist/src/plugin.js +567 -396
  20. package/package.json +3 -6
  21. package/dist/src/graph-model/dependencyGraph.js +0 -485
  22. package/dist/src/graph-model/rollups.js +0 -166
  23. package/dist/src/rollups.js +0 -199
  24. package/dist/src/taskRanking.d.ts +0 -24
  25. package/dist/src/taskRanking.js +0 -160
  26. package/dist/src/taskScore.d.ts +0 -17
  27. package/dist/src/taskScore.js +0 -49
  28. package/dist/src/taskSelection.d.ts +0 -33
  29. package/dist/src/taskSelection.js +0 -181
  30. /package/dist/src/{graph-model/rollups.d.ts → analysis/rollupModel.d.ts} +0 -0
  31. /package/dist/src/{graph-model → analysis}/taskGraphCodes.d.ts +0 -0
@@ -1,9 +1,5 @@
1
1
  import { type RuntimeCliContext } from "@rig/core/config";
2
- export * from "./graph";
3
- export * from "./rollups";
4
- export * from "./taskScore";
5
- export * from "./taskRanking";
6
- export * from "./taskSelection";
2
+ import { type CommandOutcome } from "@rig/contracts";
7
3
  export declare const DEPENDENCY_GRAPH_PLUGIN_NAME = "@rig/dependency-graph-plugin";
8
4
  export declare const DEPENDENCY_GRAPH_CLI_ID = "dependency-graph.graph";
9
5
  export declare const WORKSPACE_STATUS_CLI_ID = "dependency-graph.status";
@@ -11,12 +7,6 @@ export declare const WORKSPACE_SUMMARY_CLI_ID = "dependency-graph.summary";
11
7
  export declare const DEPENDENCY_GRAPH_PANEL_ID = "dependency-graph";
12
8
  export declare const EPICS_PANEL_ID = "epics";
13
9
  export declare const PEOPLE_PANEL_ID = "people";
14
- type CommandOutcome = {
15
- readonly ok: boolean;
16
- readonly group: string;
17
- readonly command: string;
18
- readonly details?: Record<string, unknown>;
19
- };
20
10
  export declare function executeGraph(context: RuntimeCliContext, args: readonly string[]): Promise<CommandOutcome>;
21
11
  export declare function executeStatus(context: RuntimeCliContext, args: readonly string[]): Promise<CommandOutcome>;
22
12
  export declare function executeSummary(context: RuntimeCliContext, args: readonly string[]): Promise<CommandOutcome>;