@eventcatalog/core 3.12.6 → 3.12.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/README.md +1 -1
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/catalog-to-astro-content-directory.cjs +1 -1
- package/dist/{chunk-PSDQDS73.js → chunk-2EFYBMLH.js} +1 -1
- package/dist/{chunk-EHTEV77B.js → chunk-PLQAZDJI.js} +1 -1
- package/dist/{chunk-ORRVO5N2.js → chunk-RZOSO7BH.js} +1 -1
- package/dist/{chunk-DS5JIF3L.js → chunk-UFF5Q7GJ.js} +1 -1
- package/dist/{chunk-ECCS2LAR.js → chunk-YO6IQXB3.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +2 -2
- package/dist/eventcatalog.js +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/content.config.ts +15 -3
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +1 -0
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-YO6IQXB3.js";
|
|
4
|
+
import "../chunk-PLQAZDJI.js";
|
|
5
5
|
import "../chunk-4UVFXLPI.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-RZOSO7BH.js";
|
|
7
7
|
import "../chunk-UPONRQSN.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -34,7 +34,7 @@ __export(catalog_to_astro_content_directory_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
39
39
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
40
40
|
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
mod
|
|
23
23
|
));
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
25
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@1.21.7_postcss@8.5.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
26
26
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
27
27
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
28
|
|
|
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
109
109
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
110
110
|
|
|
111
111
|
// package.json
|
|
112
|
-
var version = "3.12.
|
|
112
|
+
var version = "3.12.7";
|
|
113
113
|
|
|
114
114
|
// src/constants.ts
|
|
115
115
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-PLNJC7NZ.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YO6IQXB3.js";
|
|
10
|
+
import "./chunk-PLQAZDJI.js";
|
|
11
11
|
import "./chunk-4UVFXLPI.js";
|
|
12
12
|
import {
|
|
13
13
|
runMigrations
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-5VBIXL6C.js";
|
|
23
23
|
import {
|
|
24
24
|
generate
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2EFYBMLH.js";
|
|
26
26
|
import {
|
|
27
27
|
logger
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UFF5Q7GJ.js";
|
|
29
29
|
import {
|
|
30
30
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RZOSO7BH.js";
|
|
32
32
|
import {
|
|
33
33
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
34
34
|
} from "./chunk-UPONRQSN.js";
|
package/dist/generate.cjs
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2EFYBMLH.js";
|
|
4
|
+
import "./chunk-UFF5Q7GJ.js";
|
|
5
|
+
import "./chunk-RZOSO7BH.js";
|
|
6
6
|
import "./chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -10,11 +10,23 @@ import path from 'path';
|
|
|
10
10
|
import { customPagesSchema } from './enterprise/collections';
|
|
11
11
|
|
|
12
12
|
export const projectDirBase = (() => {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const projectDir = process.env.PROJECT_DIR;
|
|
14
|
+
const catalogDir = process.env.CATALOG_DIR;
|
|
15
|
+
|
|
16
|
+
// If CATALOG_DIR is set (monorepo mode), compute relative path from catalog to project
|
|
17
|
+
// Otherwise fall back to absolute path (standalone mode)
|
|
18
|
+
if (catalogDir && projectDir) {
|
|
19
|
+
const relativePath = path.relative(catalogDir, projectDir);
|
|
20
|
+
// Ensure forward slashes for consistency
|
|
21
|
+
return relativePath.replace(/\\/g, '/');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Fallback to absolute path
|
|
25
|
+
if (process.platform === 'win32' && projectDir) {
|
|
26
|
+
const projectDirPath = projectDir.replace(/\\/g, '/');
|
|
15
27
|
return projectDirPath.startsWith('/') ? projectDirPath : `/${projectDirPath}`;
|
|
16
28
|
}
|
|
17
|
-
return
|
|
29
|
+
return projectDir;
|
|
18
30
|
})();
|
|
19
31
|
|
|
20
32
|
const pages = defineCollection({
|
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": "3.12.
|
|
9
|
+
"version": "3.12.7",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
@@ -32,8 +32,6 @@
|
|
|
32
32
|
"@asyncapi/react-component": "2.4.3",
|
|
33
33
|
"@auth/core": "^0.37.4",
|
|
34
34
|
"@eventcatalog/license": "^0.0.7",
|
|
35
|
-
"@eventcatalog/linter": "^0.0.2",
|
|
36
|
-
"@eventcatalog/sdk": "^2.11.0",
|
|
37
35
|
"@eventcatalog/visualizer": "^0.0.6",
|
|
38
36
|
"@fontsource/inter": "^5.2.5",
|
|
39
37
|
"@headlessui/react": "^2.0.3",
|
|
@@ -103,7 +101,9 @@
|
|
|
103
101
|
"unist-util-visit": "^5.0.0",
|
|
104
102
|
"update-notifier": "^7.3.1",
|
|
105
103
|
"uuid": "^10.0.0",
|
|
106
|
-
"zod": "^3.25.0"
|
|
104
|
+
"zod": "^3.25.0",
|
|
105
|
+
"@eventcatalog/linter": "1.0.2",
|
|
106
|
+
"@eventcatalog/sdk": "2.13.1"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@astrojs/check": "^0.9.6",
|
|
@@ -152,6 +152,8 @@
|
|
|
152
152
|
"format": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx,json,astro}\"",
|
|
153
153
|
"format:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,json,astro}\"",
|
|
154
154
|
"lint:catalog": "pnpm dlx @eventcatalog/linter examples/default",
|
|
155
|
-
"check": "node scripts/check-types.js"
|
|
155
|
+
"check": "node scripts/check-types.js",
|
|
156
|
+
"turbo:test": "turbo run test",
|
|
157
|
+
"turbo:build": "turbo run build:bin"
|
|
156
158
|
}
|
|
157
159
|
}
|