@eventcatalog/core 3.31.3 → 3.32.0
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-ZB4D3AZB.js → chunk-4LDDJXVA.js} +1 -1
- package/dist/{chunk-4BGFG4MW.js → chunk-7EUXENMF.js} +1 -1
- package/dist/{chunk-7OY7QEH2.js → chunk-CA4U2JP7.js} +7 -0
- package/dist/{chunk-VH65Q3HT.js → chunk-CXEK4KKF.js} +1 -1
- package/dist/{chunk-VZ53X73K.js → chunk-D6ERG3HK.js} +1 -1
- package/dist/{chunk-INJR34TF.js → chunk-JJVXM3OM.js} +1 -1
- package/dist/{chunk-YX57AREF.js → chunk-XUAF2H54.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +8 -1
- package/dist/eventcatalog.js +7 -7
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/migrations/index.cjs +7 -0
- package/dist/migrations/index.js +2 -2
- package/dist/migrations/message-channels-to-service-channels.cjs +7 -0
- package/dist/migrations/message-channels-to-service-channels.js +1 -1
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/components/MDX/EntityMap/EntityMap.astro +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-7EUXENMF.js";
|
|
4
|
+
import "../chunk-CXEK4KKF.js";
|
|
5
5
|
import "../chunk-4UVFXLPI.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-4LDDJXVA.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -4,7 +4,14 @@ import { glob } from "glob";
|
|
|
4
4
|
import os from "os";
|
|
5
5
|
import matter from "gray-matter";
|
|
6
6
|
import path from "path";
|
|
7
|
+
var DISABLE_CHANNEL_MIGRATION_ENV = "EVENTCATALOG_DISABLE_CHANNEL_MIGRATION";
|
|
8
|
+
var isChannelMigrationDisabled = () => {
|
|
9
|
+
return ["true", "1", "yes"].includes((process.env[DISABLE_CHANNEL_MIGRATION_ENV] ?? "").toLowerCase());
|
|
10
|
+
};
|
|
7
11
|
var message_channels_to_service_channels_default = async (dir) => {
|
|
12
|
+
if (isChannelMigrationDisabled()) {
|
|
13
|
+
return { status: "skipped", message: `Channel migration disabled by ${DISABLE_CHANNEL_MIGRATION_ENV}` };
|
|
14
|
+
}
|
|
8
15
|
const PROJECT_DIR = path.join(dir || process.env.PROJECT_DIR);
|
|
9
16
|
const messages = await glob(
|
|
10
17
|
[
|
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.
|
|
117
|
+
var version = "3.32.0";
|
|
118
118
|
|
|
119
119
|
// src/constants.ts
|
|
120
120
|
var VERSION = version;
|
|
@@ -605,7 +605,14 @@ var import_glob3 = require("glob");
|
|
|
605
605
|
var import_node_os3 = __toESM(require("os"), 1);
|
|
606
606
|
var import_gray_matter3 = __toESM(require("gray-matter"), 1);
|
|
607
607
|
var import_node_path6 = __toESM(require("path"), 1);
|
|
608
|
+
var DISABLE_CHANNEL_MIGRATION_ENV = "EVENTCATALOG_DISABLE_CHANNEL_MIGRATION";
|
|
609
|
+
var isChannelMigrationDisabled = () => {
|
|
610
|
+
return ["true", "1", "yes"].includes((process.env[DISABLE_CHANNEL_MIGRATION_ENV] ?? "").toLowerCase());
|
|
611
|
+
};
|
|
608
612
|
var message_channels_to_service_channels_default = async (dir2) => {
|
|
613
|
+
if (isChannelMigrationDisabled()) {
|
|
614
|
+
return { status: "skipped", message: `Channel migration disabled by ${DISABLE_CHANNEL_MIGRATION_ENV}` };
|
|
615
|
+
}
|
|
609
616
|
const PROJECT_DIR = import_node_path6.default.join(dir2 || process.env.PROJECT_DIR);
|
|
610
617
|
const messages = await (0, import_glob3.glob)(
|
|
611
618
|
[
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-K3ZVEX2Y.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7EUXENMF.js";
|
|
10
|
+
import "./chunk-CXEK4KKF.js";
|
|
11
11
|
import "./chunk-4UVFXLPI.js";
|
|
12
12
|
import {
|
|
13
13
|
runMigrations
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XUAF2H54.js";
|
|
15
|
+
import "./chunk-CA4U2JP7.js";
|
|
16
16
|
import {
|
|
17
17
|
catalogToAstro
|
|
18
18
|
} from "./chunk-YDXB3BD2.js";
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-3KXCGYET.js";
|
|
23
23
|
import {
|
|
24
24
|
generate
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JJVXM3OM.js";
|
|
26
26
|
import {
|
|
27
27
|
logger
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-D6ERG3HK.js";
|
|
29
29
|
import {
|
|
30
30
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4LDDJXVA.js";
|
|
32
32
|
import {
|
|
33
33
|
getEventCatalogConfigFile,
|
|
34
34
|
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-JJVXM3OM.js";
|
|
4
|
+
import "./chunk-D6ERG3HK.js";
|
|
5
|
+
import "./chunk-4LDDJXVA.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
|
@@ -40,7 +40,14 @@ var import_glob = require("glob");
|
|
|
40
40
|
var import_node_os = __toESM(require("os"), 1);
|
|
41
41
|
var import_gray_matter = __toESM(require("gray-matter"), 1);
|
|
42
42
|
var import_node_path = __toESM(require("path"), 1);
|
|
43
|
+
var DISABLE_CHANNEL_MIGRATION_ENV = "EVENTCATALOG_DISABLE_CHANNEL_MIGRATION";
|
|
44
|
+
var isChannelMigrationDisabled = () => {
|
|
45
|
+
return ["true", "1", "yes"].includes((process.env[DISABLE_CHANNEL_MIGRATION_ENV] ?? "").toLowerCase());
|
|
46
|
+
};
|
|
43
47
|
var message_channels_to_service_channels_default = async (dir) => {
|
|
48
|
+
if (isChannelMigrationDisabled()) {
|
|
49
|
+
return { status: "skipped", message: `Channel migration disabled by ${DISABLE_CHANNEL_MIGRATION_ENV}` };
|
|
50
|
+
}
|
|
44
51
|
const PROJECT_DIR = import_node_path.default.join(dir || process.env.PROJECT_DIR);
|
|
45
52
|
const messages = await (0, import_glob.glob)(
|
|
46
53
|
[
|
package/dist/migrations/index.js
CHANGED
|
@@ -38,7 +38,14 @@ var import_glob = require("glob");
|
|
|
38
38
|
var import_node_os = __toESM(require("os"), 1);
|
|
39
39
|
var import_gray_matter = __toESM(require("gray-matter"), 1);
|
|
40
40
|
var import_node_path = __toESM(require("path"), 1);
|
|
41
|
+
var DISABLE_CHANNEL_MIGRATION_ENV = "EVENTCATALOG_DISABLE_CHANNEL_MIGRATION";
|
|
42
|
+
var isChannelMigrationDisabled = () => {
|
|
43
|
+
return ["true", "1", "yes"].includes((process.env[DISABLE_CHANNEL_MIGRATION_ENV] ?? "").toLowerCase());
|
|
44
|
+
};
|
|
41
45
|
var message_channels_to_service_channels_default = async (dir) => {
|
|
46
|
+
if (isChannelMigrationDisabled()) {
|
|
47
|
+
return { status: "skipped", message: `Channel migration disabled by ${DISABLE_CHANNEL_MIGRATION_ENV}` };
|
|
48
|
+
}
|
|
42
49
|
const PROJECT_DIR = import_node_path.default.join(dir || process.env.PROJECT_DIR);
|
|
43
50
|
const messages = await (0, import_glob.glob)(
|
|
44
51
|
[
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -61,7 +61,7 @@ const nodesWithLayout = applyLayoutToNodes(nodes as any[], savedLayout);
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
<div
|
|
64
|
-
class="h-[30em] my-6 mb-12 w-full relative border border-
|
|
64
|
+
class="h-[30em] my-6 mb-12 w-full relative border border-[rgb(var(--ec-page-border))] rounded-md"
|
|
65
65
|
id={`${id}-entity-map-portal`}
|
|
66
66
|
style={{
|
|
67
67
|
maxHeight: maxHeight ? `${maxHeight}em` : `30em`,
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "3.
|
|
10
|
+
"version": "3.32.0",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
"update-notifier": "^7.3.1",
|
|
106
106
|
"uuid": "^10.0.0",
|
|
107
107
|
"zod": "^4.3.6",
|
|
108
|
-
"@eventcatalog/
|
|
108
|
+
"@eventcatalog/visualiser": "^3.20.0",
|
|
109
109
|
"@eventcatalog/sdk": "2.20.0",
|
|
110
|
-
"@eventcatalog/
|
|
110
|
+
"@eventcatalog/linter": "1.0.21"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@astrojs/check": "^0.9.8",
|