@eventcatalog/core 2.58.1 → 2.58.2

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.58.1";
40
+ var version = "2.58.2";
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-F3YDLMMR.js";
4
- import "../chunk-N7MEYFUO.js";
3
+ } from "../chunk-WK6GQM5P.js";
4
+ import "../chunk-ZBPULBAC.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.58.1";
109
+ var version = "2.58.2";
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-X4GKQ2ZE.js";
4
- import "../chunk-F3YDLMMR.js";
5
- import "../chunk-N7MEYFUO.js";
3
+ } from "../chunk-PV4MP6U4.js";
4
+ import "../chunk-WK6GQM5P.js";
5
+ import "../chunk-ZBPULBAC.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
  raiseEvent
3
- } from "./chunk-F3YDLMMR.js";
3
+ } from "./chunk-WK6GQM5P.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-N7MEYFUO.js";
3
+ } from "./chunk-ZBPULBAC.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.58.1";
2
+ var version = "2.58.2";
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.58.1";
28
+ var version = "2.58.2";
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-N7MEYFUO.js";
3
+ } from "./chunk-ZBPULBAC.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.58.1";
160
+ var version = "2.58.2";
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-X4GKQ2ZE.js";
10
- import "./chunk-F3YDLMMR.js";
9
+ } from "./chunk-PV4MP6U4.js";
10
+ import "./chunk-WK6GQM5P.js";
11
11
  import {
12
12
  catalogToAstro,
13
13
  checkAndConvertMdToMdx
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-55D645EH.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-N7MEYFUO.js";
18
+ } from "./chunk-ZBPULBAC.js";
19
19
  import {
20
20
  getProjectOutDir,
21
21
  isAuthEnabled,
@@ -13,6 +13,8 @@ import remarkComment from 'remark-comment'
13
13
  import rehypeSlug from 'rehype-slug';
14
14
  import rehypeAutolinkHeadings from 'rehype-autolink-headings';
15
15
 
16
+ import rehypeExpressiveCode from 'rehype-expressive-code'
17
+
16
18
  /** @type {import('bin/eventcatalog.config').Config} */
17
19
  import config from './eventcatalog.config';
18
20
  import expressiveCode from 'astro-expressive-code';
@@ -23,6 +25,13 @@ const base = config.base || '/';
23
25
  const host = config.host || false;
24
26
  const compress = config.compress ?? true;
25
27
 
28
+ const expressiveCodeConfig = {
29
+ themes: ['andromeeda'],
30
+ defaultProps: {
31
+ wrap: true,
32
+ },
33
+ };
34
+
26
35
  // https://astro.build/config
27
36
  export default defineConfig({
28
37
  base,
@@ -53,25 +62,22 @@ export default defineConfig({
53
62
  react(),
54
63
  tailwind(),
55
64
  expressiveCode({
56
- themes: ['github-light'],
57
- defaultProps: {
58
- // Enable word wrap by default
59
- wrap: true,
60
- },
65
+ ...expressiveCodeConfig,
61
66
  }),
62
-
63
67
  mdx({
64
68
  // https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize
65
69
  optimize: config.mdxOptimize || false,
66
70
  remarkPlugins: [remarkDirective, remarkDirectives, remarkComment, mermaid, plantuml],
67
71
  rehypePlugins: [
72
+ [rehypeExpressiveCode, {
73
+ ...expressiveCodeConfig,
74
+ }],
68
75
  rehypeSlug,
69
76
  [
70
77
  rehypeAutolinkHeadings,
71
78
  {
72
79
  behavior: 'append',
73
80
  properties: { className: ['anchor-link'] },
74
-
75
81
  },
76
82
  ],
77
83
  ],
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.58.1",
9
+ "version": "2.58.2",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -60,7 +60,7 @@
60
60
  "ai": "^4.3.9",
61
61
  "astro": "^5.13.8",
62
62
  "astro-compress": "^2.3.8",
63
- "astro-expressive-code": "^0.40.1",
63
+ "astro-expressive-code": "^0.41.3",
64
64
  "astro-seo": "^0.8.4",
65
65
  "auth-astro": "^4.2.0",
66
66
  "axios": "^1.7.7",
@@ -93,6 +93,7 @@
93
93
  "react-markdown": "^10.1.0",
94
94
  "react-syntax-highlighter": "^15.6.1",
95
95
  "rehype-autolink-headings": "^7.1.0",
96
+ "rehype-expressive-code": "^0.41.3",
96
97
  "rehype-slug": "^6.0.0",
97
98
  "remark-comment": "^1.0.0",
98
99
  "remark-directive": "^3.0.0",