Skip to content

Commit

Permalink
Update generator.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Oct 31, 2024
1 parent 5c06188 commit 2372dc4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion generators/ionic/generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class extends BaseApplicationGenerator {
}

await this.dependsOnJHipster('bootstrap-application');
await this.dependsOnJHipster('init', { typescriptEslint: true });
await this.dependsOnJHipster('init');
}

get [BaseApplicationGenerator.INITIALIZING]() {
Expand Down Expand Up @@ -126,6 +126,14 @@ export default class extends BaseApplicationGenerator {
});
}

get [BaseApplicationGenerator.LOADING]() {
return this.asLoadingTaskGroup({
loading({ application }) {
application.typescriptEslint = true;
},
});
}

get [BaseApplicationGenerator.WRITING]() {
return this.asWritingTaskGroup({
async writingTemplateTask({ application }) {
Expand Down

0 comments on commit 2372dc4

Please sign in to comment.