diff --git a/packages/cli-common/src/knownPluginPackages.ts b/packages/cli-common/src/knownPluginPackages.ts index 2566247bd8..43e33f4cc2 100644 --- a/packages/cli-common/src/knownPluginPackages.ts +++ b/packages/cli-common/src/knownPluginPackages.ts @@ -15,6 +15,7 @@ */ const knownBackendPluginIds = [ + 'app', 'auth', 'catalog', 'events', @@ -28,7 +29,7 @@ const knownBackendPluginIds = [ 'techdocs', ]; -// Some plugin IDs only have backend packages and no corresponding frontend package +// Only includes plugin IDs that have a corresponding frontend package; some plugins are backend-only and not listed here. const knownFrontendPluginIds = [ 'app', 'auth', diff --git a/packages/cli-module-new/src/lib/preparation/collectPortableTemplateInput.ts b/packages/cli-module-new/src/lib/preparation/collectPortableTemplateInput.ts index 8ba29ba152..14b6e77e89 100644 --- a/packages/cli-module-new/src/lib/preparation/collectPortableTemplateInput.ts +++ b/packages/cli-module-new/src/lib/preparation/collectPortableTemplateInput.ts @@ -274,7 +274,7 @@ export function ownerPrompt(): DistinctQuestion { } // Based on the same pattern as namePrompt/pluginIdPrompt, but extended to support npm scopes -// and additional allowed characters ('.' and '_'). Matches: @scope/package-name, @scope/package, +// and additional allowed characters ('.' and '_'). Matches examples like: package-name, my.package_name, @scope/package-name, @scope/package. const packageNamePattern = /^[a-z0-9][a-z0-9._-]*$/; const scopedPackageNamePattern = /^@[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._-]*$/;