@ddd-ts/event-tree 0.0.0-eventviz.4 → 0.0.0-eventviz.6

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.
@@ -101,6 +101,5 @@ function classMethods(node) {
101
101
  function methodName(method) {
102
102
  return identifierName(method.key);
103
103
  }
104
-
105
104
  //#endregion
106
- export { classMethods, identifierName, memberPath, methodEffects, methodName, reactorEvents, readStringLiteral, superGenericIdentifier, walkSubtree };
105
+ export { classMethods, identifierName, memberPath, methodEffects, methodName, reactorEvents, readStringLiteral, superGenericIdentifier, walkSubtree };
@@ -1,6 +1,5 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import { identifierName, superGenericIdentifier, walkSubtree } from "./_utils.mjs";
3
-
4
3
  //#region src/engine/defaults/command-handler.ts
5
4
  engine.on((node, parent, ctx, file) => {
6
5
  if (node.type !== "ClassDeclaration") return;
@@ -31,6 +30,5 @@ engine.on((node, parent, ctx, file) => {
31
30
  });
32
31
  });
33
32
  });
34
-
35
33
  //#endregion
36
- export { };
34
+ export {};
@@ -1,5 +1,4 @@
1
1
  import { engine } from "../engine.mjs";
2
-
3
2
  //#region src/engine/defaults/command.ts
4
3
  const COMMAND_BASES = new Set(["$Command", "Command"]);
5
4
  engine.on((node, parent, ctx, file) => {
@@ -24,6 +23,5 @@ engine.on((node, parent, ctx, file) => {
24
23
  }
25
24
  });
26
25
  });
27
-
28
26
  //#endregion
29
- export { };
27
+ export {};
@@ -1,6 +1,5 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import { classMethods, methodEffects, methodName, reactorEvents } from "./_utils.mjs";
3
-
4
3
  //#region src/engine/defaults/es-aggregate.ts
5
4
  const REACTOR_DECORATORS = new Set([
6
5
  "EsAggregate.on",
@@ -77,6 +76,5 @@ engine.on((node, parent, ctx, file) => {
77
76
  });
78
77
  }
79
78
  });
80
-
81
79
  //#endregion
82
- export { };
80
+ export {};
@@ -1,6 +1,5 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import { readStringLiteral } from "./_utils.mjs";
3
-
4
3
  //#region src/engine/defaults/event.ts
5
4
  const EVENT_BASES = new Set([
6
5
  "EsEvent",
@@ -44,6 +43,5 @@ engine.on((node, parent, ctx, file) => {
44
43
  }
45
44
  });
46
45
  });
47
-
48
46
  //#endregion
49
- export { };
47
+ export {};
@@ -5,5 +5,4 @@ import "./es-aggregate.mjs";
5
5
  import "./projection.mjs";
6
6
  import "./command-handler.mjs";
7
7
  import "./scanner.mjs";
8
-
9
- export { };
8
+ export {};
@@ -1,6 +1,5 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import { classMethods, memberPath, methodName, reactorEvents, readStringLiteral } from "./_utils.mjs";
3
-
4
3
  //#region src/engine/defaults/projection.ts
5
4
  const REACTOR_DECORATORS = new Set([
6
5
  "Projection.on",
@@ -54,6 +53,5 @@ engine.on((node, parent, ctx, file) => {
54
53
  });
55
54
  }
56
55
  });
57
-
58
56
  //#endregion
59
- export { };
57
+ export {};
@@ -1,6 +1,5 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import { classMethods, methodEffects, methodName, reactorEvents } from "./_utils.mjs";
3
-
4
3
  //#region src/engine/defaults/saga.ts
5
4
  const REACTOR_DECORATORS = new Set([
6
5
  "Saga.on",
@@ -72,6 +71,5 @@ engine.on((node, parent, ctx, file) => {
72
71
  });
73
72
  }
74
73
  });
75
-
76
74
  //#endregion
77
- export { };
75
+ export {};
@@ -1,7 +1,6 @@
1
1
  import { engine } from "../engine.mjs";
2
2
  import fs from "node:fs";
3
3
  import { join } from "node:path";
4
-
5
4
  //#region src/engine/defaults/scanner.ts
6
5
  engine.scan(function* (root = process.cwd()) {
7
6
  yield* fs.globSync("**/*.ts", {
@@ -24,6 +23,5 @@ engine.scan(function* (root = process.cwd()) {
24
23
  withFileTypes: false
25
24
  }).map((p) => join(root, p));
26
25
  });
27
-
28
26
  //#endregion
29
- export { };
27
+ export {};
@@ -1,6 +1,5 @@
1
1
  import fs from "node:fs";
2
2
  import { parseAndWalk } from "oxc-walker";
3
-
4
3
  //#region src/engine/engine.ts
5
4
  var Engine = class {
6
5
  astWalkers = [];
@@ -49,6 +48,5 @@ var Engine = class {
49
48
  };
50
49
  const engine = new Engine();
51
50
  await import("./defaults/index.mjs");
52
-
53
51
  //#endregion
54
- export { Engine, engine };
52
+ export { Engine, engine };
package/dist/index.mjs CHANGED
@@ -1,3 +1,2 @@
1
1
  import { Engine, engine } from "./engine/engine.mjs";
2
-
3
- export { Engine, engine };
2
+ export { Engine, engine };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts/event-tree",
3
- "version": "0.0.0-eventviz.4",
3
+ "version": "0.0.0-eventviz.6",
4
4
  "types": "dist/server/index.d.ts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
  "oxc-walker": "^1.0.0"
15
15
  },
16
16
  "devDependencies": {
17
- "@ddd-ts/tools": "0.0.0-eventviz.4",
17
+ "@ddd-ts/tools": "0.0.0-eventviz.6",
18
18
  "@types/node": "^22.14.1"
19
19
  },
20
20
  "exports": {