@eventcatalog/core 3.40.1 → 3.40.2
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/bin/eventcatalog.config.d.ts +1 -0
- 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-7UR72UMK.js → chunk-5FFRK3S5.js} +3 -4
- package/dist/{chunk-BRMLU4PR.js → chunk-B7LKNRMT.js} +1 -1
- package/dist/{chunk-OIVICT4V.js → chunk-D6UVZABG.js} +1 -1
- package/dist/{chunk-HNG4KOYQ.js → chunk-HSSCHCQA.js} +1 -1
- package/dist/{chunk-4OEF5W6Y.js → chunk-PWIB7GLR.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -2
- package/dist/eventcatalog.config.d.cts +23 -11
- package/dist/eventcatalog.config.d.ts +23 -11
- package/dist/eventcatalog.js +10 -10
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/package.json +10 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Config, SideBarConfig } from '../dist/eventcatalog.config.js';
|
|
@@ -111,7 +111,7 @@ var import_axios = __toESM(require("axios"), 1);
|
|
|
111
111
|
var import_os = __toESM(require("os"), 1);
|
|
112
112
|
|
|
113
113
|
// package.json
|
|
114
|
-
var version = "3.40.
|
|
114
|
+
var version = "3.40.2";
|
|
115
115
|
|
|
116
116
|
// src/constants.ts
|
|
117
117
|
var VERSION = version;
|
|
@@ -224,7 +224,6 @@ var reportCloudResourceInventory = async (configFile, resourceCounts) => {
|
|
|
224
224
|
});
|
|
225
225
|
};
|
|
226
226
|
var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScaleEnabled, isBackstagePluginEnabled }) => {
|
|
227
|
-
if (process.env.NODE_ENV === "CI") return;
|
|
228
227
|
try {
|
|
229
228
|
await verifyRequiredFieldsAreInCatalogConfigFile(projectDir);
|
|
230
229
|
const configFile = await getEventCatalogConfigFile(projectDir);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5FFRK3S5.js";
|
|
4
|
+
import "../chunk-PWIB7GLR.js";
|
|
4
5
|
import "../chunk-4UVFXLPI.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-HNG4KOYQ.js";
|
|
6
|
+
import "../chunk-HSSCHCQA.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
raiseEvent
|
|
3
|
+
} from "./chunk-PWIB7GLR.js";
|
|
1
4
|
import {
|
|
2
5
|
countResources,
|
|
3
6
|
serializeCounts
|
|
4
7
|
} from "./chunk-4UVFXLPI.js";
|
|
5
|
-
import {
|
|
6
|
-
raiseEvent
|
|
7
|
-
} from "./chunk-4OEF5W6Y.js";
|
|
8
8
|
import {
|
|
9
9
|
getEventCatalogConfigFile,
|
|
10
10
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -56,7 +56,6 @@ var reportCloudResourceInventory = async (configFile, resourceCounts) => {
|
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
58
|
var main = async (projectDir, { isEventCatalogStarterEnabled, isEventCatalogScaleEnabled, isBackstagePluginEnabled }) => {
|
|
59
|
-
if (process.env.NODE_ENV === "CI") return;
|
|
60
59
|
try {
|
|
61
60
|
await verifyRequiredFieldsAreInCatalogConfigFile(projectDir);
|
|
62
61
|
const configFile = await getEventCatalogConfigFile(projectDir);
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
114
114
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
115
115
|
|
|
116
116
|
// package.json
|
|
117
|
-
var version = "3.40.
|
|
117
|
+
var version = "3.40.2";
|
|
118
118
|
|
|
119
119
|
// src/constants.ts
|
|
120
120
|
var VERSION = version;
|
|
@@ -319,7 +319,6 @@ var reportCloudResourceInventory = async (configFile, resourceCounts) => {
|
|
|
319
319
|
});
|
|
320
320
|
};
|
|
321
321
|
var main = async (projectDir, { isEventCatalogStarterEnabled: isEventCatalogStarterEnabled2, isEventCatalogScaleEnabled: isEventCatalogScaleEnabled2, isBackstagePluginEnabled }) => {
|
|
322
|
-
if (process.env.NODE_ENV === "CI") return;
|
|
323
322
|
try {
|
|
324
323
|
await verifyRequiredFieldsAreInCatalogConfigFile(projectDir);
|
|
325
324
|
const configFile = await getEventCatalogConfigFile(projectDir);
|
|
@@ -35,6 +35,7 @@ type TableConfiguration = {
|
|
|
35
35
|
columns: {
|
|
36
36
|
[key: string]: {
|
|
37
37
|
visible?: boolean;
|
|
38
|
+
label?: string;
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
};
|
|
@@ -44,6 +45,8 @@ type PagesConfiguration = {
|
|
|
44
45
|
icon?: string;
|
|
45
46
|
pages?: string[];
|
|
46
47
|
};
|
|
48
|
+
type NavigationPage = string | PagesConfiguration;
|
|
49
|
+
type GeneratorConfig = string | Record<string, unknown> | [string, Record<string, unknown>];
|
|
47
50
|
type AuthConfig = {
|
|
48
51
|
enabled: boolean;
|
|
49
52
|
};
|
|
@@ -118,18 +121,26 @@ type IntegrationsConfig = {
|
|
|
118
121
|
type CatalogTheme = 'default' | 'ocean' | 'sapphire' | 'sunset' | 'forest' | (string & {});
|
|
119
122
|
type ScalarConfiguration = any;
|
|
120
123
|
interface Config {
|
|
124
|
+
cId: string;
|
|
121
125
|
title: string;
|
|
122
|
-
tagline: false;
|
|
123
126
|
organizationName: string;
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
tagline?: string | false;
|
|
128
|
+
homepageLink?: string;
|
|
129
|
+
editUrl?: string;
|
|
126
130
|
repositoryUrl?: string;
|
|
127
131
|
landingPage?: string;
|
|
128
132
|
base?: string;
|
|
129
|
-
port?: string;
|
|
130
|
-
|
|
133
|
+
port?: string | number;
|
|
134
|
+
outDir?: string;
|
|
135
|
+
host?: string | boolean;
|
|
131
136
|
trailingSlash?: boolean;
|
|
132
137
|
output?: 'server' | 'static';
|
|
138
|
+
server?: {
|
|
139
|
+
allowedHosts?: string[] | true;
|
|
140
|
+
};
|
|
141
|
+
security?: {
|
|
142
|
+
checkOrigin?: boolean;
|
|
143
|
+
};
|
|
133
144
|
/**
|
|
134
145
|
* Theme for the catalog UI.
|
|
135
146
|
* - 'default': Default purple/slate theme
|
|
@@ -143,8 +154,8 @@ interface Config {
|
|
|
143
154
|
auth?: AuthConfig;
|
|
144
155
|
mcp?: McpConfig;
|
|
145
156
|
rss?: {
|
|
146
|
-
enabled
|
|
147
|
-
limit
|
|
157
|
+
enabled?: boolean;
|
|
158
|
+
limit?: number;
|
|
148
159
|
};
|
|
149
160
|
search?: {
|
|
150
161
|
/**
|
|
@@ -170,9 +181,9 @@ interface Config {
|
|
|
170
181
|
compress?: boolean;
|
|
171
182
|
sidebar?: SideBarConfig[];
|
|
172
183
|
navigation?: {
|
|
173
|
-
pages:
|
|
184
|
+
pages: NavigationPage[];
|
|
174
185
|
};
|
|
175
|
-
docs
|
|
186
|
+
docs?: {
|
|
176
187
|
sidebar: {
|
|
177
188
|
type?: 'TREE_VIEW' | 'LIST_VIEW';
|
|
178
189
|
showOrphanedMessages?: boolean;
|
|
@@ -189,7 +200,7 @@ interface Config {
|
|
|
189
200
|
iconPacks?: string[];
|
|
190
201
|
};
|
|
191
202
|
chat?: {
|
|
192
|
-
enabled
|
|
203
|
+
enabled?: boolean;
|
|
193
204
|
provider?: 'openai' | 'anthropic' | 'google';
|
|
194
205
|
model?: string;
|
|
195
206
|
max_tokens?: number;
|
|
@@ -207,7 +218,7 @@ interface Config {
|
|
|
207
218
|
/**
|
|
208
219
|
* Enable or disable the /api/catalog endpoint that dumps the entire catalog as JSON.
|
|
209
220
|
* Disabling this can significantly reduce memory usage during builds for large catalogs (1000+ files).
|
|
210
|
-
* @default
|
|
221
|
+
* @default true
|
|
211
222
|
*/
|
|
212
223
|
fullCatalogAPIEnabled?: boolean;
|
|
213
224
|
};
|
|
@@ -256,6 +267,7 @@ interface Config {
|
|
|
256
267
|
cloud?: EventCatalogCloudConfig;
|
|
257
268
|
integrations?: IntegrationsConfig;
|
|
258
269
|
scalarConfiguration?: ScalarConfiguration;
|
|
270
|
+
generators?: GeneratorConfig[];
|
|
259
271
|
}
|
|
260
272
|
|
|
261
273
|
export type { Config, SideBarConfig };
|
|
@@ -35,6 +35,7 @@ type TableConfiguration = {
|
|
|
35
35
|
columns: {
|
|
36
36
|
[key: string]: {
|
|
37
37
|
visible?: boolean;
|
|
38
|
+
label?: string;
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
};
|
|
@@ -44,6 +45,8 @@ type PagesConfiguration = {
|
|
|
44
45
|
icon?: string;
|
|
45
46
|
pages?: string[];
|
|
46
47
|
};
|
|
48
|
+
type NavigationPage = string | PagesConfiguration;
|
|
49
|
+
type GeneratorConfig = string | Record<string, unknown> | [string, Record<string, unknown>];
|
|
47
50
|
type AuthConfig = {
|
|
48
51
|
enabled: boolean;
|
|
49
52
|
};
|
|
@@ -118,18 +121,26 @@ type IntegrationsConfig = {
|
|
|
118
121
|
type CatalogTheme = 'default' | 'ocean' | 'sapphire' | 'sunset' | 'forest' | (string & {});
|
|
119
122
|
type ScalarConfiguration = any;
|
|
120
123
|
interface Config {
|
|
124
|
+
cId: string;
|
|
121
125
|
title: string;
|
|
122
|
-
tagline: false;
|
|
123
126
|
organizationName: string;
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
tagline?: string | false;
|
|
128
|
+
homepageLink?: string;
|
|
129
|
+
editUrl?: string;
|
|
126
130
|
repositoryUrl?: string;
|
|
127
131
|
landingPage?: string;
|
|
128
132
|
base?: string;
|
|
129
|
-
port?: string;
|
|
130
|
-
|
|
133
|
+
port?: string | number;
|
|
134
|
+
outDir?: string;
|
|
135
|
+
host?: string | boolean;
|
|
131
136
|
trailingSlash?: boolean;
|
|
132
137
|
output?: 'server' | 'static';
|
|
138
|
+
server?: {
|
|
139
|
+
allowedHosts?: string[] | true;
|
|
140
|
+
};
|
|
141
|
+
security?: {
|
|
142
|
+
checkOrigin?: boolean;
|
|
143
|
+
};
|
|
133
144
|
/**
|
|
134
145
|
* Theme for the catalog UI.
|
|
135
146
|
* - 'default': Default purple/slate theme
|
|
@@ -143,8 +154,8 @@ interface Config {
|
|
|
143
154
|
auth?: AuthConfig;
|
|
144
155
|
mcp?: McpConfig;
|
|
145
156
|
rss?: {
|
|
146
|
-
enabled
|
|
147
|
-
limit
|
|
157
|
+
enabled?: boolean;
|
|
158
|
+
limit?: number;
|
|
148
159
|
};
|
|
149
160
|
search?: {
|
|
150
161
|
/**
|
|
@@ -170,9 +181,9 @@ interface Config {
|
|
|
170
181
|
compress?: boolean;
|
|
171
182
|
sidebar?: SideBarConfig[];
|
|
172
183
|
navigation?: {
|
|
173
|
-
pages:
|
|
184
|
+
pages: NavigationPage[];
|
|
174
185
|
};
|
|
175
|
-
docs
|
|
186
|
+
docs?: {
|
|
176
187
|
sidebar: {
|
|
177
188
|
type?: 'TREE_VIEW' | 'LIST_VIEW';
|
|
178
189
|
showOrphanedMessages?: boolean;
|
|
@@ -189,7 +200,7 @@ interface Config {
|
|
|
189
200
|
iconPacks?: string[];
|
|
190
201
|
};
|
|
191
202
|
chat?: {
|
|
192
|
-
enabled
|
|
203
|
+
enabled?: boolean;
|
|
193
204
|
provider?: 'openai' | 'anthropic' | 'google';
|
|
194
205
|
model?: string;
|
|
195
206
|
max_tokens?: number;
|
|
@@ -207,7 +218,7 @@ interface Config {
|
|
|
207
218
|
/**
|
|
208
219
|
* Enable or disable the /api/catalog endpoint that dumps the entire catalog as JSON.
|
|
209
220
|
* Disabling this can significantly reduce memory usage during builds for large catalogs (1000+ files).
|
|
210
|
-
* @default
|
|
221
|
+
* @default true
|
|
211
222
|
*/
|
|
212
223
|
fullCatalogAPIEnabled?: boolean;
|
|
213
224
|
};
|
|
@@ -256,6 +267,7 @@ interface Config {
|
|
|
256
267
|
cloud?: EventCatalogCloudConfig;
|
|
257
268
|
integrations?: IntegrationsConfig;
|
|
258
269
|
scalarConfiguration?: ScalarConfiguration;
|
|
270
|
+
generators?: GeneratorConfig[];
|
|
259
271
|
}
|
|
260
272
|
|
|
261
273
|
export type { Config, SideBarConfig };
|
package/dist/eventcatalog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
runMigrations
|
|
3
|
+
} from "./chunk-XUAF2H54.js";
|
|
4
|
+
import "./chunk-CA4U2JP7.js";
|
|
5
5
|
import {
|
|
6
6
|
resolve_catalog_dependencies_default
|
|
7
7
|
} from "./chunk-WAJIJEI3.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
watch
|
|
13
13
|
} from "./chunk-K3ZVEX2Y.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
log_build_default
|
|
16
|
+
} from "./chunk-5FFRK3S5.js";
|
|
17
|
+
import "./chunk-PWIB7GLR.js";
|
|
18
|
+
import "./chunk-4UVFXLPI.js";
|
|
19
19
|
import {
|
|
20
20
|
catalogToAstro
|
|
21
21
|
} from "./chunk-YDXB3BD2.js";
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
} from "./chunk-ULZYHF3V.js";
|
|
29
29
|
import {
|
|
30
30
|
generate
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-B7LKNRMT.js";
|
|
32
32
|
import {
|
|
33
33
|
logger
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-D6UVZABG.js";
|
|
35
35
|
import {
|
|
36
36
|
VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HSSCHCQA.js";
|
|
38
38
|
import {
|
|
39
39
|
getEventCatalogConfigFile,
|
|
40
40
|
verifyRequiredFieldsAreInCatalogConfigFile
|
package/dist/generate.cjs
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-B7LKNRMT.js";
|
|
4
|
+
import "./chunk-D6UVZABG.js";
|
|
5
|
+
import "./chunk-HSSCHCQA.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
package/package.json
CHANGED
|
@@ -7,13 +7,20 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "3.40.
|
|
10
|
+
"version": "3.40.2",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"bin": {
|
|
15
15
|
"eventcatalog": "bin/eventcatalog.js"
|
|
16
16
|
},
|
|
17
|
+
"typesVersions": {
|
|
18
|
+
"*": {
|
|
19
|
+
"bin/eventcatalog.config": [
|
|
20
|
+
"bin/eventcatalog.config.d.ts"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
17
24
|
"files": [
|
|
18
25
|
"eventcatalog/",
|
|
19
26
|
"!eventcatalog/**/__tests__/",
|
|
@@ -106,9 +113,9 @@
|
|
|
106
113
|
"update-notifier": "^7.3.1",
|
|
107
114
|
"uuid": "^10.0.0",
|
|
108
115
|
"zod": "^4.3.6",
|
|
109
|
-
"@eventcatalog/
|
|
116
|
+
"@eventcatalog/linter": "1.0.24",
|
|
110
117
|
"@eventcatalog/visualiser": "^3.21.0",
|
|
111
|
-
"@eventcatalog/
|
|
118
|
+
"@eventcatalog/sdk": "2.21.2"
|
|
112
119
|
},
|
|
113
120
|
"devDependencies": {
|
|
114
121
|
"@astrojs/check": "^0.9.9",
|