@eventcatalog/core 2.65.1 → 2.65.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/{chunk-BTS6L3KY.js → chunk-C3BS3CBN.js} +1 -1
- package/dist/{chunk-2TTD2MLE.js → chunk-N4TTC4BN.js} +1 -1
- package/dist/{chunk-XB4SZX3I.js → chunk-NPWU34KV.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +20 -1
- package/dist/eventcatalog.js +22 -3
- 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-NPWU34KV.js";
|
|
4
|
+
import "../chunk-N4TTC4BN.js";
|
|
5
|
+
import "../chunk-C3BS3CBN.js";
|
|
6
6
|
import "../chunk-UPONRQSN.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.65.
|
|
160
|
+
var version = "2.65.2";
|
|
161
161
|
|
|
162
162
|
// src/constants.ts
|
|
163
163
|
var VERSION = version;
|
|
@@ -709,6 +709,25 @@ var clearCore = () => {
|
|
|
709
709
|
var checkForUpdate = () => {
|
|
710
710
|
const installedVersion = getInstalledEventCatalogVersion();
|
|
711
711
|
if (!installedVersion) return;
|
|
712
|
+
const majorVersion = parseInt(installedVersion.replace(/[^0-9.]/g, "").split(".")[0], 10);
|
|
713
|
+
if (majorVersion < 3) {
|
|
714
|
+
const v3Message = `\u{1F680} EventCatalog V3 is now available in beta!
|
|
715
|
+
|
|
716
|
+
You are currently on version ${installedVersion}.
|
|
717
|
+
V3 brings exciting new features and improvements.
|
|
718
|
+
|
|
719
|
+
Upgrade now: npm i @eventcatalog/core@beta`;
|
|
720
|
+
console.log(
|
|
721
|
+
(0, import_boxen.default)(v3Message, {
|
|
722
|
+
padding: 1,
|
|
723
|
+
margin: 1,
|
|
724
|
+
align: "center",
|
|
725
|
+
borderColor: "magenta",
|
|
726
|
+
borderStyle: "round"
|
|
727
|
+
})
|
|
728
|
+
);
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
712
731
|
const pkg = { name: "@eventcatalog/core", version: installedVersion };
|
|
713
732
|
const notifier = (0, import_update_notifier.default)({ pkg, updateCheckInterval: 0 });
|
|
714
733
|
if (notifier.update) {
|
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-NPWU34KV.js";
|
|
10
|
+
import "./chunk-N4TTC4BN.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrations
|
|
13
13
|
} from "./chunk-BH3JMNAV.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import "./chunk-55D645EH.js";
|
|
20
20
|
import {
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-C3BS3CBN.js";
|
|
23
23
|
import {
|
|
24
24
|
getProjectOutDir,
|
|
25
25
|
isAuthEnabled,
|
|
@@ -115,6 +115,25 @@ var clearCore = () => {
|
|
|
115
115
|
var checkForUpdate = () => {
|
|
116
116
|
const installedVersion = getInstalledEventCatalogVersion();
|
|
117
117
|
if (!installedVersion) return;
|
|
118
|
+
const majorVersion = parseInt(installedVersion.replace(/[^0-9.]/g, "").split(".")[0], 10);
|
|
119
|
+
if (majorVersion < 3) {
|
|
120
|
+
const v3Message = `\u{1F680} EventCatalog V3 is now available in beta!
|
|
121
|
+
|
|
122
|
+
You are currently on version ${installedVersion}.
|
|
123
|
+
V3 brings exciting new features and improvements.
|
|
124
|
+
|
|
125
|
+
Upgrade now: npm i @eventcatalog/core@beta`;
|
|
126
|
+
console.log(
|
|
127
|
+
boxen(v3Message, {
|
|
128
|
+
padding: 1,
|
|
129
|
+
margin: 1,
|
|
130
|
+
align: "center",
|
|
131
|
+
borderColor: "magenta",
|
|
132
|
+
borderStyle: "round"
|
|
133
|
+
})
|
|
134
|
+
);
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
118
137
|
const pkg = { name: "@eventcatalog/core", version: installedVersion };
|
|
119
138
|
const notifier = updateNotifier({ pkg, updateCheckInterval: 0 });
|
|
120
139
|
if (notifier.update) {
|