@eventcatalog/core 2.61.4 → 2.61.5
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/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/catalog-to-astro-content-directory.cjs +1 -1
- package/dist/{chunk-7I5Y4F5V.js → chunk-25B6QU5B.js} +1 -1
- package/dist/{chunk-2MTIB6BG.js → chunk-3DQC6REX.js} +1 -1
- package/dist/{chunk-NVSSALX4.js → chunk-PK7HK42H.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +2 -2
- package/dist/eventcatalog.js +3 -3
- package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +6 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +6 -1
- package/package.json +2 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-25B6QU5B.js";
|
|
4
|
+
import "../chunk-PK7HK42H.js";
|
|
5
|
+
import "../chunk-3DQC6REX.js";
|
|
6
6
|
import "../chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
|
@@ -35,7 +35,7 @@ __export(catalog_to_astro_content_directory_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.
|
|
38
|
+
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
39
39
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
40
40
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
41
|
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
mod
|
|
23
23
|
));
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.
|
|
25
|
+
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
26
26
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
27
27
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
28
|
|
|
@@ -157,7 +157,7 @@ var import_axios = __toESM(require("axios"), 1);
|
|
|
157
157
|
var import_os = __toESM(require("os"), 1);
|
|
158
158
|
|
|
159
159
|
// package.json
|
|
160
|
-
var version = "2.61.
|
|
160
|
+
var version = "2.61.5";
|
|
161
161
|
|
|
162
162
|
// src/constants.ts
|
|
163
163
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-PLNJC7NZ.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-25B6QU5B.js";
|
|
10
|
+
import "./chunk-PK7HK42H.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro,
|
|
13
13
|
checkAndConvertMdToMdx
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import "./chunk-55D645EH.js";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3DQC6REX.js";
|
|
19
19
|
import {
|
|
20
20
|
getProjectOutDir,
|
|
21
21
|
isAuthEnabled,
|
|
@@ -363,7 +363,7 @@ const badges = doc?.badges || [];
|
|
|
363
363
|
|
|
364
364
|
if (window.eventcatalog.mermaid) {
|
|
365
365
|
const { icons } = await import('@iconify-json/logos');
|
|
366
|
-
const { iconPacks = [] } = window.eventcatalog.mermaid ?? {};
|
|
366
|
+
const { iconPacks = [], enableSupportForElkLayout = false } = window.eventcatalog.mermaid ?? {};
|
|
367
367
|
|
|
368
368
|
if (iconPacks.length > 0) {
|
|
369
369
|
const iconPacksToRegister = iconPacks.map((name: string) => {
|
|
@@ -375,6 +375,11 @@ const badges = doc?.badges || [];
|
|
|
375
375
|
|
|
376
376
|
mermaid.registerIconPacks(iconPacksToRegister);
|
|
377
377
|
}
|
|
378
|
+
|
|
379
|
+
if (enableSupportForElkLayout) {
|
|
380
|
+
const { default: elkLayouts } = await import('@mermaid-js/layout-elk/dist/mermaid-layout-elk.core.mjs');
|
|
381
|
+
mermaid.registerLayoutLoaders(elkLayouts);
|
|
382
|
+
}
|
|
378
383
|
}
|
|
379
384
|
|
|
380
385
|
mermaid.initialize({
|
|
@@ -534,7 +534,7 @@ nodeGraphs.push({
|
|
|
534
534
|
|
|
535
535
|
if (window.eventcatalog.mermaid) {
|
|
536
536
|
const { icons } = await import('@iconify-json/logos');
|
|
537
|
-
const { iconPacks = [] } = window.eventcatalog.mermaid ?? {};
|
|
537
|
+
const { iconPacks = [], enableSupportForElkLayout = false } = window.eventcatalog.mermaid ?? {};
|
|
538
538
|
|
|
539
539
|
if (iconPacks.length > 0) {
|
|
540
540
|
const iconPacksToRegister = iconPacks.map((name: any) => {
|
|
@@ -546,6 +546,11 @@ nodeGraphs.push({
|
|
|
546
546
|
|
|
547
547
|
mermaid.registerIconPacks(iconPacksToRegister);
|
|
548
548
|
}
|
|
549
|
+
|
|
550
|
+
if (enableSupportForElkLayout) {
|
|
551
|
+
const { default: elkLayouts } = await import('@mermaid-js/layout-elk/dist/mermaid-layout-elk.core.mjs');
|
|
552
|
+
mermaid.registerLayoutLoaders(elkLayouts);
|
|
553
|
+
}
|
|
549
554
|
}
|
|
550
555
|
|
|
551
556
|
mermaid.initialize({
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/event-catalog/eventcatalog.git"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"version": "2.61.
|
|
9
|
+
"version": "2.61.5",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"@headlessui/react": "^2.0.3",
|
|
46
46
|
"@heroicons/react": "^2.1.3",
|
|
47
47
|
"@iconify-json/logos": "^1.2.4",
|
|
48
|
+
"@mermaid-js/layout-elk": "^0.2.0",
|
|
48
49
|
"@parcel/watcher": "^2.4.1",
|
|
49
50
|
"@radix-ui/react-context-menu": "^2.2.6",
|
|
50
51
|
"@radix-ui/react-dialog": "^1.1.6",
|