@eventcatalog/core 2.0.24 → 2.0.25
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/CHANGELOG.md
CHANGED
package/astro.config.mjs
CHANGED
|
@@ -2,16 +2,12 @@ import { defineConfig } from 'astro/config';
|
|
|
2
2
|
import tailwind from '@astrojs/tailwind';
|
|
3
3
|
import mdx from '@astrojs/mdx';
|
|
4
4
|
import react from '@astrojs/react';
|
|
5
|
-
// import { rehypeHeadingIds } from '@astrojs/markdown-remark';
|
|
6
|
-
// import rehypeMinifyHtml from 'rehype-minify-html';
|
|
7
|
-
import rehypeSlug from 'rehype-slug';
|
|
8
|
-
import remarkGFM from 'remark-gfm';
|
|
9
5
|
import pagefind from "astro-pagefind";
|
|
10
6
|
import { mermaid } from "./src/remark-plugins/mermaid"
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
import expressiveCode from 'astro-expressive-code';
|
|
8
|
+
/** @type {import('bin/eventcatalog.config').Config} */
|
|
14
9
|
import config from './eventcatalog.config';
|
|
10
|
+
import expressiveCode from 'astro-expressive-code';
|
|
15
11
|
|
|
16
12
|
// https://astro.build/config
|
|
17
13
|
export default defineConfig({
|
|
@@ -30,27 +26,13 @@ export default defineConfig({
|
|
|
30
26
|
react(),
|
|
31
27
|
tailwind(),
|
|
32
28
|
expressiveCode({
|
|
33
|
-
// themes: ['github-light'],
|
|
34
29
|
themes: ['github-light'],
|
|
35
30
|
}),
|
|
36
31
|
|
|
37
32
|
mdx({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
// rehypeSlug,
|
|
41
|
-
// remarkGFM
|
|
42
|
-
],
|
|
43
|
-
// rehypePlugins: [rehypeMinifyHtml],
|
|
44
|
-
// syntaxHighlight: 'shiki',
|
|
45
|
-
// shikiConfig: {
|
|
46
|
-
// theme: 'github-light',
|
|
47
|
-
// langs: ['yaml']
|
|
48
|
-
// },
|
|
49
|
-
|
|
33
|
+
// https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize
|
|
34
|
+
optimize: config.mdxOptimize || false,
|
|
50
35
|
remarkPlugins: [mermaid],
|
|
51
|
-
// remarkRehype: {
|
|
52
|
-
// footnoteLabel: 'Footnotes',
|
|
53
|
-
// },
|
|
54
36
|
gfm: false,
|
|
55
37
|
}),
|
|
56
38
|
pagefind(),
|