@eventcatalog/core 2.16.6 → 2.17.1
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/catalog-to-astro-content-directory.cjs +1 -1
- package/dist/{chunk-GY2IBBDA.js → chunk-2SREN5TH.js} +1 -1
- package/dist/{chunk-UQCAHPQ5.js → chunk-7UY64I6H.js} +1 -1
- package/dist/{chunk-WBHGC6OB.js → chunk-Z6B4BKLB.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +6 -9
- package/dist/eventcatalog.js +7 -10
- package/eventcatalog/astro.config.mjs +3 -1
- package/eventcatalog/package-lock.json +16537 -0
- package/eventcatalog/package.json +8 -7
- package/eventcatalog/src/components/SideBars/ChannelSideBar.astro +3 -2
- package/eventcatalog/src/components/SideBars/DomainSideBar.astro +2 -1
- package/eventcatalog/src/components/SideBars/MessageSideBar.astro +2 -1
- package/eventcatalog/src/components/SideBars/ServiceSideBar.astro +2 -1
- package/eventcatalog/src/pages/docs/teams/[id]/index.astro +2 -2
- package/eventcatalog/src/pages/docs/users/[id]/index.astro +1 -1
- package/eventcatalog/src/utils/channels.ts +1 -1
- package/eventcatalog/src/utils/collections/changelogs.ts +1 -1
- package/eventcatalog/src/utils/collections/domains.ts +1 -1
- package/eventcatalog/src/utils/collections/flows.ts +1 -1
- package/eventcatalog/src/utils/collections/services.ts +1 -1
- package/eventcatalog/src/utils/commands.ts +1 -1
- package/eventcatalog/src/utils/events.ts +1 -1
- package/eventcatalog/src/utils/node-graphs/utils/utils.ts +22 -9
- package/eventcatalog/src/utils/queries.ts +1 -1
- package/eventcatalog/src/utils/teams.ts +4 -4
- package/eventcatalog/src/utils/users.ts +6 -6
- package/package.json +9 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-Z6B4BKLB.js";
|
|
4
|
+
import "../chunk-7UY64I6H.js";
|
|
5
|
+
import "../chunk-2SREN5TH.js";
|
|
6
6
|
import "../chunk-E7TXTI7G.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
|
@@ -35,7 +35,7 @@ __export(catalog_to_astro_content_directory_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
|
|
36
36
|
|
|
37
37
|
// node_modules/tsup/assets/cjs_shims.js
|
|
38
|
-
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(
|
|
38
|
+
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
39
39
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
40
40
|
|
|
41
41
|
// src/catalog-to-astro-content-directory.js
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
));
|
|
24
24
|
|
|
25
25
|
// node_modules/tsup/assets/cjs_shims.js
|
|
26
|
-
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(
|
|
26
|
+
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
27
27
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
28
|
|
|
29
29
|
// src/eventcatalog.ts
|
|
@@ -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.
|
|
164
|
+
var version = "2.17.1";
|
|
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-Z6B4BKLB.js";
|
|
4
|
+
import "./chunk-7UY64I6H.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-2SREN5TH.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(),
|