@eventcatalog/core 5.0.0 → 5.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-NIVST4WY.js → chunk-A7AVNA6M.js} +1 -1
- package/dist/{chunk-NEAVAFSJ.js → chunk-AI5SK4WP.js} +1 -1
- package/dist/{chunk-JZN4RSMF.js → chunk-D73WCJQD.js} +1 -1
- package/dist/{chunk-RE7UTPWH.js → chunk-MSRXEI5A.js} +1 -1
- package/dist/{chunk-YQGRMDRB.js → chunk-QS6PIAHG.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/NewVersionBanner.astro +31 -0
- package/eventcatalog/src/features/mcp/apps/generated/canvas.html +1 -1
- package/eventcatalog/src/features/mcp/apps/generated/viewer.html +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/[docVersion]/index.astro +10 -13
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/index.astro +10 -13
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/graphql/[filename].astro +13 -18
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +16 -19
- package/eventcatalog/src/utils/collections/resource-type-badge.ts +9 -0
- package/eventcatalog/src/utils/collections/util.ts +10 -0
- package/eventcatalog/src/utils/version-banner.ts +10 -0
- package/package.json +5 -5
|
@@ -169,7 +169,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
169
169
|
var import_os = __toESM(require("os"), 1);
|
|
170
170
|
|
|
171
171
|
// package.json
|
|
172
|
-
var version = "5.0.
|
|
172
|
+
var version = "5.0.2";
|
|
173
173
|
|
|
174
174
|
// src/constants.ts
|
|
175
175
|
var VERSION = version;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AI5SK4WP.js";
|
|
4
4
|
import "../chunk-AD7CL772.js";
|
|
5
5
|
import "../chunk-ZAZHAVKB.js";
|
|
6
6
|
import "../chunk-CA6WCQ2T.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-A7AVNA6M.js";
|
|
8
8
|
import "../chunk-CPW6G62V.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MSRXEI5A.js";
|
|
10
10
|
import "../chunk-4G7FSRPN.js";
|
|
11
11
|
export {
|
|
12
12
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -174,7 +174,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
174
174
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
175
175
|
|
|
176
176
|
// package.json
|
|
177
|
-
var version = "5.0.
|
|
177
|
+
var version = "5.0.2";
|
|
178
178
|
|
|
179
179
|
// src/constants.ts
|
|
180
180
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-S5GWAUG5.js";
|
|
8
8
|
import {
|
|
9
9
|
log_build_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AI5SK4WP.js";
|
|
11
11
|
import {
|
|
12
12
|
getLicenseStatus,
|
|
13
13
|
printLicenseStatus
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
} from "./chunk-NKNOXQ62.js";
|
|
38
38
|
import {
|
|
39
39
|
generate
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QS6PIAHG.js";
|
|
41
41
|
import {
|
|
42
42
|
logger
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-D73WCJQD.js";
|
|
44
44
|
import {
|
|
45
45
|
resolve_catalog_dependencies_default
|
|
46
46
|
} from "./chunk-PD7KTSYN.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
watch
|
|
56
56
|
} from "./chunk-U63GDPPY.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-A7AVNA6M.js";
|
|
58
58
|
import "./chunk-CPW6G62V.js";
|
|
59
59
|
import {
|
|
60
60
|
getAstroConfigPath
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./chunk-LFQJXLHG.js";
|
|
72
72
|
import {
|
|
73
73
|
VERSION
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MSRXEI5A.js";
|
|
75
75
|
import {
|
|
76
76
|
getEventCatalogConfigFile,
|
|
77
77
|
verifyRequiredFieldsAreInCatalogConfigFile
|
package/dist/generate.cjs
CHANGED
|
@@ -105,7 +105,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
105
105
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
106
106
|
|
|
107
107
|
// package.json
|
|
108
|
-
var version = "5.0.
|
|
108
|
+
var version = "5.0.2";
|
|
109
109
|
|
|
110
110
|
// src/constants.ts
|
|
111
111
|
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-QS6PIAHG.js";
|
|
4
|
+
import "./chunk-D73WCJQD.js";
|
|
5
|
+
import "./chunk-MSRXEI5A.js";
|
|
6
6
|
import "./chunk-4G7FSRPN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
/**
|
|
3
|
+
* Shown on a previous version of a page: what you're looking at, and a link to its latest version.
|
|
4
|
+
* The sentences come from getVersionBannerText, so the spaces in them can't be lost when the markup is reformatted.
|
|
5
|
+
*/
|
|
6
|
+
import Admonition from '@components/MDX/Admonition';
|
|
7
|
+
import { getVersionBannerText } from '@utils/version-banner';
|
|
8
|
+
|
|
9
|
+
interface Props {
|
|
10
|
+
/** What this page is a version of, e.g. "service" or "service doc" */
|
|
11
|
+
subject: string;
|
|
12
|
+
/** Its name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** What the link goes to the latest version of, e.g. "service", "GraphQL schema" or "doc" */
|
|
15
|
+
latestOf: string;
|
|
16
|
+
latestVersion: string;
|
|
17
|
+
href: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const { subject, name, latestOf, latestVersion, href } = Astro.props;
|
|
21
|
+
const text = getVersionBannerText({ subject, latestOf });
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
<Admonition type="warning" title="New version found">
|
|
25
|
+
<p>
|
|
26
|
+
{text.previous}<strong>{name}</strong>.{' '}
|
|
27
|
+
<a class="underline block pt-2" href={href}>
|
|
28
|
+
{text.latest}<span>v{latestVersion}</span> →
|
|
29
|
+
</a>
|
|
30
|
+
</p>
|
|
31
|
+
</Admonition>
|