@eventcatalog/core 2.6.0 → 2.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 498f58c: fix(core): generate command now removes any tmp files required for ge…
8
+
9
+ ## 2.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 4aecf6a: fix(core): fixed broken images for specifications on the service page
14
+
3
15
  ## 2.6.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -48,6 +48,7 @@
48
48
  - 🗄️ Version domains, services and messages
49
49
  - ⭐ Discoverability feature (search, filter and more) ([demo](https://demo.eventcatalog.dev/discover/events))
50
50
  - ⭐ Document teams and users ([demo](https://demo.eventcatalog.dev/docs/teams/full-stack))
51
+ - 🤖 Automate your catalogs with [generators](https://www.eventcatalog.dev/docs/development/plugins/plugin-overview) (e.g generate your catalogs from your [AsyncAPI](https://www.eventcatalog.dev/docs/ascynapi)/[OpenAPI](https://www.eventcatalog.dev/docs/openapi) documents)
51
52
  - ⭐ And much more...
52
53
 
53
54
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.6.0",
4
+ "version": "2.6.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -99,6 +99,8 @@ const generate = async () => {
99
99
  return;
100
100
  }
101
101
  }
102
+
103
+ await cleanup();
102
104
  } catch (error) {
103
105
  // Failed to generate clean up...
104
106
  console.error(error);
@@ -21,7 +21,7 @@ const numberOfSpecifications = Object.keys(specVersions).length;
21
21
  href={buildUrl(`/docs/${collectionItem.collection}/${collectionItem.data.id}/${collectionItem.data.version}/spec`)}
22
22
  class="text-sm flex items-center space-x-1 hover:underline hover:text-purple-500"
23
23
  >
24
- <img src="/icons/openapi.svg" class="h-4 w-4" />
24
+ <img src={buildUrl('/icons/openapi.svg')} class="h-4 w-4" />
25
25
  <span>OpenAPI spec</span>
26
26
  </a>
27
27
  )
@@ -32,7 +32,7 @@ const numberOfSpecifications = Object.keys(specVersions).length;
32
32
  href={buildUrl(`/docs/${collectionItem.collection}/${collectionItem.data.id}/${collectionItem.data.version}/asyncapi`)}
33
33
  class="text-sm flex items-center space-x-1 hover:underline hover:text-purple-500"
34
34
  >
35
- <img src="/icons/asyncapi.svg" class="h-4 w-4" />
35
+ <img src={buildUrl('/icons/asyncapi.svg')} class="h-4 w-4" />
36
36
  <span>AsyncAPI spec</span>
37
37
  </a>
38
38
  )
@@ -91,7 +91,7 @@ const getSpecificationBadges = () => {
91
91
  backgroundColor: 'white',
92
92
  textColor: 'gray',
93
93
  content: 'OpenAPI Spec',
94
- iconURL: '/icons/openapi.svg',
94
+ iconURL: buildUrl('/icons/openapi.svg'),
95
95
  class: 'text-black hover:underline',
96
96
  id: 'open-api-badge',
97
97
  url: buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.version}/spec`),
@@ -103,7 +103,7 @@ const getSpecificationBadges = () => {
103
103
  backgroundColor: 'white',
104
104
  textColor: 'gray',
105
105
  content: 'AsyncAPI Spec',
106
- iconURL: '/icons/asyncapi.svg',
106
+ iconURL: buildUrl('/icons/asyncapi.svg'),
107
107
  class: 'text-black hover:underline',
108
108
  id: 'asyncapi-badge',
109
109
  url: buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.version}/asyncapi`),