Skip to content

Commit

Permalink
drop page generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 25, 2023
1 parent 9b101c4 commit 96e783b
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 679 deletions.
16 changes: 0 additions & 16 deletions generators/app/generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
GENERATOR_APP,
GENERATOR_COMMON,
GENERATOR_CLIENT,
GENERATOR_PAGE,
GENERATOR_SERVER,
GENERATOR_BOOTSTRAP_APPLICATION_BASE,
} from '../generator-list.mjs';
Expand Down Expand Up @@ -148,21 +147,6 @@ export default class JHipsterAppGenerator extends BaseApplicationGenerator {
throw new Error('Entities cannot be generated as the entity suffix and DTO suffix are equals !');
}
},

async composePages() {
if (!this.jhipsterConfig.pages || this.jhipsterConfig.pages.length === 0) return;
await Promise.all(
this.jhipsterConfig.pages.map(page => {
return this.composeWithJHipster(page.generator || GENERATOR_PAGE, {
generatorArgs: [page.name],
generatorOptions: {
skipInstall: true,
page,
},
});
}),
);
},
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,21 +614,6 @@ exports[`generator - generate-blueprint with all option should match snapshot 1`
"generators/openapi-client/templates/template-file-openapi-client.ejs": {
"stateCleared": "modified",
},
"generators/page/command.mjs": {
"stateCleared": "modified",
},
"generators/page/generator.mjs": {
"stateCleared": "modified",
},
"generators/page/generator.spec.mjs": {
"stateCleared": "modified",
},
"generators/page/index.mjs": {
"stateCleared": "modified",
},
"generators/page/templates/template-file-page.ejs": {
"stateCleared": "modified",
},
"generators/project-name/command.mjs": {
"stateCleared": "modified",
},
Expand Down
1 change: 0 additions & 1 deletion generators/generator-list.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export const GENERATOR_LANGUAGES = 'languages';
export const GENERATOR_LIQUIBASE = 'liquibase';
export const GENERATOR_MAVEN = 'maven';
export const GENERATOR_OPENAPI_CLIENT = 'openapi-client';
export const GENERATOR_PAGE = 'page';
export const GENERATOR_PROJECT_NAME = 'project-name';
export const GENERATOR_REACT = 'react';
export const GENERATOR_SERVER = 'server';
Expand Down
74 changes: 0 additions & 74 deletions generators/page/files-vue.mjs

This file was deleted.

168 changes: 0 additions & 168 deletions generators/page/generator.mjs

This file was deleted.

40 changes: 0 additions & 40 deletions generators/page/generator.spec.mjs

This file was deleted.

19 changes: 0 additions & 19 deletions generators/page/index.mts

This file was deleted.

Loading

0 comments on commit 96e783b

Please sign in to comment.