@eventcatalog/core 3.12.6 → 3.12.8

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
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- <img width="745" alt="EventCatalog" src="./images/example.png" />
25
+ <img width="745" alt="EventCatalog" src="./packages/core/images/example.png" />
26
26
 
27
27
  <p align="center">
28
28
  <br/>
@@ -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 = "3.12.6";
40
+ var version = "3.12.8";
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-EHTEV77B.js";
4
- import "../chunk-ORRVO5N2.js";
3
+ } from "../chunk-6MBAYHHT.js";
4
+ import "../chunk-ROHEB5DM.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 = "3.12.6";
109
+ var version = "3.12.8";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-ECCS2LAR.js";
4
- import "../chunk-EHTEV77B.js";
3
+ } from "../chunk-JUWMXGCI.js";
4
+ import "../chunk-6MBAYHHT.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-ORRVO5N2.js";
6
+ import "../chunk-ROHEB5DM.js";
7
7
  import "../chunk-UPONRQSN.js";
8
8
  export {
9
9
  log_build_default as default
@@ -34,7 +34,7 @@ __export(catalog_to_astro_content_directory_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
36
36
 
37
- // node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
37
+ // ../../node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
38
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
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ORRVO5N2.js";
3
+ } from "./chunk-ROHEB5DM.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ORRVO5N2.js";
3
+ } from "./chunk-ROHEB5DM.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-DS5JIF3L.js";
3
+ } from "./chunk-DINAMVEI.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-EHTEV77B.js";
3
+ } from "./chunk-6MBAYHHT.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.12.6";
2
+ var version = "3.12.8";
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 = "3.12.6";
28
+ var version = "3.12.8";
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-ORRVO5N2.js";
3
+ } from "./chunk-ROHEB5DM.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  mod
23
23
  ));
24
24
 
25
- // node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
25
+ // ../../node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
26
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
 
@@ -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.12.6";
112
+ var version = "3.12.8";
113
113
 
114
114
  // src/constants.ts
115
115
  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-ECCS2LAR.js";
10
- import "./chunk-EHTEV77B.js";
9
+ } from "./chunk-JUWMXGCI.js";
10
+ import "./chunk-6MBAYHHT.js";
11
11
  import "./chunk-4UVFXLPI.js";
12
12
  import {
13
13
  runMigrations
@@ -22,13 +22,13 @@ import {
22
22
  } from "./chunk-5VBIXL6C.js";
23
23
  import {
24
24
  generate
25
- } from "./chunk-PSDQDS73.js";
25
+ } from "./chunk-GOLMKUV3.js";
26
26
  import {
27
27
  logger
28
- } from "./chunk-DS5JIF3L.js";
28
+ } from "./chunk-DINAMVEI.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-ORRVO5N2.js";
31
+ } from "./chunk-ROHEB5DM.js";
32
32
  import {
33
33
  verifyRequiredFieldsAreInCatalogConfigFile
34
34
  } from "./chunk-UPONRQSN.js";
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.12.6";
76
+ var version = "3.12.8";
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-PSDQDS73.js";
4
- import "./chunk-DS5JIF3L.js";
5
- import "./chunk-ORRVO5N2.js";
3
+ } from "./chunk-GOLMKUV3.js";
4
+ import "./chunk-DINAMVEI.js";
5
+ import "./chunk-ROHEB5DM.js";
6
6
  import "./chunk-UPONRQSN.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.12.6";
39
+ var version = "3.12.8";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-DS5JIF3L.js";
4
- import "../chunk-ORRVO5N2.js";
3
+ } from "../chunk-DINAMVEI.js";
4
+ import "../chunk-ROHEB5DM.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -10,11 +10,23 @@ import path from 'path';
10
10
  import { customPagesSchema } from './enterprise/collections';
11
11
 
12
12
  export const projectDirBase = (() => {
13
- if (process.platform === 'win32') {
14
- const projectDirPath = process.env.PROJECT_DIR!.replace(/\\/g, '/');
13
+ const projectDir = process.env.PROJECT_DIR;
14
+ const catalogDir = process.env.CATALOG_DIR;
15
+
16
+ // If CATALOG_DIR is set (monorepo mode), compute relative path from catalog to project
17
+ // Otherwise fall back to absolute path (standalone mode)
18
+ if (catalogDir && projectDir) {
19
+ const relativePath = path.relative(catalogDir, projectDir);
20
+ // Ensure forward slashes for consistency
21
+ return relativePath.replace(/\\/g, '/');
22
+ }
23
+
24
+ // Fallback to absolute path
25
+ if (process.platform === 'win32' && projectDir) {
26
+ const projectDirPath = projectDir.replace(/\\/g, '/');
15
27
  return projectDirPath.startsWith('/') ? projectDirPath : `/${projectDirPath}`;
16
28
  }
17
- return process.env.PROJECT_DIR;
29
+ return projectDir;
18
30
  })();
19
31
 
20
32
  const pages = defineCollection({
@@ -477,6 +477,7 @@ const canPageBeEmbedded = isEmbedEnabled();
477
477
  });
478
478
 
479
479
  content.classList.remove('ml-14');
480
+ content.classList.remove('max-h-content');
480
481
  return;
481
482
  }
482
483
 
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": "3.12.6",
9
+ "version": "3.12.8",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -32,8 +32,6 @@
32
32
  "@asyncapi/react-component": "2.4.3",
33
33
  "@auth/core": "^0.37.4",
34
34
  "@eventcatalog/license": "^0.0.7",
35
- "@eventcatalog/linter": "^0.0.2",
36
- "@eventcatalog/sdk": "^2.11.0",
37
35
  "@eventcatalog/visualizer": "^0.0.6",
38
36
  "@fontsource/inter": "^5.2.5",
39
37
  "@headlessui/react": "^2.0.3",
@@ -103,7 +101,9 @@
103
101
  "unist-util-visit": "^5.0.0",
104
102
  "update-notifier": "^7.3.1",
105
103
  "uuid": "^10.0.0",
106
- "zod": "^3.25.0"
104
+ "zod": "^3.25.0",
105
+ "@eventcatalog/linter": "1.0.3",
106
+ "@eventcatalog/sdk": "2.13.2"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@astrojs/check": "^0.9.6",
@@ -152,6 +152,8 @@
152
152
  "format": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx,json,astro}\"",
153
153
  "format:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,json,astro}\"",
154
154
  "lint:catalog": "pnpm dlx @eventcatalog/linter examples/default",
155
- "check": "node scripts/check-types.js"
155
+ "check": "node scripts/check-types.js",
156
+ "turbo:test": "turbo run test",
157
+ "turbo:build": "turbo run build:bin"
156
158
  }
157
159
  }