@eventcatalog/core 3.0.0-beta.5 → 3.0.0-beta.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/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-2S2HZBCP.js → chunk-E3DXT2MO.js} +1 -1
- package/dist/{chunk-ZH2CKLGX.js → chunk-NFC5ATB7.js} +1 -1
- package/dist/{chunk-IFM7AOTV.js → chunk-QMCPRQJG.js} +1 -1
- package/dist/{chunk-5FCHDFSH.js → chunk-WYIYHLP3.js} +1 -1
- package/dist/{chunk-THZ5TTFQ.js → chunk-YNC7ZCAS.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +3 -3
- package/dist/eventcatalog.js +7 -7
- 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/integrations/ecstudio-watcher.mjs +1 -1
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +15 -2
- 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-YNC7ZCAS.js";
|
|
4
|
+
import "../chunk-QMCPRQJG.js";
|
|
5
|
+
import "../chunk-NFC5ATB7.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
|
@@ -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.0.0-beta.
|
|
112
|
+
var version = "3.0.0-beta.7";
|
|
113
113
|
|
|
114
114
|
// src/constants.ts
|
|
115
115
|
var VERSION = version;
|
|
@@ -836,13 +836,13 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
836
836
|
}
|
|
837
837
|
copyCore();
|
|
838
838
|
await copyServerFiles();
|
|
839
|
-
const
|
|
839
|
+
const isBackstagePluginEnabled = await (0, import_license.isFeatureEnabled)(
|
|
840
840
|
"@eventcatalog/backstage-plugin-eventcatalog",
|
|
841
841
|
process.env.EVENTCATALOG_LICENSE_KEY_BACKSTAGE
|
|
842
842
|
);
|
|
843
843
|
const isEventCatalogStarter = await (0, import_license.isEventCatalogStarterEnabled)();
|
|
844
844
|
const isEventCatalogScale = await (0, import_license.isEventCatalogScaleEnabled)();
|
|
845
|
-
const
|
|
845
|
+
const canEmbedPages = isBackstagePluginEnabled || isEventCatalogScale;
|
|
846
846
|
await createAuthFileIfNotExists(isEventCatalogScale);
|
|
847
847
|
await log_build_default(dir, {
|
|
848
848
|
isEventCatalogStarterEnabled: isEventCatalogStarter,
|
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-YNC7ZCAS.js";
|
|
10
|
+
import "./chunk-QMCPRQJG.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrations
|
|
13
13
|
} from "./chunk-BH3JMNAV.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
} from "./chunk-5VBIXL6C.js";
|
|
24
24
|
import {
|
|
25
25
|
generate
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-E3DXT2MO.js";
|
|
27
27
|
import {
|
|
28
28
|
logger
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WYIYHLP3.js";
|
|
30
30
|
import {
|
|
31
31
|
VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NFC5ATB7.js";
|
|
33
33
|
import "./chunk-UPONRQSN.js";
|
|
34
34
|
|
|
35
35
|
// src/eventcatalog.ts
|
|
@@ -210,13 +210,13 @@ program.command("build").description("Run build of EventCatalog").action(async (
|
|
|
210
210
|
}
|
|
211
211
|
copyCore();
|
|
212
212
|
await copyServerFiles();
|
|
213
|
-
const
|
|
213
|
+
const isBackstagePluginEnabled = await isFeatureEnabled(
|
|
214
214
|
"@eventcatalog/backstage-plugin-eventcatalog",
|
|
215
215
|
process.env.EVENTCATALOG_LICENSE_KEY_BACKSTAGE
|
|
216
216
|
);
|
|
217
217
|
const isEventCatalogStarter = await isEventCatalogStarterEnabled();
|
|
218
218
|
const isEventCatalogScale = await isEventCatalogScaleEnabled();
|
|
219
|
-
const
|
|
219
|
+
const canEmbedPages = isBackstagePluginEnabled || isEventCatalogScale;
|
|
220
220
|
await createAuthFileIfNotExists(isEventCatalogScale);
|
|
221
221
|
await log_build_default(dir, {
|
|
222
222
|
isEventCatalogStarterEnabled: isEventCatalogStarter,
|
package/dist/generate.cjs
CHANGED
|
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
73
73
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
74
74
|
|
|
75
75
|
// package.json
|
|
76
|
-
var version = "3.0.0-beta.
|
|
76
|
+
var version = "3.0.0-beta.7";
|
|
77
77
|
|
|
78
78
|
// src/constants.ts
|
|
79
79
|
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-E3DXT2MO.js";
|
|
4
|
+
import "./chunk-WYIYHLP3.js";
|
|
5
|
+
import "./chunk-NFC5ATB7.js";
|
|
6
6
|
import "./chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -55,7 +55,7 @@ export default function ecstudioWatcher() {
|
|
|
55
55
|
// Also add the root directory to watch for new files
|
|
56
56
|
server.watcher.add(rootDir);
|
|
57
57
|
|
|
58
|
-
console.log('Set up dynamic .ecstudio file watcher with content refresh');
|
|
58
|
+
// console.log('Set up dynamic .ecstudio file watcher with content refresh');
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
4
4
|
import * as LucideIcons from 'lucide-react';
|
|
5
|
-
import { ChevronRight, ChevronLeft, ChevronDown, Home, Star } from 'lucide-react';
|
|
5
|
+
import { ChevronRight, ChevronLeft, ChevronDown, Home, Star, FileQuestion } from 'lucide-react';
|
|
6
6
|
import type { NavigationData, NavNode, ChildRef } from './sidebar-builder';
|
|
7
7
|
import SearchBar from './SearchBar';
|
|
8
8
|
import { saveState, loadState, saveCollapsedSections, loadCollapsedSections } from './storage';
|
|
@@ -1061,7 +1061,20 @@ export default function NestedSideBar() {
|
|
|
1061
1061
|
</div>
|
|
1062
1062
|
)}
|
|
1063
1063
|
|
|
1064
|
-
{
|
|
1064
|
+
{/* Empty State */}
|
|
1065
|
+
{currentLevel.entries.length === 0 && favorites.length === 0 && (
|
|
1066
|
+
<div className="flex flex-col items-center justify-center px-6 py-12 text-center">
|
|
1067
|
+
<div className="mb-4 p-3 rounded-full bg-gray-100">
|
|
1068
|
+
<FileQuestion className="w-8 h-8 text-gray-400" />
|
|
1069
|
+
</div>
|
|
1070
|
+
<h3 className="text-sm font-semibold text-gray-900 mb-2">Your catalog is empty</h3>
|
|
1071
|
+
<p className="text-xs text-gray-500 leading-relaxed max-w-[240px]">
|
|
1072
|
+
Navigation will appear here when you add resources to your EventCatalog.
|
|
1073
|
+
</p>
|
|
1074
|
+
</div>
|
|
1075
|
+
)}
|
|
1076
|
+
|
|
1077
|
+
{currentLevel.entries.length > 0 && renderEntries(currentLevel.entries)}
|
|
1065
1078
|
</nav>
|
|
1066
1079
|
</>
|
|
1067
1080
|
)}
|