@forge/cli-shared

9.1.1-next.29.2.0-next.3
out/ui/text.js
~out/ui/text.jsModified
+1
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -1634,8 +1634,9 @@
             errorNonInteractiveMissingModuleType: 'Provide -t/--module-type to add a module non-interactively when using --variables.',
             errorNonInteractiveSummary: (errors) => `Couldn't add the module in non-interactive mode. Resolve the following issues and re-run the command:\n\n${errors.join('\n\n')}`,
             errorResourceEntryConflict: (resourceKey, entryName, existing, incoming) => `Resource '${resourceKey}' already declares entry '${entryName}' as '${existing}', but the new module expects '${incoming}'. Choose a different moduleKey or remove the existing entry.`,
             errorResourcePathConflict: (resourceKey, existing, incoming) => `Resource '${resourceKey}' already declares path '${existing}', but the new module expects '${incoming}'. Resources sharing a key must share a path.`,
+            errorDuplicateResource: (resourceKey) => `Resource '${resourceKey}' already exists. This module type builds a single-entry app per resource and can't share a resource with another module. Choose a different resourceKey.`,
             errorManifestNotAMap: 'Cannot merge into manifest.yml: its root must be a YAML mapping.'
         },
         list: {
             description: '[Preview] list available module templates',