@eventcatalog/core 3.8.1 → 3.8.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.
- 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/{chunk-POQENB7N.js → chunk-275AT7XV.js} +1 -1
- package/dist/{chunk-4BEERWPE.js → chunk-I7HRERRK.js} +1 -1
- package/dist/{chunk-SL2YYN6D.js → chunk-KBMXUUXX.js} +1 -1
- package/dist/{chunk-NV7H3356.js → chunk-MOBOWLEW.js} +1 -1
- package/dist/{chunk-ZBC6HM3V.js → chunk-OCD75GFW.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.js +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +1 -1
- package/eventcatalog/src/enterprise/custom-documentation/utils/custom-docs.ts +6 -2
- package/package.json +1 -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-I7HRERRK.js";
|
|
4
|
+
import "../chunk-MOBOWLEW.js";
|
|
5
|
+
import "../chunk-KBMXUUXX.js";
|
|
6
6
|
import "../chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
109
109
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
110
110
|
|
|
111
111
|
// package.json
|
|
112
|
-
var version = "3.8.
|
|
112
|
+
var version = "3.8.2";
|
|
113
113
|
|
|
114
114
|
// src/constants.ts
|
|
115
115
|
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-I7HRERRK.js";
|
|
10
|
+
import "./chunk-MOBOWLEW.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrations
|
|
13
13
|
} from "./chunk-BH3JMNAV.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
} from "./chunk-5VBIXL6C.js";
|
|
22
22
|
import {
|
|
23
23
|
generate
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OCD75GFW.js";
|
|
25
25
|
import {
|
|
26
26
|
logger
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-275AT7XV.js";
|
|
28
28
|
import {
|
|
29
29
|
VERSION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KBMXUUXX.js";
|
|
31
31
|
import "./chunk-UPONRQSN.js";
|
|
32
32
|
|
|
33
33
|
// src/eventcatalog.ts
|
package/dist/generate.cjs
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OCD75GFW.js";
|
|
4
|
+
import "./chunk-275AT7XV.js";
|
|
5
|
+
import "./chunk-KBMXUUXX.js";
|
|
6
6
|
import "./chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -63,7 +63,7 @@ sidebar.forEach((section: SidebarSection) => {
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
const { prev, next } = await getAdjacentPages(currentSlug
|
|
66
|
+
const { prev, next } = await getAdjacentPages(currentSlug);
|
|
67
67
|
|
|
68
68
|
const ownersRaw = doc?.owners || [];
|
|
69
69
|
const owners = await Promise.all<ReturnType<typeof getOwner>>(ownersRaw.map(getOwner));
|
|
@@ -71,13 +71,17 @@ const processAutoGeneratedDirectory = async (
|
|
|
71
71
|
undefined, // No badge for subdirectories
|
|
72
72
|
collapsed // Inherit collapsed state
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
// Only add the directory if it contains valid items (mdx/md files)
|
|
75
|
+
if (subdirResult.items && subdirResult.items.length > 0) {
|
|
76
|
+
allItems.push(subdirResult);
|
|
77
|
+
}
|
|
75
78
|
} else {
|
|
76
79
|
// Process file
|
|
77
80
|
const content = fs.readFileSync(fullPath, 'utf8');
|
|
78
81
|
const { data } = matter(content);
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
// Normalize path separators to forward slashes for cross-platform compatibility (Windows uses backslashes)
|
|
84
|
+
const astroId = data.slug || path.join(DOCS_DIR, directory, item).replace('.mdx', '').replace(/\\/g, '/');
|
|
81
85
|
const entry = await getEntry('customPages', astroId.toLowerCase());
|
|
82
86
|
|
|
83
87
|
if (entry) {
|