@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.
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "2.18.6";
40
+ var version = "2.18.7";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-PMKIIHTY.js";
4
- import "../chunk-H23OJDR7.js";
3
+ } from "../chunk-7GHQF4IY.js";
4
+ import "../chunk-KIJRG7DY.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "2.18.6";
109
+ var version = "2.18.7";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-A6WKKOVK.js";
4
- import "../chunk-PMKIIHTY.js";
5
- import "../chunk-H23OJDR7.js";
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-PMKIIHTY.js";
3
+ } from "./chunk-7GHQF4IY.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-H23OJDR7.js";
3
+ } from "./chunk-KIJRG7DY.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.18.6";
2
+ var version = "2.18.7";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.18.6";
28
+ var version = "2.18.7";
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-H23OJDR7.js";
3
+ } from "./chunk-KIJRG7DY.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -161,7 +161,7 @@ var import_axios = __toESM(require("axios"), 1);
161
161
  var import_os = __toESM(require("os"), 1);
162
162
 
163
163
  // package.json
164
- var version = "2.18.6";
164
+ var version = "2.18.7";
165
165
 
166
166
  // src/constants.ts
167
167
  var VERSION = version;
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-SHCMAL37.js";
4
4
  import {
5
5
  log_build_default
6
- } from "./chunk-A6WKKOVK.js";
7
- import "./chunk-PMKIIHTY.js";
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-H23OJDR7.js";
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: messages, key: 'messages' },
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
- const folderPath = ubiquitousLanguage.id.replace('ubiquitous-language', '');
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.6",
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.0.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",