Skip to content

Commit 3621e08

Browse files
committed
rollback the use of constant
1 parent 02c7e37 commit 3621e08

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

generators/app/command.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919
import type { JHipsterCommandDefinition } from '../../lib/command/index.ts';
2020
import {
21-
GENERATOR_BASE,
2221
GENERATOR_BOOTSTRAP,
2322
GENERATOR_BOOTSTRAP_APPLICATION_BASE,
2423
GENERATOR_CLIENT,
@@ -80,7 +79,7 @@ const command = {
8079
},
8180
},
8281
import: [
83-
GENERATOR_BASE,
82+
'base',
8483
GENERATOR_BOOTSTRAP,
8584
GENERATOR_BOOTSTRAP_APPLICATION_BASE,
8685
'jhipster:jdl:bootstrap',

generators/app/generators/bootstrap/generator.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import assert from 'node:assert';
2121
import { validations } from '../../../../lib/jhipster/index.ts';
2222
import BaseApplicationGenerator from '../../../base-application/index.ts';
2323
import { stringifyApplicationData } from '../../../base-application/support/index.ts';
24-
import { GENERATOR_CLIENT, GENERATOR_SERVER } from '../../../generator-list.ts';
2524
import type { Application, Entity, Field } from '../../types.d.ts';
2625

2726
const {
@@ -39,8 +38,8 @@ export default class BootstrapApplicationGenerator extends BaseApplicationGenera
3938
throw new Error('Only sbs blueprint is supported');
4039
}
4140

42-
await this.dependsOnBootstrap(GENERATOR_CLIENT);
43-
await this.dependsOnBootstrap(GENERATOR_SERVER);
41+
await this.dependsOnBootstrap('client');
42+
await this.dependsOnBootstrap('server');
4443
}
4544

4645
get preparing() {

0 commit comments

Comments
 (0)