@eventcatalog/core 2.40.0 → 2.40.1
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/{chunk-4HQYTFYJ.js → chunk-77FIZKRC.js} +1 -1
- package/dist/{chunk-VFV2YSLH.js → chunk-P5YUKYTV.js} +1 -1
- package/dist/{chunk-WJK67MSP.js → chunk-TLEJWHPX.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +5 -15
- package/dist/eventcatalog.js +7 -17
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-TLEJWHPX.js";
|
|
4
|
+
import "../chunk-77FIZKRC.js";
|
|
5
|
+
import "../chunk-P5YUKYTV.js";
|
|
6
6
|
import "../chunk-E7TXTI7G.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -157,7 +157,7 @@ var import_axios = __toESM(require("axios"), 1);
|
|
|
157
157
|
var import_os = __toESM(require("os"), 1);
|
|
158
158
|
|
|
159
159
|
// package.json
|
|
160
|
-
var version = "2.40.
|
|
160
|
+
var version = "2.40.1";
|
|
161
161
|
|
|
162
162
|
// src/constants.ts
|
|
163
163
|
var VERSION = version;
|
|
@@ -614,7 +614,6 @@ var isEventCatalogStarterEnabled = async (licenseKey) => {
|
|
|
614
614
|
|
|
615
615
|
// src/eventcatalog.ts
|
|
616
616
|
var import_update_notifier = __toESM(require("update-notifier"), 1);
|
|
617
|
-
var import_stream = __toESM(require("stream"), 1);
|
|
618
617
|
var import_dotenv = __toESM(require("dotenv"), 1);
|
|
619
618
|
var currentDir = import_node_path7.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl));
|
|
620
619
|
var program = new import_commander.Command().version(VERSION);
|
|
@@ -718,29 +717,20 @@ program.command("dev").description("Run development server of EventCatalog").opt
|
|
|
718
717
|
[
|
|
719
718
|
{
|
|
720
719
|
name: "astro",
|
|
721
|
-
|
|
722
|
-
command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} | findstr /V "The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v "The collection.*does not exist"`,
|
|
720
|
+
command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} 2>&1 | findstr /V /C:"[glob-loader]" /C:"The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v -e "\\[glob-loader\\]" -e "The collection.*does not exist"`,
|
|
723
721
|
cwd: core,
|
|
724
722
|
env: {
|
|
725
723
|
PROJECT_DIR: dir,
|
|
726
724
|
CATALOG_DIR: core,
|
|
727
725
|
ENABLE_EMBED: canEmbedPages,
|
|
728
726
|
EVENTCATALOG_STARTER: isEventCatalogStarter,
|
|
729
|
-
EVENTCATALOG_SCALE: isEventCatalogScale
|
|
727
|
+
EVENTCATALOG_SCALE: isEventCatalogScale,
|
|
728
|
+
NODE_NO_WARNINGS: "1"
|
|
730
729
|
}
|
|
731
730
|
}
|
|
732
731
|
],
|
|
733
732
|
{
|
|
734
|
-
raw: true
|
|
735
|
-
outputStream: new import_stream.default.Writable({
|
|
736
|
-
write(chunk, encoding, callback) {
|
|
737
|
-
const text = chunk.toString();
|
|
738
|
-
if (!(text.includes("The collection") && text.includes("does not exist"))) {
|
|
739
|
-
process.stdout.write(chunk);
|
|
740
|
-
}
|
|
741
|
-
callback();
|
|
742
|
-
}
|
|
743
|
-
})
|
|
733
|
+
raw: true
|
|
744
734
|
}
|
|
745
735
|
);
|
|
746
736
|
await result;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
} from "./chunk-DCLTVJDP.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TLEJWHPX.js";
|
|
10
|
+
import "./chunk-77FIZKRC.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro,
|
|
13
13
|
checkAndConvertMdToMdx
|
|
14
14
|
} from "./chunk-SLEMYHTU.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-P5YUKYTV.js";
|
|
18
18
|
import {
|
|
19
19
|
isBackstagePluginEnabled,
|
|
20
20
|
isEventCatalogScaleEnabled,
|
|
@@ -37,7 +37,6 @@ import { fileURLToPath } from "node:url";
|
|
|
37
37
|
import concurrently from "concurrently";
|
|
38
38
|
import boxen from "boxen";
|
|
39
39
|
import updateNotifier from "update-notifier";
|
|
40
|
-
import stream from "stream";
|
|
41
40
|
import dotenv from "dotenv";
|
|
42
41
|
var currentDir = path.dirname(fileURLToPath(import.meta.url));
|
|
43
42
|
var program = new Command().version(VERSION);
|
|
@@ -141,29 +140,20 @@ program.command("dev").description("Run development server of EventCatalog").opt
|
|
|
141
140
|
[
|
|
142
141
|
{
|
|
143
142
|
name: "astro",
|
|
144
|
-
|
|
145
|
-
command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} | findstr /V "The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v "The collection.*does not exist"`,
|
|
143
|
+
command: process.platform === "win32" ? `npx astro dev ${command.args.join(" ").trim()} 2>&1 | findstr /V /C:"[glob-loader]" /C:"The collection"` : `npx astro dev ${command.args.join(" ").trim()} 2>&1 | grep -v -e "\\[glob-loader\\]" -e "The collection.*does not exist"`,
|
|
146
144
|
cwd: core,
|
|
147
145
|
env: {
|
|
148
146
|
PROJECT_DIR: dir,
|
|
149
147
|
CATALOG_DIR: core,
|
|
150
148
|
ENABLE_EMBED: canEmbedPages,
|
|
151
149
|
EVENTCATALOG_STARTER: isEventCatalogStarter,
|
|
152
|
-
EVENTCATALOG_SCALE: isEventCatalogScale
|
|
150
|
+
EVENTCATALOG_SCALE: isEventCatalogScale,
|
|
151
|
+
NODE_NO_WARNINGS: "1"
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
154
|
],
|
|
156
155
|
{
|
|
157
|
-
raw: true
|
|
158
|
-
outputStream: new stream.Writable({
|
|
159
|
-
write(chunk, encoding, callback) {
|
|
160
|
-
const text = chunk.toString();
|
|
161
|
-
if (!(text.includes("The collection") && text.includes("does not exist"))) {
|
|
162
|
-
process.stdout.write(chunk);
|
|
163
|
-
}
|
|
164
|
-
callback();
|
|
165
|
-
}
|
|
166
|
-
})
|
|
156
|
+
raw: true
|
|
167
157
|
}
|
|
168
158
|
);
|
|
169
159
|
await result;
|