@forge/cli

13.3.0-next.20-experimental-cf2ad4c13.3.0-next.12-experimental-4b981ef-experimental-5b8eb3c
out/command-line/register-app-commands.js
~out/command-line/register-app-commands.jsModified
+4−16
Index: package/out/command-line/register-app-commands.js
===================================================================
--- package/out/command-line/register-app-commands.js
+++ package/out/command-line/register-app-commands.js
@@ -32,9 +32,8 @@
     TemplateContext["JIRA_SERVICE_MANAGEMENT"] = "jira-service-management";
     TemplateContext["CUSTOMER_SERVICE_MANAGEMENT"] = "customer-service-management";
     TemplateContext["TEAMWORK_GRAPH"] = "teamwork-graph";
     TemplateContext["ROVO"] = "rovo";
-    TemplateContext["TRIGGER"] = "trigger";
     TemplateContext["CROSS_CONTEXT"] = "cross-context";
 })(TemplateContext || (exports.TemplateContext = TemplateContext = {}));
 const PRODUCT_OPTIONS = {
     [TemplateContext.SHOW_ALL]: [TemplateContext.SHOW_ALL],
@@ -48,9 +47,8 @@
     [TemplateContext.JIRA_SERVICE_MANAGEMENT]: [TemplateContext.JIRA_SERVICE_MANAGEMENT],
     [TemplateContext.CUSTOMER_SERVICE_MANAGEMENT]: [TemplateContext.CUSTOMER_SERVICE_MANAGEMENT],
     [TemplateContext.TEAMWORK_GRAPH]: [TemplateContext.TEAMWORK_GRAPH],
     [TemplateContext.ROVO]: [TemplateContext.ROVO],
-    [TemplateContext.TRIGGER]: [TemplateContext.TRIGGER],
     [TemplateContext.CROSS_CONTEXT]: [
         TemplateContext.COMPASS,
         TemplateContext.CONFLUENCE,
         TemplateContext.DASHBOARDS,
@@ -279,25 +277,16 @@
     return { name, directory };
 }
 const handleGlobalTemplateSelection = async (ui, directory) => {
     ui.info(cli_shared_1.Text.create.globalTemplateSelection);
-    const globalTemplates = [
-        'global-ui',
-        'global-ui-typescript',
-        'global-full-page-ui-kit',
-        'global-full-page-custom-ui'
-    ];
+    const globalTemplates = ['global-ui', 'global-ui-typescript'];
     const selectedTemplate = await ui.promptForFilterableList(cli_shared_1.Text.create.promptGlobalTemplate, globalTemplates, {
         format: (template) => {
             switch (template) {
                 case 'global-ui':
-                    return 'Global UI (UI Kit)';
+                    return 'global-ui';
                 case 'global-ui-typescript':
-                    return 'Global UI (UI Kit, TypeScript)';
-                case 'global-full-page-ui-kit':
-                    return 'Global Full Page (UI Kit)';
-                case 'global-full-page-custom-ui':
-                    return 'Global Full Page (Custom UI)';
+                    return 'global-ui-typescript';
                 default:
                     return template;
             }
         }
@@ -305,13 +294,12 @@
     if (!directory) {
         directory = selectedTemplate;
         ensureDirectoryDoesntExist(directory);
     }
-    const category = selectedTemplate.includes('custom-ui') ? TemplateCategory.CUSTOM_UI : TemplateCategory.UI_KIT_2;
     return {
         template: selectedTemplate,
         analytics: {
-            category,
+            category: TemplateCategory.UI_KIT_2,
             product: TemplateContext.GLOBAL
         }
     };
 };