@eventcatalog/core 0.0.6 → 0.0.7

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
+ ## 0.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ee17db8`](https://github.com/boyney123/eventcatalog/commit/ee17db8958ac6368f7d833f0d3ebec2604722e42) [#56](https://github.com/boyney123/eventcatalog/pull/56) Thanks [@boyney123](https://github.com/boyney123)! - feat: changelog.md files now belong inside the versioned folders
8
+
3
9
  ## 0.0.6
4
10
 
5
11
  ### Patch Changes
package/lib/events.ts CHANGED
@@ -56,7 +56,7 @@ export const getLogsForEvent = (eventName) => {
56
56
  let changelog = null;
57
57
 
58
58
  try {
59
- const { content } = readMarkdownFile(path.join(pathToDir, 'changelog.md'));
59
+ const { content } = readMarkdownFile(path.join(previousVersionPathToDir, 'changelog.md'));
60
60
  changelog = content;
61
61
  } catch (error) {
62
62
  // nothing found it's OK.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },