@eventcatalog/core 4.10.0 → 4.10.2

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 (33) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/{chunk-BDFTJVGN.js → chunk-C73V4K3S.js} +1 -1
  6. package/dist/{chunk-BQXEWQ5J.js → chunk-E5JJSOMA.js} +1 -1
  7. package/dist/{chunk-5XURY2JV.js → chunk-MGK66RUH.js} +1 -1
  8. package/dist/{chunk-IC6XSXJO.js → chunk-NOD5BM45.js} +1 -1
  9. package/dist/{chunk-HFAQXAG3.js → chunk-SB2TMVVX.js} +1 -1
  10. package/dist/constants.cjs +1 -1
  11. package/dist/constants.js +1 -1
  12. package/dist/eventcatalog.cjs +1 -1
  13. package/dist/eventcatalog.js +5 -5
  14. package/dist/generate.cjs +1 -1
  15. package/dist/generate.js +3 -3
  16. package/dist/utils/cli-logger.cjs +1 -1
  17. package/dist/utils/cli-logger.js +2 -2
  18. package/eventcatalog/astro.config.mjs +6 -0
  19. package/eventcatalog/src/components/CatalogGraph/CatalogForceGraph.tsx +260 -175
  20. package/eventcatalog/src/components/MDX/ArchitectureGraph/ArchitectureGraph.astro +62 -0
  21. package/eventcatalog/src/components/MDX/ArchitectureGraph/ArchitectureGraphPortal.tsx +22 -0
  22. package/eventcatalog/src/components/MDX/ArchitectureGraph/AstroArchitectureGraph.tsx +42 -0
  23. package/eventcatalog/src/components/MDX/components.tsx +13 -0
  24. package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +46 -1
  25. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +41 -0
  26. package/eventcatalog/src/pages/docs/[type]/[id]/language/[dictionaryId]/_index.data.ts +1 -1
  27. package/eventcatalog/src/pages/index.astro +34 -2
  28. package/eventcatalog/src/pages/visualiser/graph/index.astro +2 -23
  29. package/eventcatalog/src/stores/sidebar-store/builders/domain.ts +1 -1
  30. package/eventcatalog/src/stores/sidebar-store/builders/service.ts +1 -1
  31. package/eventcatalog/src/stores/sidebar-store/state.ts +1 -1
  32. package/eventcatalog/src/utils/node-graphs/catalog-force-graph.ts +41 -0
  33. package/package.json +1 -1
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(analytics_exports);
36
36
  var import_os = __toESM(require("os"), 1);
37
37
 
38
38
  // package.json
39
- var version = "4.10.0";
39
+ var version = "4.10.2";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-BQXEWQ5J.js";
4
- import "../chunk-BDFTJVGN.js";
3
+ } from "../chunk-E5JJSOMA.js";
4
+ import "../chunk-C73V4K3S.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -140,7 +140,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
140
140
  var import_os = __toESM(require("os"), 1);
141
141
 
142
142
  // package.json
143
- var version = "4.10.0";
143
+ var version = "4.10.2";
144
144
 
145
145
  // src/constants.ts
146
146
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-HFAQXAG3.js";
4
- import "../chunk-BQXEWQ5J.js";
3
+ } from "../chunk-SB2TMVVX.js";
4
+ import "../chunk-E5JJSOMA.js";
5
5
  import "../chunk-K2XIENVT.js";
6
- import "../chunk-BDFTJVGN.js";
6
+ import "../chunk-C73V4K3S.js";
7
7
  import "../chunk-6QENHZZP.js";
8
8
  export {
9
9
  log_build_default as default
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "4.10.0";
2
+ var version = "4.10.2";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-BDFTJVGN.js";
3
+ } from "./chunk-C73V4K3S.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import os from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-IC6XSXJO.js";
3
+ } from "./chunk-NOD5BM45.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-BDFTJVGN.js";
3
+ } from "./chunk-C73V4K3S.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-BQXEWQ5J.js";
3
+ } from "./chunk-E5JJSOMA.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "4.10.0";
28
+ var version = "4.10.2";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-BDFTJVGN.js";
3
+ } from "./chunk-C73V4K3S.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -144,7 +144,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
144
144
  var import_picocolors = __toESM(require("picocolors"), 1);
145
145
 
146
146
  // package.json
147
- var version = "4.10.0";
147
+ var version = "4.10.2";
148
148
 
149
149
  // src/constants.ts
150
150
  var VERSION = version;
@@ -4,8 +4,8 @@ import {
4
4
  import "./chunk-CA4U2JP7.js";
5
5
  import {
6
6
  log_build_default
7
- } from "./chunk-HFAQXAG3.js";
8
- import "./chunk-BQXEWQ5J.js";
7
+ } from "./chunk-SB2TMVVX.js";
8
+ import "./chunk-E5JJSOMA.js";
9
9
  import "./chunk-K2XIENVT.js";
10
10
  import {
11
11
  FederationConflictError,
@@ -31,10 +31,10 @@ import {
31
31
  } from "./chunk-B7HCX5HM.js";
32
32
  import {
33
33
  generate
34
- } from "./chunk-5XURY2JV.js";
34
+ } from "./chunk-MGK66RUH.js";
35
35
  import {
36
36
  logger
37
- } from "./chunk-IC6XSXJO.js";
37
+ } from "./chunk-NOD5BM45.js";
38
38
  import {
39
39
  resolve_catalog_dependencies_default
40
40
  } from "./chunk-LHR4G2UO.js";
@@ -54,7 +54,7 @@ import {
54
54
  import "./chunk-W5JQON7Z.js";
55
55
  import {
56
56
  VERSION
57
- } from "./chunk-BDFTJVGN.js";
57
+ } from "./chunk-C73V4K3S.js";
58
58
  import {
59
59
  linkCoreNodeModules,
60
60
  resolveInstalledCoreNodeModules
package/dist/generate.cjs CHANGED
@@ -108,7 +108,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
108
108
  var import_picocolors = __toESM(require("picocolors"), 1);
109
109
 
110
110
  // package.json
111
- var version = "4.10.0";
111
+ var version = "4.10.2";
112
112
 
113
113
  // src/constants.ts
114
114
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-5XURY2JV.js";
4
- import "./chunk-IC6XSXJO.js";
5
- import "./chunk-BDFTJVGN.js";
3
+ } from "./chunk-MGK66RUH.js";
4
+ import "./chunk-NOD5BM45.js";
5
+ import "./chunk-C73V4K3S.js";
6
6
  import "./chunk-6QENHZZP.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "4.10.0";
39
+ var version = "4.10.2";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-IC6XSXJO.js";
4
- import "../chunk-BDFTJVGN.js";
3
+ } from "../chunk-NOD5BM45.js";
4
+ import "../chunk-C73V4K3S.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -190,6 +190,12 @@ export default defineConfig({
190
190
  'semver',
191
191
  'diff',
192
192
  'diff2html',
193
+ // Used by the ArchitectureGraph embeds — discovering these lazily mid-session
194
+ // triggers a re-optimize that 504s every already-loaded chunk
195
+ 'd3-force',
196
+ 'd3-selection',
197
+ 'd3-zoom',
198
+ 'd3-drag',
193
199
  ],
194
200
  },
195
201
  },