@eventcatalog/core 2.18.6 → 2.18.7
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-A6WKKOVK.js → chunk-3B32CY7F.js} +1 -1
- package/dist/{chunk-PMKIIHTY.js → chunk-7GHQF4IY.js} +1 -1
- package/dist/{chunk-H23OJDR7.js → chunk-KIJRG7DY.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/layouts/VerticalSideBarLayout.astro +3 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/language.astro +1 -1
- package/eventcatalog/src/utils/collections/domains.ts +1 -2
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-3B32CY7F.js";
|
|
4
|
+
import "../chunk-7GHQF4IY.js";
|
|
5
|
+
import "../chunk-KIJRG7DY.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
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-SHCMAL37.js";
|
|
4
4
|
import {
|
|
5
5
|
log_build_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-3B32CY7F.js";
|
|
7
|
+
import "./chunk-7GHQF4IY.js";
|
|
8
8
|
import {
|
|
9
9
|
catalogToAstro
|
|
10
10
|
} from "./chunk-WF34R5UT.js";
|
|
11
11
|
import {
|
|
12
12
|
VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KIJRG7DY.js";
|
|
14
14
|
import {
|
|
15
15
|
generate
|
|
16
16
|
} from "./chunk-YEQVKHST.js";
|
|
@@ -46,7 +46,9 @@ const getDefaultUrl = (route: string, defaultValue: string) => {
|
|
|
46
46
|
const collections = [
|
|
47
47
|
{ data: domains, key: 'domains' },
|
|
48
48
|
{ data: services, key: 'services' },
|
|
49
|
-
{ data:
|
|
49
|
+
{ data: events, key: 'events' },
|
|
50
|
+
{ data: commands, key: 'commands' },
|
|
51
|
+
{ data: queries, key: 'queries' },
|
|
50
52
|
{ data: flows, key: 'flows' },
|
|
51
53
|
];
|
|
52
54
|
|
|
@@ -7,7 +7,7 @@ import { ViewTransitions } from 'astro:transitions';
|
|
|
7
7
|
import * as LucideIcons from 'lucide-react';
|
|
8
8
|
|
|
9
9
|
export async function getStaticPaths() {
|
|
10
|
-
const domains = await getDomains();
|
|
10
|
+
const domains = await getDomains({ getAllVersions: false });
|
|
11
11
|
|
|
12
12
|
const buildPages = (collection: CollectionEntry<'domains'>[]) => {
|
|
13
13
|
return collection.map((item) => ({
|
|
@@ -75,8 +75,7 @@ export const getDomains = async ({ getAllVersions = true }: Props = {}): Promise
|
|
|
75
75
|
|
|
76
76
|
export const getUbiquitousLanguage = async (domain: Domain): Promise<UbiquitousLanguage[]> => {
|
|
77
77
|
const ubiquitousLanguages = await getCollection('ubiquitousLanguages', (ubiquitousLanguage: UbiquitousLanguage) => {
|
|
78
|
-
|
|
79
|
-
return domain.filePath?.toLowerCase().includes(folderPath.toLowerCase());
|
|
78
|
+
return ubiquitousLanguage.slug.startsWith(`${domain.collection}/${domain.slug}`);
|
|
80
79
|
});
|
|
81
80
|
|
|
82
81
|
return ubiquitousLanguages;
|
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.18.
|
|
9
|
+
"version": "2.18.7",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@tailwindcss/typography": "^0.5.13",
|
|
57
57
|
"@tanstack/react-table": "^8.17.3",
|
|
58
58
|
"@xyflow/react": "^12.3.6",
|
|
59
|
-
"astro": "^5.
|
|
59
|
+
"astro": "^5.1.2",
|
|
60
60
|
"astro-expressive-code": "^0.38.3",
|
|
61
61
|
"astro-pagefind": "^1.6.0",
|
|
62
62
|
"astro-seo": "^0.8.4",
|