@forge/cli-shared
9.7.0-next.239.7.0-next.24
out/apps/create-an-app.js~
out/apps/create-an-app.jsModified+2−2
Index: package/out/apps/create-an-app.js
===================================================================
--- package/out/apps/create-an-app.js
+++ package/out/apps/create-an-app.js
@@ -18,9 +18,9 @@
this.registerAppCommand = registerAppCommand;
this.packageInstaller = packageInstaller;
this.statsig = statsig;
}
- async execute({ name, description, template, directory, requiredProduct, developerSpaceId, billingConsent, appFeatures }) {
+ async execute({ name, description, template, directory, compatibility, developerSpaceId, billingConsent, appFeatures }) {
await this.templater.downloadAndExtract(template, directory);
const result = await this.registerAppCommand.registerApp({
name,
description,
@@ -28,9 +28,9 @@
billingConsent,
...(appFeatures && { appFeatures })
}, directory, {
shouldPrependAppName: true,
- requiredProduct
+ compatibility
});
await this.packageInstaller.install(directory);
return {
analytics: { template, appId: result.id, appName: name },