@eventcatalog/core 2.43.3 → 2.43.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.
@@ -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.43.3";
40
+ var version = "2.43.5";
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-JZJVAKU2.js";
4
- import "../chunk-V25ESTIN.js";
3
+ } from "../chunk-FLVILMI6.js";
4
+ import "../chunk-JVRNO62X.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.43.3";
109
+ var version = "2.43.5";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -136,6 +136,14 @@ async function raiseEvent(eventData) {
136
136
  }
137
137
 
138
138
  // src/analytics/log-build.js
139
+ var getFeatures = async (configFile) => {
140
+ return {
141
+ llmsTxt: configFile.llmsTxt?.enabled || false,
142
+ rss: configFile.rss?.enabled || false,
143
+ chat: configFile.chat?.enabled || false,
144
+ output: configFile.output || "static"
145
+ };
146
+ };
139
147
  var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScaleEnabled, isBackstagePluginEnabled }) => {
140
148
  if (process.env.NODE_ENV === "CI") return;
141
149
  try {
@@ -152,11 +160,13 @@ var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScal
152
160
  if (isBackstagePluginEnabled) {
153
161
  generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
154
162
  }
163
+ const features = await getFeatures(configFile);
155
164
  await raiseEvent({
156
165
  command: "build",
157
166
  org: organizationName,
158
167
  cId,
159
- generators: generatorNames.toString()
168
+ generators: generatorNames.toString(),
169
+ features: Object.keys(features).map((feature) => `${feature}:${features[feature]}`).join(",")
160
170
  });
161
171
  } catch (error) {
162
172
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-TU6VXO7L.js";
4
- import "../chunk-JZJVAKU2.js";
5
- import "../chunk-V25ESTIN.js";
3
+ } from "../chunk-ROUO6U5X.js";
4
+ import "../chunk-FLVILMI6.js";
5
+ import "../chunk-JVRNO62X.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
  VERSION
3
- } from "./chunk-V25ESTIN.js";
3
+ } from "./chunk-JVRNO62X.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.43.3";
2
+ var version = "2.43.5";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,12 +1,20 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-JZJVAKU2.js";
3
+ } from "./chunk-FLVILMI6.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
7
7
  } from "./chunk-E7TXTI7G.js";
8
8
 
9
9
  // src/analytics/log-build.js
10
+ var getFeatures = async (configFile) => {
11
+ return {
12
+ llmsTxt: configFile.llmsTxt?.enabled || false,
13
+ rss: configFile.rss?.enabled || false,
14
+ chat: configFile.chat?.enabled || false,
15
+ output: configFile.output || "static"
16
+ };
17
+ };
10
18
  var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScaleEnabled, isBackstagePluginEnabled }) => {
11
19
  if (process.env.NODE_ENV === "CI") return;
12
20
  try {
@@ -23,11 +31,13 @@ var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScal
23
31
  if (isBackstagePluginEnabled) {
24
32
  generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
25
33
  }
34
+ const features = await getFeatures(configFile);
26
35
  await raiseEvent({
27
36
  command: "build",
28
37
  org: organizationName,
29
38
  cId,
30
- generators: generatorNames.toString()
39
+ generators: generatorNames.toString(),
40
+ features: Object.keys(features).map((feature) => `${feature}:${features[feature]}`).join(",")
31
41
  });
32
42
  } catch (error) {
33
43
  }
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.43.3";
28
+ var version = "2.43.5";
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-V25ESTIN.js";
3
+ } from "./chunk-JVRNO62X.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -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.43.3";
160
+ var version = "2.43.5";
161
161
 
162
162
  // src/constants.ts
163
163
  var VERSION = version;
@@ -187,6 +187,14 @@ async function raiseEvent(eventData) {
187
187
  }
188
188
 
189
189
  // src/analytics/log-build.js
190
+ var getFeatures = async (configFile) => {
191
+ return {
192
+ llmsTxt: configFile.llmsTxt?.enabled || false,
193
+ rss: configFile.rss?.enabled || false,
194
+ chat: configFile.chat?.enabled || false,
195
+ output: configFile.output || "static"
196
+ };
197
+ };
190
198
  var main = async (projectDir, { isEventCatalogStarterEnabled: isEventCatalogStarterEnabled2, isEventCatalogScaleEnabled: isEventCatalogScaleEnabled2, isBackstagePluginEnabled: isBackstagePluginEnabled2 }) => {
191
199
  if (process.env.NODE_ENV === "CI") return;
192
200
  try {
@@ -203,11 +211,13 @@ var main = async (projectDir, { isEventCatalogStarterEnabled: isEventCatalogStar
203
211
  if (isBackstagePluginEnabled2) {
204
212
  generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
205
213
  }
214
+ const features = await getFeatures(configFile);
206
215
  await raiseEvent({
207
216
  command: "build",
208
217
  org: organizationName,
209
218
  cId,
210
- generators: generatorNames.toString()
219
+ generators: generatorNames.toString(),
220
+ features: Object.keys(features).map((feature) => `${feature}:${features[feature]}`).join(",")
211
221
  });
212
222
  } catch (error) {
213
223
  }
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-DCLTVJDP.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-TU6VXO7L.js";
10
- import "./chunk-JZJVAKU2.js";
9
+ } from "./chunk-ROUO6U5X.js";
10
+ import "./chunk-FLVILMI6.js";
11
11
  import {
12
12
  catalogToAstro,
13
13
  checkAndConvertMdToMdx
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-EXAALOQA.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-V25ESTIN.js";
18
+ } from "./chunk-JVRNO62X.js";
19
19
  import {
20
20
  isAuthEnabled,
21
21
  isBackstagePluginEnabled,
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.43.3",
9
+ "version": "2.43.5",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -24,11 +24,11 @@
24
24
  "@ai-sdk/anthropic": "^1.2.11",
25
25
  "@ai-sdk/google": "^1.2.17",
26
26
  "@ai-sdk/openai": "^1.3.16",
27
- "@astrojs/markdown-remark": "^6.3.1",
28
- "@astrojs/mdx": "^4.2.4",
29
- "@astrojs/node": "^9.2.0",
30
- "@astrojs/react": "^4.2.4",
31
- "@astrojs/rss": "^4.0.11",
27
+ "@astrojs/markdown-remark": "^6.3.2",
28
+ "@astrojs/mdx": "^4.3.0",
29
+ "@astrojs/node": "^9.2.2",
30
+ "@astrojs/react": "^4.3.0",
31
+ "@astrojs/rss": "^4.0.12",
32
32
  "@astrojs/tailwind": "^6.0.2",
33
33
  "@asyncapi/avro-schema-parser": "^3.0.24",
34
34
  "@asyncapi/parser": "^3.4.0",
@@ -55,7 +55,7 @@
55
55
  "@tanstack/react-table": "^8.17.3",
56
56
  "@xyflow/react": "^12.3.6",
57
57
  "ai": "^4.3.9",
58
- "astro": "^5.7.0",
58
+ "astro": "^5.9.3",
59
59
  "astro-expressive-code": "^0.40.1",
60
60
  "astro-pagefind": "^1.6.0",
61
61
  "astro-seo": "^0.8.4",