@stackable-labs/cli-app-extension 2.23.0 → 2.24.0
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1711,7 +1711,7 @@ export function Content() {
|
|
|
1711
1711
|
|
|
1712
1712
|
return (
|
|
1713
1713
|
<Surface id="slot.content">
|
|
1714
|
-
{viewState.type === 'menu' && (
|
|
1714
|
+
{(viewState.type === 'menu') && (
|
|
1715
1715
|
<ui.Menu>
|
|
1716
1716
|
{/* Add ui.MenuItem entries here */}
|
|
1717
1717
|
</ui.Menu>
|
|
@@ -3424,8 +3424,8 @@ var DevApp = ({ token, userId, orgId, options = {} }) => {
|
|
|
3424
3424
|
extensionId: resolvedContext.extensionId,
|
|
3425
3425
|
extensionPort: runResult.extensionPort,
|
|
3426
3426
|
previewPort: runResult.previewPort,
|
|
3427
|
-
manifestWarnings: runResult.manifestWarnings,
|
|
3428
3427
|
devSessionToken: runResult.devSessionToken,
|
|
3428
|
+
manifestWarnings: runResult.manifestWarnings,
|
|
3429
3429
|
onQuit: handleQuit
|
|
3430
3430
|
}
|
|
3431
3431
|
);
|
|
@@ -3444,7 +3444,7 @@ var isValidManifest = (data) => {
|
|
|
3444
3444
|
return false;
|
|
3445
3445
|
}
|
|
3446
3446
|
const m = data;
|
|
3447
|
-
return typeof m.
|
|
3447
|
+
return typeof m.version === "string" && typeof m.name === "string" && m.name.length > 0 && Array.isArray(m.targets) && Array.isArray(m.permissions) && Array.isArray(m.allowedDomains) && (m.settingsSchema === void 0 || Array.isArray(m.settingsSchema));
|
|
3448
3448
|
};
|
|
3449
3449
|
var isExtensionProject = (dir) => {
|
|
3450
3450
|
const manifestPath = join(dir, "packages/extension/public/manifest.json");
|