We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a636a9a commit d4d966aCopy full SHA for d4d966a
cli/cli.cjs
@@ -8,6 +8,7 @@ const { version, bin } = require('../package.json');
8
const packagePath = dirname(__dirname);
9
const packageFolderName = basename(packagePath);
10
const devBlueprintPath = join(packagePath, '.blueprint');
11
+const blueprint = packageFolderName.startsWith('jhipster-') ? `generator-${packageFolderName}` : packageFolderName;
12
13
(async () => {
14
const { runJHipster, done, logger } = await import('generator-jhipster/cli');
@@ -20,7 +21,7 @@ const devBlueprintPath = join(packagePath, '.blueprint');
20
21
defaultCommand: 'app',
22
devBlueprintPath,
23
blueprints: {
- [packageFolderName]: version,
24
+ [blueprint]: version,
25
},
26
printLogo: () => {},
27
printBlueprintLogo: () => {
0 commit comments