@eventcatalog/core 2.37.0 → 2.37.1
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-B6ZIYCJG.js → chunk-2TAZVC65.js} +1 -1
- package/dist/{chunk-5OMFLY4U.js → chunk-ENZA5AV5.js} +1 -1
- package/dist/{chunk-NJTCGQQ5.js → chunk-V5DKJ3VX.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 +3 -3
- package/eventcatalog/src/pages/index.astro +4 -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-ENZA5AV5.js";
|
|
4
|
+
import "../chunk-2TAZVC65.js";
|
|
5
|
+
import "../chunk-V5DKJ3VX.js";
|
|
6
6
|
import "../chunk-E7TXTI7G.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
package/dist/eventcatalog.js
CHANGED
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
} from "./chunk-DCLTVJDP.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ENZA5AV5.js";
|
|
10
|
+
import "./chunk-2TAZVC65.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro,
|
|
13
13
|
checkAndConvertMdToMdx
|
|
14
14
|
} from "./chunk-SLEMYHTU.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V5DKJ3VX.js";
|
|
18
18
|
import {
|
|
19
19
|
isBackstagePluginEnabled,
|
|
20
20
|
isEventCatalogScaleEnabled,
|
|
@@ -11,7 +11,6 @@ import { isCustomLandingPageEnabled } from '@utils/feature';
|
|
|
11
11
|
import DefaultAstroLandingPage from './_index.astro';
|
|
12
12
|
|
|
13
13
|
let nodeGraphs: any[] = [];
|
|
14
|
-
|
|
15
14
|
let CustomContent = null;
|
|
16
15
|
|
|
17
16
|
import path from 'path';
|
|
@@ -22,7 +21,10 @@ const props = Astro.props;
|
|
|
22
21
|
const pathToUserDefinedLandingPage = path.join(process.env.PROJECT_DIR || '', 'pages/homepage.astro');
|
|
23
22
|
|
|
24
23
|
if (existsSync(pathToUserDefinedLandingPage) && isCustomLandingPageEnabled()) {
|
|
25
|
-
|
|
24
|
+
const customPages = import.meta.glob('/**/homepage.astro', { eager: true });
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
CustomContent = Object.values(customPages)[0]?.default || null;
|
|
27
|
+
|
|
26
28
|
const rawContent = readFileSync(pathToUserDefinedLandingPage, 'utf-8');
|
|
27
29
|
nodeGraphs = getMDXComponentsByName(rawContent, 'NodeGraph') || [];
|
|
28
30
|
}
|