@eventcatalog/core 2.30.6 → 2.30.7

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/README.md CHANGED
@@ -34,7 +34,7 @@
34
34
  <h4>Features: Documentation for Event Driven Architectures, Integration with any broker, Generator from your OpenAPI and AsyncAPI documents, Docs and Code, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4>
35
35
 
36
36
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
37
- [![All Contributors](https://img.shields.io/badge/all_contributors-50-orange.svg?style=flat-square)](#contributors-)
37
+ [![All Contributors](https://img.shields.io/badge/all_contributors-51-orange.svg?style=flat-square)](#contributors-)
38
38
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
39
39
 
40
40
  [Read the Docs](https://www.eventcatalog.dev/docs/development/getting-started/introduction) | [View Demo](https://demo.eventcatalog.dev)
@@ -261,6 +261,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
261
261
  </tr>
262
262
  <tr>
263
263
  <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/ruudwelling/"><img src="https://avatars.githubusercontent.com/u/4014179?v=4?s=100" width="100px;" alt="Ruud Welling"/><br /><sub><b>Ruud Welling</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=WellingR" title="Code">💻</a></td>
264
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/vienin"><img src="https://avatars.githubusercontent.com/u/2124283?v=4?s=100" width="100px;" alt="Kevin Pouget"/><br /><sub><b>Kevin Pouget</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=vienin" title="Code">💻</a></td>
264
265
  </tr>
265
266
  </tbody>
266
267
  </table>
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "2.30.6";
40
+ var version = "2.30.7";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-LGRE6475.js";
4
- import "../chunk-2XYH6NJX.js";
3
+ } from "../chunk-EFSBN3ZZ.js";
4
+ import "../chunk-SUJLBNZK.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "2.30.6";
109
+ var version = "2.30.7";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-6UFFLZ4K.js";
4
- import "../chunk-LGRE6475.js";
5
- import "../chunk-2XYH6NJX.js";
3
+ } from "../chunk-HINNLTBH.js";
4
+ import "../chunk-EFSBN3ZZ.js";
5
+ import "../chunk-SUJLBNZK.js";
6
6
  import "../chunk-E7TXTI7G.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-2XYH6NJX.js";
3
+ } from "./chunk-SUJLBNZK.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-LGRE6475.js";
3
+ } from "./chunk-EFSBN3ZZ.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.30.6";
2
+ var version = "2.30.7";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.30.6";
28
+ var version = "2.30.7";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-2XYH6NJX.js";
3
+ } from "./chunk-SUJLBNZK.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -157,7 +157,7 @@ var import_axios = __toESM(require("axios"), 1);
157
157
  var import_os = __toESM(require("os"), 1);
158
158
 
159
159
  // package.json
160
- var version = "2.30.6";
160
+ var version = "2.30.7";
161
161
 
162
162
  // src/constants.ts
163
163
  var VERSION = version;
@@ -6,15 +6,15 @@ import {
6
6
  } from "./chunk-UKJ7F5WR.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-6UFFLZ4K.js";
10
- import "./chunk-LGRE6475.js";
9
+ } from "./chunk-HINNLTBH.js";
10
+ import "./chunk-EFSBN3ZZ.js";
11
11
  import {
12
12
  catalogToAstro,
13
13
  checkAndConvertMdToMdx
14
14
  } from "./chunk-7SI5EVOX.js";
15
15
  import {
16
16
  VERSION
17
- } from "./chunk-2XYH6NJX.js";
17
+ } from "./chunk-SUJLBNZK.js";
18
18
  import {
19
19
  isBackstagePluginEnabled
20
20
  } from "./chunk-XMDPVKIJ.js";
@@ -10,8 +10,10 @@ export const getChangeLogs = async (item: CollectionEntry<CollectionTypes>): Pro
10
10
  // Get all logs for collection type and filter by given collection
11
11
  const logs = await getCollection('changelogs', (log) => {
12
12
  const collectionDirectory = path.dirname(item?.filePath || '');
13
- const isRootChangeLog = path.join(collectionDirectory, 'changelog.md') === log.filePath;
14
- const isVersionedChangeLog = log.filePath?.includes(path.join(collectionDirectory, 'versioned'));
13
+ const isRootChangeLog = path.join(collectionDirectory, 'changelog.mdx') === log.filePath;
14
+ // Ensure the path follows <collectionDirectory>/versioned/<version>/changelog.mdx
15
+ const versionedPathPattern = new RegExp(`${collectionDirectory}/versioned/[^/]+/changelog\\.mdx$`);
16
+ const isVersionedChangeLog = versionedPathPattern.test(log.filePath!);
15
17
  return log.id.includes(`${collection}/`) && (isRootChangeLog || isVersionedChangeLog);
16
18
  });
17
19
 
@@ -19,7 +21,7 @@ export const getChangeLogs = async (item: CollectionEntry<CollectionTypes>): Pro
19
21
  // Check if there is a version in the url
20
22
  const isVersioned = log.id.includes('versioned');
21
23
 
22
- const parts = log.id.split('/');
24
+ const parts = log.filePath!.split('/');
23
25
  // hack to get the version of the id (url)
24
26
  const version = parts[parts.length - 2];
25
27
  return {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "2.30.6",
9
+ "version": "2.30.7",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },