@eventcatalog/core 2.35.4 → 2.35.6
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 -2
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-4BDLSFLA.js → chunk-242GKRAE.js} +1 -1
- package/dist/{chunk-JMNFCO7D.js → chunk-M63WKKQC.js} +1 -1
- package/dist/{chunk-U7Y5REI4.js → chunk-SAGNHURV.js} +1 -2
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +4 -2
- package/dist/eventcatalog.js +6 -3
- package/eventcatalog/src/enterprise/eventcatalog-chat/components/Chat.tsx +2 -2
- package/eventcatalog/src/enterprise/eventcatalog-chat/components/ChatSidebar.tsx +2 -2
- package/eventcatalog/src/enterprise/eventcatalog-chat/pages/chat/index.astro +8 -1
- package/package.json +1 -1
|
@@ -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.35.
|
|
109
|
+
var version = "2.35.6";
|
|
110
110
|
|
|
111
111
|
// src/constants.ts
|
|
112
112
|
var VERSION = version;
|
|
@@ -152,7 +152,6 @@ var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScal
|
|
|
152
152
|
if (isBackstagePluginEnabled) {
|
|
153
153
|
generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
|
|
154
154
|
}
|
|
155
|
-
console.log("generatorNames", generatorNames);
|
|
156
155
|
await raiseEvent({
|
|
157
156
|
command: "build",
|
|
158
157
|
org: organizationName,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-SAGNHURV.js";
|
|
4
|
+
import "../chunk-M63WKKQC.js";
|
|
5
|
+
import "../chunk-242GKRAE.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-
|
|
3
|
+
} from "./chunk-M63WKKQC.js";
|
|
4
4
|
import {
|
|
5
5
|
getEventCatalogConfigFile,
|
|
6
6
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -23,7 +23,6 @@ var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScal
|
|
|
23
23
|
if (isBackstagePluginEnabled) {
|
|
24
24
|
generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
|
|
25
25
|
}
|
|
26
|
-
console.log("generatorNames", generatorNames);
|
|
27
26
|
await raiseEvent({
|
|
28
27
|
command: "build",
|
|
29
28
|
org: organizationName,
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -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.35.
|
|
160
|
+
var version = "2.35.6";
|
|
161
161
|
|
|
162
162
|
// src/constants.ts
|
|
163
163
|
var VERSION = version;
|
|
@@ -203,7 +203,6 @@ var main = async (projectDir, { isEventCatalogStarterEnabled: isEventCatalogStar
|
|
|
203
203
|
if (isBackstagePluginEnabled2) {
|
|
204
204
|
generatorNames.push("@eventcatalog/backstage-plugin-eventcatalog");
|
|
205
205
|
}
|
|
206
|
-
console.log("generatorNames", generatorNames);
|
|
207
206
|
await raiseEvent({
|
|
208
207
|
command: "build",
|
|
209
208
|
org: organizationName,
|
|
@@ -833,6 +832,9 @@ program.command("start").description("Serves the contents of your eventcatalog b
|
|
|
833
832
|
}
|
|
834
833
|
});
|
|
835
834
|
program.command("generate [siteDir]").description("Start the generator scripts.").action(async () => {
|
|
835
|
+
if (import_fs2.default.existsSync(import_node_path7.default.join(dir, ".env"))) {
|
|
836
|
+
import_dotenv.default.config({ path: import_node_path7.default.join(dir, ".env") });
|
|
837
|
+
}
|
|
836
838
|
await generate(dir);
|
|
837
839
|
});
|
|
838
840
|
program.addHelpText(
|
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-SAGNHURV.js";
|
|
10
|
+
import "./chunk-M63WKKQC.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro,
|
|
13
13
|
checkAndConvertMdToMdx
|
|
14
14
|
} from "./chunk-5ZG43YD2.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-242GKRAE.js";
|
|
18
18
|
import {
|
|
19
19
|
isBackstagePluginEnabled,
|
|
20
20
|
isEventCatalogScaleEnabled,
|
|
@@ -258,6 +258,9 @@ program.command("start").description("Serves the contents of your eventcatalog b
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
program.command("generate [siteDir]").description("Start the generator scripts.").action(async () => {
|
|
261
|
+
if (fs.existsSync(path.join(dir, ".env"))) {
|
|
262
|
+
dotenv.config({ path: path.join(dir, ".env") });
|
|
263
|
+
}
|
|
261
264
|
await generate(dir);
|
|
262
265
|
});
|
|
263
266
|
program.addHelpText(
|
|
@@ -4,8 +4,6 @@ import ChatWindowWebLLM from './windows/ChatWindow.client';
|
|
|
4
4
|
import ChatWindowServer from './windows/ChatWindow.server';
|
|
5
5
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
6
6
|
import type { ChatPromptCategoryGroup } from '@enterprise/eventcatalog-chat/utils/chat-prompts';
|
|
7
|
-
import config from '@config';
|
|
8
|
-
const output = config.output || 'static';
|
|
9
7
|
interface Resource {
|
|
10
8
|
id: string;
|
|
11
9
|
type: string;
|
|
@@ -24,10 +22,12 @@ const Chat = ({
|
|
|
24
22
|
chatConfig,
|
|
25
23
|
resources,
|
|
26
24
|
chatPrompts,
|
|
25
|
+
output,
|
|
27
26
|
}: {
|
|
28
27
|
chatConfig: any;
|
|
29
28
|
resources: Resource[];
|
|
30
29
|
chatPrompts: ChatPromptCategoryGroup[];
|
|
30
|
+
output: 'static' | 'server';
|
|
31
31
|
}) => {
|
|
32
32
|
const queryClient = new QueryClient();
|
|
33
33
|
|
|
@@ -90,7 +90,7 @@ const Sidebar: React.FC<{}> = () => {
|
|
|
90
90
|
|
|
91
91
|
{/* Beta Message */}
|
|
92
92
|
<div className="p-4 text-xs text-gray-500 border-t border-gray-200">
|
|
93
|
-
<
|
|
93
|
+
<div>
|
|
94
94
|
Have issues or ideas? Let us know on{' '}
|
|
95
95
|
<a
|
|
96
96
|
href="https://discord.com/channels/918092420338569216/1342473496957288581"
|
|
@@ -159,7 +159,7 @@ const Sidebar: React.FC<{}> = () => {
|
|
|
159
159
|
</Dialog.Portal>
|
|
160
160
|
</Dialog.Root>
|
|
161
161
|
</div>
|
|
162
|
-
</
|
|
162
|
+
</div>
|
|
163
163
|
</div>
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
@@ -13,6 +13,7 @@ import { getServices } from '@utils/collections/services';
|
|
|
13
13
|
|
|
14
14
|
const isEnabled = config.chat?.enabled || false;
|
|
15
15
|
const chatConfig = config.chat || {};
|
|
16
|
+
const output = config.output || 'static';
|
|
16
17
|
|
|
17
18
|
const PROJECT_DIR = path.resolve(process.env.PROJECT_DIR || process.cwd());
|
|
18
19
|
const GENERATED_AI_DIR = path.resolve(PROJECT_DIR, 'public/ai');
|
|
@@ -64,7 +65,13 @@ const generatorConfig = `
|
|
|
64
65
|
</div>
|
|
65
66
|
</div>
|
|
66
67
|
<div id="chatContainer" class="w-full">
|
|
67
|
-
<Chat
|
|
68
|
+
<Chat
|
|
69
|
+
client:only="react"
|
|
70
|
+
chatConfig={chatConfig}
|
|
71
|
+
resources={resources}
|
|
72
|
+
chatPrompts={chatPrompts}
|
|
73
|
+
output={output as 'static' | 'server'}
|
|
74
|
+
/>
|
|
68
75
|
</div>
|
|
69
76
|
</>
|
|
70
77
|
) : (
|