@forge/cli-shared

8.25.0-next.5-experimental-44b7a128.25.0-next.6
out/ui/text.js
~out/ui/text.jsModified
+18−4
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -321,18 +321,27 @@
         createInProgress: 'Creating your Developer Space...',
         contributingToSpace: (name) => `${greenTick} You are contributing to this Developer Space: ${name}.\n`,
         assigningToSpace: (name) => `${greenTick} You are assigning your app to this Developer Space: ${name}.\n`,
         createdAndContributing: (name) => `A Developer Space has been created for you. You are contributing to this Developer Space: ${name}.`,
-        invalidSpaceName: (spaceName) => `The Developer Space does not exist, or you don't have the correct permissions to access it.`,
-        invalidSpaceId: (spaceId) => `Developer Space id is not a valid UUID.`,
+        invalidSpaceName: (spaceName) => {
+            void spaceName;
+            return `The Developer Space does not exist, or you don't have the correct permissions to access it.`;
+        },
+        invalidSpaceId: (spaceId) => {
+            void spaceId;
+            return `Developer Space id is not a valid UUID.`;
+        },
         error: {
             fetchOrSelect: (errorMessage) => `Failed to fetch or select Developer Space: ${errorMessage}`,
             create: (errorMessage) => `Failed to create Developer Space: ${errorMessage}`,
             selectedNotFound: 'Selected Developer Space not found'
         },
         appEnforcementsWarnings: {
             appNotAssignedToDeveloperSpaceWarning: `${chalk_1.default.bold('Warning:')} This app is not assigned to a Developer Space. ${buildTerminalLabeledLink('Assign it now', 'https://developer.atlassian.com/platform/forge/developer-space/developer-space-apps/')} to avoid ${buildTerminalLabeledLink('functionality limits', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#developer-space-setup-and-app-limits')}.\n`,
-            developerSpaceSetupIncomplete: (_command) => `${chalk_1.default.bold('Warning:')} Marketplace admin action required: Complete the ${buildTerminalLabeledLink('Developer Space setup', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#who-can-create-a-developer-space')} to avoid ${buildTerminalLabeledLink('functionality limits', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#developer-space-setup-and-app-limits')}.\n`,
+            developerSpaceSetupIncomplete: (command) => {
+                void command;
+                return `${chalk_1.default.bold('Warning:')} Marketplace admin action required: Complete the ${buildTerminalLabeledLink('Developer Space setup', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#who-can-create-a-developer-space')} to avoid ${buildTerminalLabeledLink('functionality limits', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#developer-space-setup-and-app-limits')}.\n`;
+            },
             developerSpaceSetupIncompleteLink: (developerSpaceId) => chalk_1.default.yellow(`Share this link with a Marketplace admin so they can finish setup:\n` +
                 `    - Developer Space: ${buildTerminalLink(`https://developer.atlassian.com/console/developer-space/${developerSpaceId}`)}`)
         },
         terms: {
@@ -1617,10 +1626,15 @@
             errorResourcePathConflict: (resourceKey, existing, incoming) => `Resource '${resourceKey}' already declares path '${existing}', but the new module wants '${incoming}'. Resources sharing a key must share a path.`
         },
         list: {
             description: 'list available module templates',
+            empty: 'No module templates found.',
+            promptSelectModule: 'select a module',
+            errorFailedToResolveModule: (moduleKey) => `Failed to resolve selected module: ${moduleKey}`,
+            optionPrefix: 'filter by module key prefix (e.g. jira:, jira:issuePanel, confluence:)',
             optionProduct: 'filter by product (Jira, Jira Service Management, Confluence, etc.)',
-            optionUiType: 'filter by UI framework (ui-kit, custom-ui)'
+            optionUiType: 'filter by UI framework (ui-kit, custom-ui)',
+            noneUi: 'none'
         },
         info: {
             description: 'show details about a module template',
             optionModuleType: 'module key or template name, (e.g. jira:issuePanel, confluence:macro, etc.)',