diff --git a/generators/angular/templates/package.json.ejs b/generators/angular/templates/package.json.ejs index db856ce73b3a..370abc75471a 100644 --- a/generators/angular/templates/package.json.ejs +++ b/generators/angular/templates/package.json.ejs @@ -65,8 +65,10 @@ <%_ if (skipServer) { _%> "sonar-scanner": "3.1.0", <%_ } _%> -<%_ if (microfrontend && applicationTypeGateway) { _%> +<%_ if (microfrontend) { _%> + <%_ if (applicationTypeGateway) { _%> "@angular-architects/module-federation-runtime": "<%= nodeDependencies['@angular-architects/module-federation-runtime'] %>", + <%_ } _%> "@angular-architects/module-federation": "<%= nodeDependencies['@angular-architects/module-federation'] %>", <%_ } _%> <%_ if (communicationSpringWebsocket) { _%> diff --git a/generators/workspaces/generator.js b/generators/workspaces/generator.js index a6b7cab6568b..8ea030f44d0a 100644 --- a/generators/workspaces/generator.js +++ b/generators/workspaces/generator.js @@ -69,7 +69,7 @@ export default class WorkspacesGenerator extends BaseWorkspacesGenerator { return this.asConfiguringTaskGroup({ checkWorkspaces() { if (this.generateWorkspaces && !this.jhipsterConfig.monorepository) { - throw new Error('Workspaces option is only supported in monorepositories or skipping git.'); + throw new Error('Workspaces option is only supported in monorepositories.'); } }, async configure() {