@eventcatalog/core 2.17.0 → 2.17.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-KK4PRBGY.js → chunk-EG3QHOOT.js} +1 -1
- package/dist/{chunk-7QQO526J.js → chunk-Q27R4PJA.js} +1 -1
- package/dist/{chunk-PPADPR55.js → chunk-XSTP7ECG.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +5 -8
- package/dist/eventcatalog.js +7 -10
- package/eventcatalog/astro.config.mjs +3 -1
- package/eventcatalog/package-lock.json +16537 -0
- package/eventcatalog/package.json +1 -0
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +3 -1
- package/eventcatalog/src/utils/channels.ts +10 -1
- package/eventcatalog/src/utils/collections/domains.ts +10 -1
- package/eventcatalog/src/utils/collections/flows.ts +10 -1
- package/eventcatalog/src/utils/collections/services.ts +10 -1
- package/eventcatalog/src/utils/commands.ts +10 -1
- package/eventcatalog/src/utils/events.ts +10 -1
- package/eventcatalog/src/utils/messages.ts +16 -2
- package/eventcatalog/src/utils/queries.ts +10 -1
- package/eventcatalog/src/utils/teams.ts +10 -1
- package/package.json +2 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EG3QHOOT.js";
|
|
4
|
+
import "../chunk-Q27R4PJA.js";
|
|
5
|
+
import "../chunk-XSTP7ECG.js";
|
|
6
6
|
import "../chunk-E7TXTI7G.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -161,7 +161,7 @@ var import_axios = __toESM(require("axios"), 1);
|
|
|
161
161
|
var import_os = __toESM(require("os"), 1);
|
|
162
162
|
|
|
163
163
|
// package.json
|
|
164
|
-
var version = "2.17.
|
|
164
|
+
var version = "2.17.2";
|
|
165
165
|
|
|
166
166
|
// src/constants.ts
|
|
167
167
|
var VERSION = version;
|
|
@@ -535,13 +535,10 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
535
535
|
});
|
|
536
536
|
});
|
|
537
537
|
var previewCatalog = ({ command }) => {
|
|
538
|
-
(0, import_node_child_process.execSync)(
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
stdio: "inherit"
|
|
543
|
-
}
|
|
544
|
-
);
|
|
538
|
+
(0, import_node_child_process.execSync)(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro preview ${command.args.join(" ").trim()}`, {
|
|
539
|
+
cwd: core,
|
|
540
|
+
stdio: "inherit"
|
|
541
|
+
});
|
|
545
542
|
};
|
|
546
543
|
program.command("preview").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
|
|
547
544
|
console.log("Starting preview of your build...");
|
package/dist/eventcatalog.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-EG3QHOOT.js";
|
|
4
|
+
import "./chunk-Q27R4PJA.js";
|
|
5
5
|
import {
|
|
6
6
|
catalogToAstro
|
|
7
7
|
} from "./chunk-55YPRY5U.js";
|
|
8
8
|
import {
|
|
9
9
|
VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XSTP7ECG.js";
|
|
11
11
|
import {
|
|
12
12
|
generate
|
|
13
13
|
} from "./chunk-YEQVKHST.js";
|
|
@@ -94,13 +94,10 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
var previewCatalog = ({ command }) => {
|
|
97
|
-
execSync(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
stdio: "inherit"
|
|
102
|
-
}
|
|
103
|
-
);
|
|
97
|
+
execSync(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro preview ${command.args.join(" ").trim()}`, {
|
|
98
|
+
cwd: core,
|
|
99
|
+
stdio: "inherit"
|
|
100
|
+
});
|
|
104
101
|
};
|
|
105
102
|
program.command("preview").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
|
|
106
103
|
console.log("Starting preview of your build...");
|
|
@@ -8,6 +8,8 @@ import { join } from 'node:path';
|
|
|
8
8
|
import remarkDirective from 'remark-directive';
|
|
9
9
|
import { remarkDirectives } from "./src/remark-plugins/directives"
|
|
10
10
|
|
|
11
|
+
import remarkComment from 'remark-comment'
|
|
12
|
+
|
|
11
13
|
/** @type {import('bin/eventcatalog.config').Config} */
|
|
12
14
|
import config from './eventcatalog.config';
|
|
13
15
|
import expressiveCode from 'astro-expressive-code';
|
|
@@ -44,7 +46,7 @@ export default defineConfig({
|
|
|
44
46
|
mdx({
|
|
45
47
|
// https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize
|
|
46
48
|
optimize: config.mdxOptimize || false,
|
|
47
|
-
remarkPlugins: [remarkDirective, remarkDirectives, mermaid],
|
|
49
|
+
remarkPlugins: [remarkDirective, remarkDirectives, remarkComment, mermaid],
|
|
48
50
|
gfm: false,
|
|
49
51
|
}),
|
|
50
52
|
pagefind(),
|