@eventcatalog/core 2.65.3 → 2.65.4

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.
@@ -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.65.3";
40
+ var version = "2.65.4";
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-HQJBSQAH.js";
4
- import "../chunk-27BQ5SXA.js";
3
+ } from "../chunk-G7PV2VC7.js";
4
+ import "../chunk-OUQRGXEK.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.65.3";
109
+ var version = "2.65.4";
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-N6BXLBZA.js";
4
- import "../chunk-HQJBSQAH.js";
5
- import "../chunk-27BQ5SXA.js";
3
+ } from "../chunk-NNRVFYON.js";
4
+ import "../chunk-G7PV2VC7.js";
5
+ import "../chunk-OUQRGXEK.js";
6
6
  import "../chunk-UPONRQSN.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-27BQ5SXA.js";
3
+ } from "./chunk-OUQRGXEK.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-HQJBSQAH.js";
3
+ } from "./chunk-G7PV2VC7.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.65.3";
2
+ var version = "2.65.4";
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.65.3";
28
+ var version = "2.65.4";
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-27BQ5SXA.js";
3
+ } from "./chunk-OUQRGXEK.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.65.3";
160
+ var version = "2.65.4";
161
161
 
162
162
  // src/constants.ts
163
163
  var VERSION = version;
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-N6BXLBZA.js";
10
- import "./chunk-HQJBSQAH.js";
9
+ } from "./chunk-NNRVFYON.js";
10
+ import "./chunk-G7PV2VC7.js";
11
11
  import {
12
12
  runMigrations
13
13
  } from "./chunk-BH3JMNAV.js";
@@ -19,7 +19,7 @@ import {
19
19
  import "./chunk-55D645EH.js";
20
20
  import {
21
21
  VERSION
22
- } from "./chunk-27BQ5SXA.js";
22
+ } from "./chunk-OUQRGXEK.js";
23
23
  import {
24
24
  getProjectOutDir,
25
25
  isAuthEnabled,
@@ -63,7 +63,7 @@ sidebar.forEach((section: SidebarSection) => {
63
63
  }
64
64
  });
65
65
 
66
- const { prev, next } = await getAdjacentPages(currentSlug.replace());
66
+ const { prev, next } = await getAdjacentPages(currentSlug);
67
67
 
68
68
  const ownersRaw = doc?.owners || [];
69
69
  const owners = await Promise.all<ReturnType<typeof getOwner>>(ownersRaw.map(getOwner));
@@ -71,13 +71,17 @@ const processAutoGeneratedDirectory = async (
71
71
  undefined, // No badge for subdirectories
72
72
  collapsed // Inherit collapsed state
73
73
  );
74
- allItems.push(subdirResult);
74
+ // Only add the directory if it contains valid items (mdx/md files)
75
+ if (subdirResult.items && subdirResult.items.length > 0) {
76
+ allItems.push(subdirResult);
77
+ }
75
78
  } else {
76
79
  // Process file
77
80
  const content = fs.readFileSync(fullPath, 'utf8');
78
81
  const { data } = matter(content);
79
82
 
80
- const astroId = data.slug || path.join(DOCS_DIR, directory, item).replace('.mdx', '');
83
+ // Normalize path separators to forward slashes for cross-platform compatibility (Windows uses backslashes)
84
+ const astroId = data.slug || path.join(DOCS_DIR, directory, item).replace('.mdx', '').replace(/\\/g, '/');
81
85
  const entry = await getEntry('customPages', astroId.toLowerCase());
82
86
 
83
87
  if (entry) {
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.65.3",
9
+ "version": "2.65.4",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },