@eventcatalog/core 2.0.25 → 2.0.26

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
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 3dc05d8: fix(core): fixed search, now set output path on build
8
+
3
9
  ## 2.0.25
4
10
 
5
11
  ### Patch Changes
package/astro.config.mjs CHANGED
@@ -4,16 +4,21 @@ import mdx from '@astrojs/mdx';
4
4
  import react from '@astrojs/react';
5
5
  import pagefind from "astro-pagefind";
6
6
  import { mermaid } from "./src/remark-plugins/mermaid"
7
+ import { join } from 'node:path';
7
8
 
8
9
  /** @type {import('bin/eventcatalog.config').Config} */
9
10
  import config from './eventcatalog.config';
10
11
  import expressiveCode from 'astro-expressive-code';
11
12
 
13
+ const coreDirectory = process.env.CATALOG_DIR || process.cwd();
14
+
12
15
  // https://astro.build/config
13
16
  export default defineConfig({
14
17
  base: config.base || '/',
15
18
  server: { port: config.port || 3000 },
16
19
 
20
+ outDir: join(coreDirectory, 'dist'),
21
+
17
22
  // https://docs.astro.build/en/reference/configuration-reference/#site
18
23
  site: config.homepageLink || 'https://eventcatalog.dev/',
19
24
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.0.25",
4
+ "version": "2.0.26",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },