diff --git a/docs/generated/packages/angular.json b/docs/generated/packages/angular.json index 7b7c7b7480..f3db715f9a 100644 --- a/docs/generated/packages/angular.json +++ b/docs/generated/packages/angular.json @@ -906,7 +906,8 @@ "type": "string", "description": "The name of the library to create the secondary entry point for.", "x-prompt": "What library would you like to create the secondary entry point for?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "$default": { "$source": "projectName" } }, "skipModule": { "type": "boolean", @@ -948,7 +949,8 @@ }, "host": { "type": "string", - "description": "The name of the host app to attach this remote app to." + "description": "The name of the host app to attach this remote app to.", + "$default": { "$source": "projectName" } }, "port": { "type": "number", @@ -1750,7 +1752,8 @@ "type": "string", "description": "The name of the application to generate the Module Federation configuration for.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What app would you like to generate a Module Federation configuration for?" + "x-prompt": "What app would you like to generate a Module Federation configuration for?", + "x-dropdown": "projects" }, "mfType": { "type": "string", @@ -1869,7 +1872,8 @@ "type": "string", "description": "The name of the project.", "$default": { "$source": "argv", "index": 0 }, - "x-prompt": "What's the name of the project for which you want to generate stories?" + "x-prompt": "What's the name of the project for which you want to generate stories?", + "x-dropdown": "projects" }, "generateCypressSpecs": { "type": "boolean", @@ -1910,7 +1914,8 @@ "name": { "type": "string", "description": "The name of the project.", - "$default": { "$source": "argv", "index": 0 } + "$default": { "$source": "argv", "index": 0 }, + "x-dropdown": "projects" }, "configureCypress": { "type": "boolean", diff --git a/packages/angular/src/generators/library-secondary-entry-point/schema.json b/packages/angular/src/generators/library-secondary-entry-point/schema.json index 87fce89ff9..7a78e71f20 100644 --- a/packages/angular/src/generators/library-secondary-entry-point/schema.json +++ b/packages/angular/src/generators/library-secondary-entry-point/schema.json @@ -20,7 +20,10 @@ "type": "string", "description": "The name of the library to create the secondary entry point for.", "x-prompt": "What library would you like to create the secondary entry point for?", - "pattern": "^[a-zA-Z].*$" + "pattern": "^[a-zA-Z].*$", + "$default": { + "$source": "projectName" + } }, "skipModule": { "type": "boolean", diff --git a/packages/angular/src/generators/remote/schema.json b/packages/angular/src/generators/remote/schema.json index ab4c80d458..23f19e0a5b 100644 --- a/packages/angular/src/generators/remote/schema.json +++ b/packages/angular/src/generators/remote/schema.json @@ -22,7 +22,10 @@ }, "host": { "type": "string", - "description": "The name of the host app to attach this remote app to." + "description": "The name of the host app to attach this remote app to.", + "$default": { + "$source": "projectName" + } }, "port": { "type": "number", diff --git a/packages/angular/src/generators/setup-mf/schema.json b/packages/angular/src/generators/setup-mf/schema.json index 05296e4976..039e31bb94 100644 --- a/packages/angular/src/generators/setup-mf/schema.json +++ b/packages/angular/src/generators/setup-mf/schema.json @@ -13,7 +13,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What app would you like to generate a Module Federation configuration for?" + "x-prompt": "What app would you like to generate a Module Federation configuration for?", + "x-dropdown": "projects" }, "mfType": { "type": "string", diff --git a/packages/angular/src/generators/stories/schema.json b/packages/angular/src/generators/stories/schema.json index bc5d4147b6..672a361516 100644 --- a/packages/angular/src/generators/stories/schema.json +++ b/packages/angular/src/generators/stories/schema.json @@ -13,7 +13,8 @@ "$source": "argv", "index": 0 }, - "x-prompt": "What's the name of the project for which you want to generate stories?" + "x-prompt": "What's the name of the project for which you want to generate stories?", + "x-dropdown": "projects" }, "generateCypressSpecs": { "type": "boolean", diff --git a/packages/angular/src/generators/storybook-configuration/schema.json b/packages/angular/src/generators/storybook-configuration/schema.json index 24f4675a99..a46cc706e3 100644 --- a/packages/angular/src/generators/storybook-configuration/schema.json +++ b/packages/angular/src/generators/storybook-configuration/schema.json @@ -12,7 +12,8 @@ "$default": { "$source": "argv", "index": 0 - } + }, + "x-dropdown": "projects" }, "configureCypress": { "type": "boolean",