@eventcatalog/core 3.0.0-beta.25 → 3.0.0-beta.27
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 +2 -19
- package/dist/catalog-to-astro-content-directory.d.cts +1 -2
- package/dist/catalog-to-astro-content-directory.d.ts +1 -2
- package/dist/catalog-to-astro-content-directory.js +3 -5
- package/dist/{chunk-NAW6EPCS.js → chunk-4CVSY4TZ.js} +1 -1
- package/dist/{chunk-R2BJ7MJG.js → chunk-6Z6ARMQS.js} +1 -17
- package/dist/{chunk-RA6AYXGJ.js → chunk-A24LNVFO.js} +1 -1
- package/dist/{chunk-OJA6CNVO.js → chunk-QTIXOITU.js} +1 -1
- package/dist/{chunk-DFHXF3VF.js → chunk-R3UXUYOX.js} +1 -1
- package/dist/{chunk-3SWCGDD7.js → chunk-X7U5G4IG.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -18
- package/dist/eventcatalog.js +7 -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/eventcatalog/src/components/Grids/DomainGrid.tsx +309 -170
- package/eventcatalog/src/components/Grids/MessageGrid.tsx +301 -182
- package/eventcatalog/src/components/Grids/specification-utils.ts +106 -0
- package/eventcatalog/src/components/SchemaExplorer/ApiAccessSection.tsx +95 -90
- package/eventcatalog/src/components/SchemaExplorer/ApiContentViewer.tsx +144 -0
- package/eventcatalog/src/components/SchemaExplorer/Pagination.tsx +34 -8
- package/eventcatalog/src/components/SchemaExplorer/SchemaContentViewer.tsx +2 -2
- package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsHeader.tsx +140 -109
- package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsPanel.tsx +5 -14
- package/eventcatalog/src/components/SchemaExplorer/SchemaExplorer.tsx +247 -59
- package/eventcatalog/src/components/SchemaExplorer/SchemaFilters.tsx +64 -126
- package/eventcatalog/src/components/SchemaExplorer/SchemaListItem.tsx +41 -43
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +42 -15
- package/eventcatalog/src/components/Tables/Table.tsx +96 -77
- package/eventcatalog/src/components/Tables/columns/ContainersTableColumns.tsx +108 -74
- package/eventcatalog/src/components/Tables/columns/DomainTableColumns.tsx +74 -55
- package/eventcatalog/src/components/Tables/columns/FlowTableColumns.tsx +36 -36
- package/eventcatalog/src/components/Tables/columns/MessageTableColumns.tsx +110 -77
- package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +105 -94
- package/eventcatalog/src/components/Tables/columns/SharedColumns.tsx +31 -26
- package/eventcatalog/src/components/Tables/columns/TeamsTableColumns.tsx +115 -215
- package/eventcatalog/src/components/Tables/columns/UserTableColumns.tsx +145 -243
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +2 -2
- package/eventcatalog/src/pages/_index.astro +239 -554
- package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/_index.data.ts +8 -2
- package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/index.astro +9 -5
- package/eventcatalog/src/pages/directory/[type]/index.astro +6 -0
- package/eventcatalog/src/pages/docs/[type]/[id]/language/index.astro +194 -121
- package/eventcatalog/src/pages/docs/teams/[id]/index.astro +94 -70
- package/eventcatalog/src/pages/docs/users/[id]/index.astro +56 -45
- package/eventcatalog/src/pages/studio.astro +124 -72
- package/eventcatalog/src/stores/sidebar-store/builders/domain.ts +1 -1
- package/eventcatalog/src/stores/sidebar-store/builders/service.ts +1 -1
- package/package.json +1 -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-R3UXUYOX.js";
|
|
4
|
+
import "../chunk-QTIXOITU.js";
|
|
5
|
+
import "../chunk-X7U5G4IG.js";
|
|
6
6
|
import "../chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
|
@@ -30,8 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/catalog-to-astro-content-directory.js
|
|
31
31
|
var catalog_to_astro_content_directory_exports = {};
|
|
32
32
|
__export(catalog_to_astro_content_directory_exports, {
|
|
33
|
-
catalogToAstro: () => catalogToAstro
|
|
34
|
-
checkAndConvertMdToMdx: () => checkAndConvertMdToMdx
|
|
33
|
+
catalogToAstro: () => catalogToAstro
|
|
35
34
|
});
|
|
36
35
|
module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
|
|
37
36
|
|
|
@@ -241,23 +240,7 @@ var catalogToAstro = async (source, astroDir) => {
|
|
|
241
240
|
}
|
|
242
241
|
await copyFiles(source, astroDir);
|
|
243
242
|
};
|
|
244
|
-
var checkAndConvertMdToMdx = async (source, astroDir) => {
|
|
245
|
-
const files = await (0, import_glob.glob)(path3.join(source, "**"), {
|
|
246
|
-
nodir: true,
|
|
247
|
-
windowsPathsNoEscape: import_node_os.default.platform() == "win32",
|
|
248
|
-
ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
|
|
249
|
-
});
|
|
250
|
-
if (files.some((file) => file.endsWith(".md"))) {
|
|
251
|
-
console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
|
|
252
|
-
}
|
|
253
|
-
for (const file of files) {
|
|
254
|
-
if (file.endsWith(".md")) {
|
|
255
|
-
import_fs.default.renameSync(file, file.replace(".md", ".mdx"));
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
243
|
// Annotate the CommonJS export names for ESM import in node:
|
|
260
244
|
0 && (module.exports = {
|
|
261
|
-
catalogToAstro
|
|
262
|
-
checkAndConvertMdToMdx
|
|
245
|
+
catalogToAstro
|
|
263
246
|
});
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
catalogToAstro
|
|
3
|
-
|
|
4
|
-
} from "./chunk-R2BJ7MJG.js";
|
|
2
|
+
catalogToAstro
|
|
3
|
+
} from "./chunk-6Z6ARMQS.js";
|
|
5
4
|
import "./chunk-55D645EH.js";
|
|
6
5
|
import "./chunk-UPONRQSN.js";
|
|
7
6
|
export {
|
|
8
|
-
catalogToAstro
|
|
9
|
-
checkAndConvertMdToMdx
|
|
7
|
+
catalogToAstro
|
|
10
8
|
};
|
|
@@ -50,23 +50,7 @@ var catalogToAstro = async (source, astroDir) => {
|
|
|
50
50
|
}
|
|
51
51
|
await copyFiles(source, astroDir);
|
|
52
52
|
};
|
|
53
|
-
var checkAndConvertMdToMdx = async (source, astroDir) => {
|
|
54
|
-
const files = await glob(path.join(source, "**"), {
|
|
55
|
-
nodir: true,
|
|
56
|
-
windowsPathsNoEscape: os.platform() == "win32",
|
|
57
|
-
ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
|
|
58
|
-
});
|
|
59
|
-
if (files.some((file) => file.endsWith(".md"))) {
|
|
60
|
-
console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
|
|
61
|
-
}
|
|
62
|
-
for (const file of files) {
|
|
63
|
-
if (file.endsWith(".md")) {
|
|
64
|
-
fs.renameSync(file, file.replace(".md", ".mdx"));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
53
|
|
|
69
54
|
export {
|
|
70
|
-
catalogToAstro
|
|
71
|
-
checkAndConvertMdToMdx
|
|
55
|
+
catalogToAstro
|
|
72
56
|
};
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
109
109
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
110
110
|
|
|
111
111
|
// package.json
|
|
112
|
-
var version = "3.0.0-beta.
|
|
112
|
+
var version = "3.0.0-beta.27";
|
|
113
113
|
|
|
114
114
|
// src/constants.ts
|
|
115
115
|
var VERSION = version;
|
|
@@ -479,21 +479,6 @@ var catalogToAstro = async (source, astroDir) => {
|
|
|
479
479
|
}
|
|
480
480
|
await copyFiles(source, astroDir);
|
|
481
481
|
};
|
|
482
|
-
var checkAndConvertMdToMdx = async (source, astroDir) => {
|
|
483
|
-
const files = await (0, import_glob.glob)(path4.join(source, "**"), {
|
|
484
|
-
nodir: true,
|
|
485
|
-
windowsPathsNoEscape: import_node_os.default.platform() == "win32",
|
|
486
|
-
ignore: ["node_modules/**", "**/dist/**", "**/README.md"]
|
|
487
|
-
});
|
|
488
|
-
if (files.some((file) => file.endsWith(".md"))) {
|
|
489
|
-
console.log(`EventCatalog now requires all markdown files to be .mdx files. Converting all .md files to .mdx...`);
|
|
490
|
-
}
|
|
491
|
-
for (const file of files) {
|
|
492
|
-
if (file.endsWith(".md")) {
|
|
493
|
-
import_fs.default.renameSync(file, file.replace(".md", ".mdx"));
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
482
|
|
|
498
483
|
// src/resolve-catalog-dependencies.js
|
|
499
484
|
var import_node_path4 = __toESM(require("path"), 1);
|
|
@@ -763,7 +748,6 @@ program.command("dev").description("Run development server of EventCatalog").opt
|
|
|
763
748
|
if (options.forceRecreate) clearCore();
|
|
764
749
|
copyCore();
|
|
765
750
|
await resolve_catalog_dependencies_default(dir, core);
|
|
766
|
-
await checkAndConvertMdToMdx(dir, core);
|
|
767
751
|
await runMigrations(dir);
|
|
768
752
|
await catalogToAstro(dir, core);
|
|
769
753
|
const canEmbedPages = await (0, import_license.isFeatureEnabled)(
|
|
@@ -825,7 +809,6 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
825
809
|
isBackstagePluginEnabled: canEmbedPages || isEventCatalogScale
|
|
826
810
|
});
|
|
827
811
|
await resolve_catalog_dependencies_default(dir, core);
|
|
828
|
-
await checkAndConvertMdToMdx(dir, core);
|
|
829
812
|
await runMigrations(dir);
|
|
830
813
|
await catalogToAstro(dir, core);
|
|
831
814
|
checkForUpdate();
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,29 +6,28 @@ import {
|
|
|
6
6
|
} from "./chunk-PLNJC7NZ.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-R3UXUYOX.js";
|
|
10
|
+
import "./chunk-QTIXOITU.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrations
|
|
13
13
|
} from "./chunk-BH3JMNAV.js";
|
|
14
14
|
import "./chunk-622JYJWG.js";
|
|
15
15
|
import {
|
|
16
|
-
catalogToAstro
|
|
17
|
-
|
|
18
|
-
} from "./chunk-R2BJ7MJG.js";
|
|
16
|
+
catalogToAstro
|
|
17
|
+
} from "./chunk-6Z6ARMQS.js";
|
|
19
18
|
import "./chunk-55D645EH.js";
|
|
20
19
|
import {
|
|
21
20
|
isOutputServer
|
|
22
21
|
} from "./chunk-5VBIXL6C.js";
|
|
23
22
|
import {
|
|
24
23
|
generate
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A24LNVFO.js";
|
|
26
25
|
import {
|
|
27
26
|
logger
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4CVSY4TZ.js";
|
|
29
28
|
import {
|
|
30
29
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X7U5G4IG.js";
|
|
32
31
|
import "./chunk-UPONRQSN.js";
|
|
33
32
|
|
|
34
33
|
// src/eventcatalog.ts
|
|
@@ -141,7 +140,6 @@ program.command("dev").description("Run development server of EventCatalog").opt
|
|
|
141
140
|
if (options.forceRecreate) clearCore();
|
|
142
141
|
copyCore();
|
|
143
142
|
await resolve_catalog_dependencies_default(dir, core);
|
|
144
|
-
await checkAndConvertMdToMdx(dir, core);
|
|
145
143
|
await runMigrations(dir);
|
|
146
144
|
await catalogToAstro(dir, core);
|
|
147
145
|
const canEmbedPages = await isFeatureEnabled(
|
|
@@ -203,7 +201,6 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
203
201
|
isBackstagePluginEnabled: canEmbedPages || isEventCatalogScale
|
|
204
202
|
});
|
|
205
203
|
await resolve_catalog_dependencies_default(dir, core);
|
|
206
|
-
await checkAndConvertMdToMdx(dir, core);
|
|
207
204
|
await runMigrations(dir);
|
|
208
205
|
await catalogToAstro(dir, core);
|
|
209
206
|
checkForUpdate();
|
package/dist/generate.cjs
CHANGED
|
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
73
73
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
74
74
|
|
|
75
75
|
// package.json
|
|
76
|
-
var version = "3.0.0-beta.
|
|
76
|
+
var version = "3.0.0-beta.27";
|
|
77
77
|
|
|
78
78
|
// src/constants.ts
|
|
79
79
|
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-A24LNVFO.js";
|
|
4
|
+
import "./chunk-4CVSY4TZ.js";
|
|
5
|
+
import "./chunk-X7U5G4IG.js";
|
|
6
6
|
import "./chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|