@eventcatalog/core 3.18.3 → 3.18.5

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 = "3.18.3";
40
+ var version = "3.18.5";
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-HYYRZGSC.js";
4
- import "../chunk-KX572ESF.js";
3
+ } from "../chunk-5J4CB7HN.js";
4
+ import "../chunk-Z3BWXNQW.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -111,7 +111,7 @@ var import_axios = __toESM(require("axios"), 1);
111
111
  var import_os = __toESM(require("os"), 1);
112
112
 
113
113
  // package.json
114
- var version = "3.18.3";
114
+ var version = "3.18.5";
115
115
 
116
116
  // src/constants.ts
117
117
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-UGONIHM7.js";
4
- import "../chunk-HYYRZGSC.js";
3
+ } from "../chunk-JEZODNLN.js";
4
+ import "../chunk-5J4CB7HN.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-KX572ESF.js";
6
+ import "../chunk-Z3BWXNQW.js";
7
7
  import "../chunk-5T63CXKU.js";
8
8
  export {
9
9
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-KX572ESF.js";
3
+ } from "./chunk-Z3BWXNQW.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
  VERSION
3
- } from "./chunk-KX572ESF.js";
3
+ } from "./chunk-Z3BWXNQW.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-HYYRZGSC.js";
3
+ } from "./chunk-5J4CB7HN.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-JYAW3OEQ.js";
3
+ } from "./chunk-2IVWMV2T.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.18.3";
2
+ var version = "3.18.5";
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.18.3";
28
+ var version = "3.18.5";
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-KX572ESF.js";
3
+ } from "./chunk-Z3BWXNQW.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
114
114
  var import_picocolors = __toESM(require("picocolors"), 1);
115
115
 
116
116
  // package.json
117
- var version = "3.18.3";
117
+ var version = "3.18.5";
118
118
 
119
119
  // src/constants.ts
120
120
  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-UGONIHM7.js";
10
- import "./chunk-HYYRZGSC.js";
9
+ } from "./chunk-JEZODNLN.js";
10
+ import "./chunk-5J4CB7HN.js";
11
11
  import "./chunk-4UVFXLPI.js";
12
12
  import {
13
13
  runMigrations
@@ -22,13 +22,13 @@ import {
22
22
  } from "./chunk-3KXCGYET.js";
23
23
  import {
24
24
  generate
25
- } from "./chunk-7F3MP522.js";
25
+ } from "./chunk-SSNGN2OB.js";
26
26
  import {
27
27
  logger
28
- } from "./chunk-JYAW3OEQ.js";
28
+ } from "./chunk-2IVWMV2T.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-KX572ESF.js";
31
+ } from "./chunk-Z3BWXNQW.js";
32
32
  import {
33
33
  getEventCatalogConfigFile,
34
34
  verifyRequiredFieldsAreInCatalogConfigFile
package/dist/generate.cjs CHANGED
@@ -78,7 +78,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
78
78
  var import_picocolors = __toESM(require("picocolors"), 1);
79
79
 
80
80
  // package.json
81
- var version = "3.18.3";
81
+ var version = "3.18.5";
82
82
 
83
83
  // src/constants.ts
84
84
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-7F3MP522.js";
4
- import "./chunk-JYAW3OEQ.js";
5
- import "./chunk-KX572ESF.js";
3
+ } from "./chunk-SSNGN2OB.js";
4
+ import "./chunk-2IVWMV2T.js";
5
+ import "./chunk-Z3BWXNQW.js";
6
6
  import "./chunk-5T63CXKU.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.18.3";
39
+ var version = "3.18.5";
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-JYAW3OEQ.js";
4
- import "../chunk-KX572ESF.js";
3
+ } from "../chunk-2IVWMV2T.js";
4
+ import "../chunk-Z3BWXNQW.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -107,11 +107,23 @@ export default defineConfig({
107
107
  server: {
108
108
  fs: {
109
109
  allow: [
110
- '..',
110
+ '..',
111
111
  './node_modules/@fontsource',
112
112
  searchForWorkspaceRoot(process.cwd()),
113
113
  ]
114
114
  },
115
+ // Prevent stale FSEvents from triggering a config-dependency restart on first run.
116
+ // During startup, catalogToAstro copies eventcatalog.config.js into .eventcatalog-core
117
+ // shortly before Astro/Vite begins watching. On macOS, FSEvents can deliver buffered
118
+ // notifications for those recent writes, causing Vite to restart mid-dep-scan.
119
+ // awaitWriteFinish makes chokidar verify the file is stable before emitting events,
120
+ // filtering out those stale notifications.
121
+ watch: {
122
+ awaitWriteFinish: {
123
+ stabilityThreshold: 100,
124
+ pollInterval: 50,
125
+ },
126
+ },
115
127
  ...(config.server?.allowedHosts ? { allowedHosts: config.server?.allowedHosts } : {}),
116
128
  },
117
129
  worker: {
@@ -141,7 +141,11 @@ export const buildServiceNode = (service: CollectionEntry<'services'>, owners: a
141
141
  type: 'group',
142
142
  title: 'Entities',
143
143
  icon: 'Box',
144
- pages: serviceEntities.map((entity) => `entity:${(entity as any).data.id}:${(entity as any).data.version}`),
144
+ pages: serviceEntities.map((entity) => ({
145
+ type: 'item',
146
+ title: (entity as any).data?.name || (entity as any).data.id,
147
+ href: buildUrl(`/docs/entities/${(entity as any).data.id}/${(entity as any).data.version}`),
148
+ })),
145
149
  },
146
150
  sendsMessages.length > 0 &&
147
151
  renderMessages && {
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.18.3",
9
+ "version": "3.18.5",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -102,8 +102,8 @@
102
102
  "uuid": "^10.0.0",
103
103
  "zod": "^3.25.0",
104
104
  "@eventcatalog/sdk": "2.15.1",
105
- "@eventcatalog/linter": "1.0.8",
106
- "@eventcatalog/visualiser": "^3.15.1"
105
+ "@eventcatalog/visualiser": "^3.15.1",
106
+ "@eventcatalog/linter": "1.0.8"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@astrojs/check": "^0.9.6",