@eventcatalog/core 2.39.2 → 2.40.1

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.39.2";
40
+ var version = "2.40.1";
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-UMDTA3ST.js";
4
- import "../chunk-MYIRODAL.js";
3
+ } from "../chunk-77FIZKRC.js";
4
+ import "../chunk-P5YUKYTV.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.39.2";
109
+ var version = "2.40.1";
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-ZCL3ECGU.js";
4
- import "../chunk-UMDTA3ST.js";
5
- import "../chunk-MYIRODAL.js";
3
+ } from "../chunk-TLEJWHPX.js";
4
+ import "../chunk-77FIZKRC.js";
5
+ import "../chunk-P5YUKYTV.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-MYIRODAL.js";
3
+ } from "./chunk-P5YUKYTV.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.39.2";
2
+ var version = "2.40.1";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-UMDTA3ST.js";
3
+ } from "./chunk-77FIZKRC.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.39.2";
28
+ var version = "2.40.1";
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-MYIRODAL.js";
3
+ } from "./chunk-P5YUKYTV.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.39.2";
160
+ var version = "2.40.1";
161
161
 
162
162
  // src/constants.ts
163
163
  var VERSION = version;
@@ -614,7 +614,6 @@ var isEventCatalogStarterEnabled = async (licenseKey) => {
614
614
 
615
615
  // src/eventcatalog.ts
616
616
  var import_update_notifier = __toESM(require("update-notifier"), 1);
617
- var import_stream = __toESM(require("stream"), 1);
618
617
  var import_dotenv = __toESM(require("dotenv"), 1);
619
618
  var currentDir = import_node_path7.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
620
619
  var program = new import_commander.Command().version(VERSION);
@@ -718,29 +717,20 @@ program.command("dev").description("Run development server of EventCatalog").opt
718
717
  [
719
718
  {
720
719
  name: "astro",
721
- // Ignore any "Empty collection" messages
722
- command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} | findstr /V "The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v "The collection.*does not exist"`,
720
+ command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} 2>&1 | findstr /V /C:"[glob-loader]" /C:"The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v -e "\\[glob-loader\\]" -e "The collection.*does not exist"`,
723
721
  cwd: core,
724
722
  env: {
725
723
  PROJECT_DIR: dir,
726
724
  CATALOG_DIR: core,
727
725
  ENABLE_EMBED: canEmbedPages,
728
726
  EVENTCATALOG_STARTER: isEventCatalogStarter,
729
- EVENTCATALOG_SCALE: isEventCatalogScale
727
+ EVENTCATALOG_SCALE: isEventCatalogScale,
728
+ NODE_NO_WARNINGS: "1"
730
729
  }
731
730
  }
732
731
  ],
733
732
  {
734
- raw: true,
735
- outputStream: new import_stream.default.Writable({
736
- write(chunk, encoding, callback) {
737
- const text = chunk.toString();
738
- if (!(text.includes("The collection") && text.includes("does not exist"))) {
739
- process.stdout.write(chunk);
740
- }
741
- callback();
742
- }
743
- })
733
+ raw: true
744
734
  }
745
735
  );
746
736
  await result;
@@ -6,15 +6,15 @@ import {
6
6
  } from "./chunk-DCLTVJDP.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-ZCL3ECGU.js";
10
- import "./chunk-UMDTA3ST.js";
9
+ } from "./chunk-TLEJWHPX.js";
10
+ import "./chunk-77FIZKRC.js";
11
11
  import {
12
12
  catalogToAstro,
13
13
  checkAndConvertMdToMdx
14
14
  } from "./chunk-SLEMYHTU.js";
15
15
  import {
16
16
  VERSION
17
- } from "./chunk-MYIRODAL.js";
17
+ } from "./chunk-P5YUKYTV.js";
18
18
  import {
19
19
  isBackstagePluginEnabled,
20
20
  isEventCatalogScaleEnabled,
@@ -37,7 +37,6 @@ import { fileURLToPath } from "node:url";
37
37
  import concurrently from "concurrently";
38
38
  import boxen from "boxen";
39
39
  import updateNotifier from "update-notifier";
40
- import stream from "stream";
41
40
  import dotenv from "dotenv";
42
41
  var currentDir = path.dirname(fileURLToPath(import.meta.url));
43
42
  var program = new Command().version(VERSION);
@@ -141,29 +140,20 @@ program.command("dev").description("Run development server of EventCatalog").opt
141
140
  [
142
141
  {
143
142
  name: "astro",
144
- // Ignore any "Empty collection" messages
145
- command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} | findstr /V "The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v "The collection.*does not exist"`,
143
+ command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} 2>&1 | findstr /V /C:"[glob-loader]" /C:"The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v -e "\\[glob-loader\\]" -e "The collection.*does not exist"`,
146
144
  cwd: core,
147
145
  env: {
148
146
  PROJECT_DIR: dir,
149
147
  CATALOG_DIR: core,
150
148
  ENABLE_EMBED: canEmbedPages,
151
149
  EVENTCATALOG_STARTER: isEventCatalogStarter,
152
- EVENTCATALOG_SCALE: isEventCatalogScale
150
+ EVENTCATALOG_SCALE: isEventCatalogScale,
151
+ NODE_NO_WARNINGS: "1"
153
152
  }
154
153
  }
155
154
  ],
156
155
  {
157
- raw: true,
158
- outputStream: new stream.Writable({
159
- write(chunk, encoding, callback) {
160
- const text = chunk.toString();
161
- if (!(text.includes("The collection") && text.includes("does not exist"))) {
162
- process.stdout.write(chunk);
163
- }
164
- callback();
165
- }
166
- })
156
+ raw: true
167
157
  }
168
158
  );
169
159
  await result;
@@ -293,6 +293,12 @@ const services = defineCollection({
293
293
  pattern: [
294
294
  'domains/*/services/*/index.(md|mdx)',
295
295
  'domains/*/services/*/versioned/*/index.(md|mdx)',
296
+
297
+ // Capture subdomain folders
298
+ 'domains/*/subdomains/*/services/*/index.(md|mdx)',
299
+ 'domains/*/subdomains/*/services/*/versioned/*/index.(md|mdx)',
300
+
301
+ // Capture services in the root
296
302
  'services/*/index.(md|mdx)', // ✅ Capture only services markdown files
297
303
  'services/*/versioned/*/index.(md|mdx)', // ✅ Capture versioned files inside services
298
304
  ],
@@ -333,6 +339,10 @@ const domains = defineCollection({
333
339
  // ✅ Strictly include only index.md at the expected levels
334
340
  'domains/*/index.(md|mdx)',
335
341
  'domains/*/versioned/*/index.(md|mdx)',
342
+
343
+ // Capture subdomain folders
344
+ 'domains/*/subdomains/*/index.(md|mdx)',
345
+ 'domains/*/subdomains/*/versioned/*/index.(md|mdx)',
336
346
  ],
337
347
  base: projectDirBase,
338
348
  generateId: ({ data, ...rest }) => {
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.39.2",
9
+ "version": "2.40.1",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },