Skip to content

Commit

Permalink
adjust angular for microservice and microfrontend
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jan 4, 2024
1 parent b5e2a37 commit 39dccd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion generators/angular/templates/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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) { _%>
Expand Down
2 changes: 1 addition & 1 deletion generators/workspaces/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 39dccd8

Please sign in to comment.