@eventcatalog/core 4.0.0 → 4.0.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/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-OHN54GDX.js → chunk-3CI2JSWL.js} +1 -1
- package/dist/{chunk-J5YNDRCG.js → chunk-NRGIYMDX.js} +1 -1
- package/dist/{chunk-T76MLREB.js → chunk-QCK56K3B.js} +1 -1
- package/dist/{chunk-BN7HYT7S.js → chunk-URZQEXJ4.js} +1 -1
- package/dist/{chunk-UNDBIZWO.js → chunk-WHYG3GJ7.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 +5 -5
- 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/eventcatalog/src/components/MDX/components.tsx +6 -1
- package/eventcatalog/src/types/picomatch.d.ts +13 -0
- package/package.json +2 -2
|
@@ -140,7 +140,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
140
140
|
var import_os = __toESM(require("os"), 1);
|
|
141
141
|
|
|
142
142
|
// package.json
|
|
143
|
-
var version = "4.0.
|
|
143
|
+
var version = "4.0.2";
|
|
144
144
|
|
|
145
145
|
// src/constants.ts
|
|
146
146
|
var VERSION = version;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-URZQEXJ4.js";
|
|
4
|
+
import "../chunk-WHYG3GJ7.js";
|
|
5
5
|
import "../chunk-DAOXTQVS.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-NRGIYMDX.js";
|
|
7
7
|
import "../chunk-6QENHZZP.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
144
144
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
145
145
|
|
|
146
146
|
// package.json
|
|
147
|
-
var version = "4.0.
|
|
147
|
+
var version = "4.0.2";
|
|
148
148
|
|
|
149
149
|
// src/constants.ts
|
|
150
150
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-URZQEXJ4.js";
|
|
4
4
|
import {
|
|
5
5
|
runMigrations
|
|
6
6
|
} from "./chunk-XUAF2H54.js";
|
|
7
7
|
import "./chunk-CA4U2JP7.js";
|
|
8
8
|
import {
|
|
9
9
|
generate
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QCK56K3B.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3CI2JSWL.js";
|
|
14
14
|
import {
|
|
15
15
|
resolve_catalog_dependencies_default
|
|
16
16
|
} from "./chunk-LHR4G2UO.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
watch
|
|
22
22
|
} from "./chunk-O3Y2G6CY.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-WHYG3GJ7.js";
|
|
24
24
|
import "./chunk-DAOXTQVS.js";
|
|
25
25
|
import {
|
|
26
26
|
catalogToAstro
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import "./chunk-VC6VUJIX.js";
|
|
29
29
|
import {
|
|
30
30
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NRGIYMDX.js";
|
|
32
32
|
import {
|
|
33
33
|
linkCoreNodeModules,
|
|
34
34
|
resolveInstalledCoreNodeModules
|
package/dist/generate.cjs
CHANGED
|
@@ -108,7 +108,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
108
108
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
109
109
|
|
|
110
110
|
// package.json
|
|
111
|
-
var version = "4.0.
|
|
111
|
+
var version = "4.0.2";
|
|
112
112
|
|
|
113
113
|
// src/constants.ts
|
|
114
114
|
var VERSION = version;
|
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-QCK56K3B.js";
|
|
4
|
+
import "./chunk-3CI2JSWL.js";
|
|
5
|
+
import "./chunk-NRGIYMDX.js";
|
|
6
6
|
import "./chunk-6QENHZZP.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -42,6 +42,11 @@ import { jsx } from 'astro/jsx-runtime';
|
|
|
42
42
|
import RemoteSchema from '@components/MDX/RemoteSchema.astro';
|
|
43
43
|
import Visibility from '@components/MDX/Visibility';
|
|
44
44
|
|
|
45
|
+
const getEntityMapCollection = (props: any, mdxProp: any) => {
|
|
46
|
+
const collection = mdxProp.collection ?? props.collection;
|
|
47
|
+
return collection === 'domains' || collection === 'services' ? collection : undefined;
|
|
48
|
+
};
|
|
49
|
+
|
|
45
50
|
const components = (props: any) => {
|
|
46
51
|
return {
|
|
47
52
|
Attachments: (mdxProp: any) => jsx(Attachments, { ...props, ...mdxProp }),
|
|
@@ -63,7 +68,7 @@ const components = (props: any) => {
|
|
|
63
68
|
ComponentDiagram: (mdxProp: any) => jsx(NodeGraphPortal, { ...props.data, ...mdxProp, props, mdxProp }),
|
|
64
69
|
ContextDiagram: (mdxProp: any) => jsx(ContextDiagramPortal, { ...props.data, ...mdxProp, props, mdxProp }),
|
|
65
70
|
SystemContextMap: (mdxProp: any) => jsx(SystemContextMapPortal, { ...mdxProp }),
|
|
66
|
-
EntityMap: (mdxProp: any) => jsx(EntityMap, { ...props, ...mdxProp }),
|
|
71
|
+
EntityMap: (mdxProp: any) => jsx(EntityMap, { ...props, ...mdxProp, collection: getEntityMapCollection(props, mdxProp) }),
|
|
67
72
|
OpenAPI,
|
|
68
73
|
Prompt: (mdxProp: any) => jsx(Prompt, { ...props, ...mdxProp }),
|
|
69
74
|
ResourceGroupTable: (mdxProp: any) => jsx(ResourceGroupTable, { ...props, ...mdxProp }),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare module 'picomatch' {
|
|
2
|
+
export interface Options {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface Picomatch {
|
|
7
|
+
(globs: string | string[], options?: Options): (input: string) => boolean;
|
|
8
|
+
isMatch(input: string | string[], glob: string | string[], options?: Options): boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const picomatch: Picomatch;
|
|
12
|
+
export default picomatch;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "4.0.
|
|
10
|
+
"version": "4.0.2",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"update-notifier": "^7.3.1",
|
|
116
116
|
"uuid": "^10.0.0",
|
|
117
117
|
"zod": "^4.3.6",
|
|
118
|
-
"@eventcatalog/linter": "1.1.
|
|
118
|
+
"@eventcatalog/linter": "1.1.3",
|
|
119
119
|
"@eventcatalog/visualiser": "^4.0.0",
|
|
120
120
|
"@eventcatalog/sdk": "2.25.0"
|
|
121
121
|
},
|