@eventcatalog/core 4.2.1 → 4.2.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/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/astro-output.cjs +43 -0
- package/dist/astro-output.d.cts +4 -0
- package/dist/astro-output.d.ts +4 -0
- package/dist/astro-output.js +8 -0
- package/dist/{chunk-PUTZR6SV.js → chunk-A5LDEHRI.js} +1 -1
- package/dist/{chunk-V6UMVNX4.js → chunk-HIQ22EHS.js} +3 -3
- package/dist/{chunk-A6SWOPJ4.js → chunk-JV33GNVZ.js} +1 -1
- package/dist/chunk-RDYYZQYU.js +18 -0
- package/dist/{chunk-DTQ2MXRB.js → chunk-Z2CMR4HM.js} +1 -1
- package/dist/{chunk-RQ36O7QA.js → chunk-ZGQNCIRW.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +15 -12
- package/dist/eventcatalog.js +16 -23
- 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/package.json +3 -3
|
@@ -140,7 +140,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
140
140
|
var import_os = __toESM(require("os"), 1);
|
|
141
141
|
|
|
142
142
|
// package.json
|
|
143
|
-
var version = "4.2.
|
|
143
|
+
var version = "4.2.2";
|
|
144
144
|
|
|
145
145
|
// src/constants.ts
|
|
146
146
|
var VERSION = version;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-RQ36O7QA.js";
|
|
3
|
+
} from "../chunk-HIQ22EHS.js";
|
|
5
4
|
import "../chunk-K2XIENVT.js";
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-ZGQNCIRW.js";
|
|
6
|
+
import "../chunk-A5LDEHRI.js";
|
|
7
7
|
import "../chunk-6QENHZZP.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/astro-output.ts
|
|
21
|
+
var astro_output_exports = {};
|
|
22
|
+
__export(astro_output_exports, {
|
|
23
|
+
createAstroDevLineFilter: () => createAstroDevLineFilter,
|
|
24
|
+
createAstroLineFilter: () => createAstroLineFilter
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(astro_output_exports);
|
|
27
|
+
var createAstroLineFilter = () => {
|
|
28
|
+
return (line) => {
|
|
29
|
+
const isIgnoredGetStaticPathsWarning = line.includes("[router]") && line.includes("getStaticPaths() ignored in dynamic page");
|
|
30
|
+
return line.includes("[glob-loader]") || isIgnoredGetStaticPathsWarning || /^\s*The collection ".*" does not exist or is empty\. Please check your content config file for errors\.\s*$/.test(line);
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
var createAstroDevLineFilter = () => {
|
|
34
|
+
const shouldFilterAstroLine = createAstroLineFilter();
|
|
35
|
+
return (line) => {
|
|
36
|
+
return shouldFilterAstroLine(line) || line.includes("[router]");
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
+
0 && (module.exports = {
|
|
41
|
+
createAstroDevLineFilter,
|
|
42
|
+
createAstroLineFilter
|
|
43
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
raiseEvent
|
|
3
|
-
} from "./chunk-RQ36O7QA.js";
|
|
4
1
|
import {
|
|
5
2
|
countResources,
|
|
6
3
|
serializeCounts
|
|
7
4
|
} from "./chunk-K2XIENVT.js";
|
|
5
|
+
import {
|
|
6
|
+
raiseEvent
|
|
7
|
+
} from "./chunk-ZGQNCIRW.js";
|
|
8
8
|
import {
|
|
9
9
|
getEventCatalogConfigFile,
|
|
10
10
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/astro-output.ts
|
|
2
|
+
var createAstroLineFilter = () => {
|
|
3
|
+
return (line) => {
|
|
4
|
+
const isIgnoredGetStaticPathsWarning = line.includes("[router]") && line.includes("getStaticPaths() ignored in dynamic page");
|
|
5
|
+
return line.includes("[glob-loader]") || isIgnoredGetStaticPathsWarning || /^\s*The collection ".*" does not exist or is empty\. Please check your content config file for errors\.\s*$/.test(line);
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
var createAstroDevLineFilter = () => {
|
|
9
|
+
const shouldFilterAstroLine = createAstroLineFilter();
|
|
10
|
+
return (line) => {
|
|
11
|
+
return shouldFilterAstroLine(line) || line.includes("[router]");
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
createAstroLineFilter,
|
|
17
|
+
createAstroDevLineFilter
|
|
18
|
+
};
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
144
144
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
145
145
|
|
|
146
146
|
// package.json
|
|
147
|
-
var version = "4.2.
|
|
147
|
+
var version = "4.2.2";
|
|
148
148
|
|
|
149
149
|
// src/constants.ts
|
|
150
150
|
var VERSION = version;
|
|
@@ -1831,6 +1831,20 @@ var linkCoreNodeModules = ({
|
|
|
1831
1831
|
import_fs2.default.symlinkSync(installedCoreNodeModules, coreNodeModules, process.platform === "win32" ? "junction" : "dir");
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
|
+
// src/astro-output.ts
|
|
1835
|
+
var createAstroLineFilter = () => {
|
|
1836
|
+
return (line) => {
|
|
1837
|
+
const isIgnoredGetStaticPathsWarning = line.includes("[router]") && line.includes("getStaticPaths() ignored in dynamic page");
|
|
1838
|
+
return line.includes("[glob-loader]") || isIgnoredGetStaticPathsWarning || /^\s*The collection ".*" does not exist or is empty\. Please check your content config file for errors\.\s*$/.test(line);
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
var createAstroDevLineFilter = () => {
|
|
1842
|
+
const shouldFilterAstroLine = createAstroLineFilter();
|
|
1843
|
+
return (line) => {
|
|
1844
|
+
return shouldFilterAstroLine(line) || line.includes("[router]");
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1834
1848
|
// src/eventcatalog.ts
|
|
1835
1849
|
var import_license = require("@eventcatalog/license");
|
|
1836
1850
|
var currentDir = import_node_path11.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
|
|
@@ -1903,17 +1917,6 @@ var startDevPrewarm = ({
|
|
|
1903
1917
|
};
|
|
1904
1918
|
setTimeout(tick, initialDelayMs);
|
|
1905
1919
|
};
|
|
1906
|
-
var createAstroLineFilter = () => {
|
|
1907
|
-
return (line) => {
|
|
1908
|
-
return line.includes("[glob-loader]") || /^\s*The collection ".*" does not exist or is empty\. Please check your content config file for errors\.\s*$/.test(line);
|
|
1909
|
-
};
|
|
1910
|
-
};
|
|
1911
|
-
var createAstroDevLineFilter = () => {
|
|
1912
|
-
const shouldFilterAstroLine = createAstroLineFilter();
|
|
1913
|
-
return (line) => {
|
|
1914
|
-
return shouldFilterAstroLine(line) || line.includes("[router]");
|
|
1915
|
-
};
|
|
1916
|
-
};
|
|
1917
1920
|
var buildDevSearchIndex = async ({ config }) => {
|
|
1918
1921
|
const result = await buildSearchIndex({
|
|
1919
1922
|
projectDir: dir,
|
package/dist/eventcatalog.js
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HIQ22EHS.js";
|
|
4
|
+
import "./chunk-K2XIENVT.js";
|
|
4
5
|
import {
|
|
5
6
|
runMigrations
|
|
6
7
|
} from "./chunk-XUAF2H54.js";
|
|
7
8
|
import "./chunk-CA4U2JP7.js";
|
|
9
|
+
import {
|
|
10
|
+
getProjectOutDir,
|
|
11
|
+
isAuthEnabled,
|
|
12
|
+
isIndexedSearchEnabled,
|
|
13
|
+
isOutputServer
|
|
14
|
+
} from "./chunk-B7HCX5HM.js";
|
|
8
15
|
import {
|
|
9
16
|
generate
|
|
10
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JV33GNVZ.js";
|
|
11
18
|
import {
|
|
12
19
|
logger
|
|
13
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z2CMR4HM.js";
|
|
14
21
|
import {
|
|
15
22
|
resolve_catalog_dependencies_default
|
|
16
23
|
} from "./chunk-LHR4G2UO.js";
|
|
@@ -20,25 +27,22 @@ import {
|
|
|
20
27
|
import {
|
|
21
28
|
watch
|
|
22
29
|
} from "./chunk-CAJUIMDJ.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import
|
|
30
|
+
import "./chunk-ZGQNCIRW.js";
|
|
31
|
+
import {
|
|
32
|
+
createAstroDevLineFilter,
|
|
33
|
+
createAstroLineFilter
|
|
34
|
+
} from "./chunk-RDYYZQYU.js";
|
|
25
35
|
import {
|
|
26
36
|
catalogToAstro
|
|
27
37
|
} from "./chunk-W3SAPOZU.js";
|
|
28
38
|
import "./chunk-W5JQON7Z.js";
|
|
29
39
|
import {
|
|
30
40
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-A5LDEHRI.js";
|
|
32
42
|
import {
|
|
33
43
|
linkCoreNodeModules,
|
|
34
44
|
resolveInstalledCoreNodeModules
|
|
35
45
|
} from "./chunk-BWN544LB.js";
|
|
36
|
-
import {
|
|
37
|
-
getProjectOutDir,
|
|
38
|
-
isAuthEnabled,
|
|
39
|
-
isIndexedSearchEnabled,
|
|
40
|
-
isOutputServer
|
|
41
|
-
} from "./chunk-B7HCX5HM.js";
|
|
42
46
|
import {
|
|
43
47
|
getEventCatalogConfigFile,
|
|
44
48
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -677,17 +681,6 @@ var startDevPrewarm = ({
|
|
|
677
681
|
};
|
|
678
682
|
setTimeout(tick, initialDelayMs);
|
|
679
683
|
};
|
|
680
|
-
var createAstroLineFilter = () => {
|
|
681
|
-
return (line) => {
|
|
682
|
-
return line.includes("[glob-loader]") || /^\s*The collection ".*" does not exist or is empty\. Please check your content config file for errors\.\s*$/.test(line);
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
var createAstroDevLineFilter = () => {
|
|
686
|
-
const shouldFilterAstroLine = createAstroLineFilter();
|
|
687
|
-
return (line) => {
|
|
688
|
-
return shouldFilterAstroLine(line) || line.includes("[router]");
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
684
|
var buildDevSearchIndex = async ({ config }) => {
|
|
692
685
|
const result = await buildSearchIndex({
|
|
693
686
|
projectDir: dir,
|
package/dist/generate.cjs
CHANGED
|
@@ -108,7 +108,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
108
108
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
109
109
|
|
|
110
110
|
// package.json
|
|
111
|
-
var version = "4.2.
|
|
111
|
+
var version = "4.2.2";
|
|
112
112
|
|
|
113
113
|
// src/constants.ts
|
|
114
114
|
var VERSION = version;
|
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-JV33GNVZ.js";
|
|
4
|
+
import "./chunk-Z2CMR4HM.js";
|
|
5
|
+
import "./chunk-A5LDEHRI.js";
|
|
6
6
|
import "./chunk-6QENHZZP.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "4.2.
|
|
10
|
+
"version": "4.2.2",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
"update-notifier": "^7.3.1",
|
|
117
117
|
"uuid": "^10.0.0",
|
|
118
118
|
"zod": "^4.3.6",
|
|
119
|
-
"@eventcatalog/
|
|
119
|
+
"@eventcatalog/linter": "1.1.5",
|
|
120
120
|
"@eventcatalog/visualiser": "^4.1.0",
|
|
121
|
-
"@eventcatalog/
|
|
121
|
+
"@eventcatalog/sdk": "2.26.0"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@astrojs/check": "^0.9.9",
|