@transitrix/diagrams 1.8.7 → 1.8.8

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.
@@ -1,12 +1,12 @@
1
- export { buildFGCALayout, NODE_WIDTH, NODE_HEIGHT, COLUMN_GAP, ROW_GAP, COLUMN_BG } from "./layout";
2
- export { layoutFGCAPreview, selectScopedFGCA, FGCA_NODE_W, FGCA_NODE_H, FGCA_HEADER_H, FGCA_PAD, FGCA_DEFAULT_COL_GAP, FGCA_DEFAULT_ROW_GAP, } from "./preview-layout";
3
- export { buildChainTable } from "./chain-table";
4
- export { validateFGCADoc } from "./validate";
5
- export { ALL_FGCA_COLUMNS, FGCA_COLUMN_LABELS, } from "./types";
1
+ export { buildFGCALayout, NODE_WIDTH, NODE_HEIGHT, COLUMN_GAP, ROW_GAP, COLUMN_BG } from "./layout.js";
2
+ export { layoutFGCAPreview, selectScopedFGCA, FGCA_NODE_W, FGCA_NODE_H, FGCA_HEADER_H, FGCA_PAD, FGCA_DEFAULT_COL_GAP, FGCA_DEFAULT_ROW_GAP, } from "./preview-layout.js";
3
+ export { buildChainTable } from "./chain-table.js";
4
+ export { validateFGCADoc } from "./validate.js";
5
+ export { ALL_FGCA_COLUMNS, FGCA_COLUMN_LABELS, } from "./types.js";
6
6
  export { resolveFGCA, isFGCAViewDoc } from './resolver.js';
7
- export { default as FGCADriverNode } from "./nodes/FGCAFactorNode";
8
- export { default as FGCAGoalNode } from "./nodes/FGCAGoalNode";
9
- export { default as FGCAChangeNode } from "./nodes/FGCAChangeNode";
10
- export { default as FGCAActivityNode } from "./nodes/FGCAActivityNode";
7
+ export { default as FGCADriverNode } from "./nodes/FGCAFactorNode.js";
8
+ export { default as FGCAGoalNode } from "./nodes/FGCAGoalNode.js";
9
+ export { default as FGCAChangeNode } from "./nodes/FGCAChangeNode.js";
10
+ export { default as FGCAActivityNode } from "./nodes/FGCAActivityNode.js";
11
11
  /** ReactFlow nodeTypes map — pass directly to <ReactFlow nodeTypes={FGCA_NODE_TYPES} /> */
12
- export { FGCA_NODE_TYPES } from "./nodeTypes";
12
+ export { FGCA_NODE_TYPES } from "./nodeTypes.js";
@@ -1,5 +1,5 @@
1
1
  import { Position, MarkerType } from "reactflow";
2
- import { ALL_FGCA_COLUMNS } from "./types";
2
+ import { ALL_FGCA_COLUMNS } from "./types.js";
3
3
  export const NODE_WIDTH = 250;
4
4
  export const NODE_HEIGHT = 80;
5
5
  export const COLUMN_GAP = 180;
@@ -1,7 +1,7 @@
1
- import FGCADriverNode from "./nodes/FGCAFactorNode";
2
- import FGCAGoalNode from "./nodes/FGCAGoalNode";
3
- import FGCAChangeNode from "./nodes/FGCAChangeNode";
4
- import FGCAActivityNode from "./nodes/FGCAActivityNode";
1
+ import FGCADriverNode from "./nodes/FGCAFactorNode.js";
2
+ import FGCAGoalNode from "./nodes/FGCAGoalNode.js";
3
+ import FGCAChangeNode from "./nodes/FGCAChangeNode.js";
4
+ import FGCAActivityNode from "./nodes/FGCAActivityNode.js";
5
5
  export const FGCA_NODE_TYPES = {
6
6
  fgcaDriver: FGCADriverNode,
7
7
  fgcaGoal: FGCAGoalNode,
package/dist/index.js CHANGED
@@ -1,33 +1,33 @@
1
- export * from "./activities/index";
2
- export * from "./activity-card/index";
3
- export * from "./actor/index";
4
- export * from "./business-service/index";
5
- export * from "./geometry";
6
- export * from "./applications/index";
7
- export * from "./assertion/index";
8
- export * from "./blocks/index";
9
- export { validateCapabilityMap, layoutCapabilityTree, TREE_NODE_WIDTH, TREE_NODE_HEIGHT, TREE_RANK_SEP, TREE_NODE_SEP, renderCapabilityTreeSvg, } from "./capability-map/index";
10
- export * from "./change/index";
11
- export * from "./compliance/index";
12
- export * from "./compliance-matrix/index";
13
- export * from "./confidence/index";
14
- export * from "./factor/index";
15
- export * from "./fgca/index";
16
- export * from "./goals/index";
17
- export * from "./integration/index";
18
- export * from "./location/index";
19
- export * from "./node/index";
20
- export * from "./process-blueprint/index";
21
- export * from "./process-map/index";
22
- export * from "./products/index";
23
- export * from "./repo-validate/index";
24
- export * from "./requirement/index";
25
- export * from "./scenarios/index";
26
- export * from "./stakeholder/index";
27
- export * from "./target-state/index";
28
- export * from "./technology-service/index";
29
- export { SCHEMA_VERSION } from "./schema-version";
30
- export * from "./theme/index";
31
- export * from "./typed-id";
32
- export * from "./validation-types";
33
- export { coerceDatesToIsoStrings } from "./yaml-normalize";
1
+ export * from "./activities/index.js";
2
+ export * from "./activity-card/index.js";
3
+ export * from "./actor/index.js";
4
+ export * from "./business-service/index.js";
5
+ export * from "./geometry.js";
6
+ export * from "./applications/index.js";
7
+ export * from "./assertion/index.js";
8
+ export * from "./blocks/index.js";
9
+ export { validateCapabilityMap, layoutCapabilityTree, TREE_NODE_WIDTH, TREE_NODE_HEIGHT, TREE_RANK_SEP, TREE_NODE_SEP, renderCapabilityTreeSvg, } from "./capability-map/index.js";
10
+ export * from "./change/index.js";
11
+ export * from "./compliance/index.js";
12
+ export * from "./compliance-matrix/index.js";
13
+ export * from "./confidence/index.js";
14
+ export * from "./factor/index.js";
15
+ export * from "./fgca/index.js";
16
+ export * from "./goals/index.js";
17
+ export * from "./integration/index.js";
18
+ export * from "./location/index.js";
19
+ export * from "./node/index.js";
20
+ export * from "./process-blueprint/index.js";
21
+ export * from "./process-map/index.js";
22
+ export * from "./products/index.js";
23
+ export * from "./repo-validate/index.js";
24
+ export * from "./requirement/index.js";
25
+ export * from "./scenarios/index.js";
26
+ export * from "./stakeholder/index.js";
27
+ export * from "./target-state/index.js";
28
+ export * from "./technology-service/index.js";
29
+ export { SCHEMA_VERSION } from "./schema-version.js";
30
+ export * from "./theme/index.js";
31
+ export * from "./typed-id.js";
32
+ export * from "./validation-types.js";
33
+ export { coerceDatesToIsoStrings } from "./yaml-normalize.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transitrix/diagrams",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "type": "module",
5
5
  "description": "Shared rendering, validation, and pure mutations for Transitrix custom diagram formats.",
6
6
  "license": "MIT",
@@ -40,6 +40,7 @@
40
40
  ],
41
41
  "scripts": {
42
42
  "build": "tsc -p .",
43
+ "postbuild": "node scripts/fix-esm-extensions.mjs",
43
44
  "test": "vitest run",
44
45
  "test:watch": "vitest"
45
46
  },