spec-controller 0.1.145 → 0.1.146

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.
package/dist/cli.js CHANGED
@@ -27654,7 +27654,7 @@ function stepAccountOf(steps, dispositionOf, nameOf2, roleOf) {
27654
27654
  const count = COUNTED_AS[dispositionOf(step)];
27655
27655
  rows.set(jobKeyOf(step), { ...row, stepsRead: row.stepsRead + 1, [count]: row[count] + 1 });
27656
27656
  }
27657
- const byJob = [...rows.values()].sort(byWorkflowThenJob);
27657
+ const byJob = [...rows.values()].sort(byWorkflowThenJob).map((row) => ({ ...row, accountedFor: accountedForOf(row) }));
27658
27658
  return {
27659
27659
  byJob,
27660
27660
  total: totalOf(byJob),
@@ -28934,7 +28934,6 @@ var rowOf, jobRowsOf, totalRowOf, WHAT_IT_IS, runnersListOf, reconcilerListOf, e
28934
28934
  var init_stepAccounting = __esm({
28935
28935
  "../core/dist/render/stepAccounting.js"() {
28936
28936
  "use strict";
28937
- init_uncitedFitnessFunctions();
28938
28937
  init_messages4();
28939
28938
  rowOf = (cells) => `| ${cells.join(" | ")} |`;
28940
28939
  jobRowsOf = ({ byJob }) => byJob.map((row) => rowOf([
@@ -28946,7 +28945,7 @@ var init_stepAccounting = __esm({
28946
28945
  row.reconciler,
28947
28946
  row.excluded,
28948
28947
  row.plumbing,
28949
- accountedForOf(row)
28948
+ row.accountedFor
28950
28949
  ]));
28951
28950
  totalRowOf = ({ byJob, total }) => {
28952
28951
  if (byJob.length < 2)
@@ -663,6 +663,9 @@
663
663
  },
664
664
  "plumbing": {
665
665
  "type": "number"
666
+ },
667
+ "accountedFor": {
668
+ "type": "number"
666
669
  }
667
670
  },
668
671
  "required": [
@@ -673,7 +676,8 @@
673
676
  "runners",
674
677
  "reconciler",
675
678
  "excluded",
676
- "plumbing"
679
+ "plumbing",
680
+ "accountedFor"
677
681
  ],
678
682
  "additionalProperties": false
679
683
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.145",
3
+ "version": "0.1.146",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.145"
29
+ "@3f-consulting/spec-controller-core": "0.1.146"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"