@trops/dash-core 0.1.203 → 0.1.204
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/electron/index.js +12 -1
- package/dist/electron/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -33220,8 +33220,19 @@ async function prepareDashboardForPublish$1(
|
|
|
33220
33220
|
let missingFromRegistry = [];
|
|
33221
33221
|
if (!registryCheckFailed) {
|
|
33222
33222
|
const registryNames = new Set(registryPackages.map((p) => p.name));
|
|
33223
|
+
const registryWidgetNames = new Set();
|
|
33224
|
+
for (const pkg of registryPackages) {
|
|
33225
|
+
if (pkg.widgets) {
|
|
33226
|
+
for (const w of pkg.widgets) {
|
|
33227
|
+
if (w.name) registryWidgetNames.add(w.name);
|
|
33228
|
+
}
|
|
33229
|
+
}
|
|
33230
|
+
}
|
|
33223
33231
|
const missingWidgets = widgets.filter(
|
|
33224
|
-
(w) =>
|
|
33232
|
+
(w) =>
|
|
33233
|
+
w.required !== false &&
|
|
33234
|
+
!registryNames.has(w.package) &&
|
|
33235
|
+
!registryWidgetNames.has(w.package),
|
|
33225
33236
|
);
|
|
33226
33237
|
const grouped = {};
|
|
33227
33238
|
for (const w of missingWidgets) {
|