Skip to content

Commit

Permalink
adjust blueprint generator scheduling (#25445)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Marcelo Shima <[email protected]>
  • Loading branch information
dwarakaprasad and mshima authored Mar 9, 2024
1 parent a2ba4e6 commit 89e9e7b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions generators/base/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ export default class JHipsterBaseBlueprintGenerator<

const finalOptions: ComposeOptions = {
forwardOptions: true,
schedule: generator => (generator as any).sbsBlueprint,
...extraOptions,
generatorOptions: {
jhipsterContext: this,
Expand Down
30 changes: 29 additions & 1 deletion test-integration/generate-blueprint-samples/default/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,40 @@
],
"sbs": false,
"written": true
},
"angular": {
"command": true,
"priorities": [
"initializing",
"prompting",
"configuring",
"composing",
"loading",
"preparing",
"configuringEachEntity",
"loadingEntities",
"preparingEachEntity",
"preparingEachEntityField",
"preparingEachEntityRelationship",
"postPreparingEachEntity",
"default",
"writing",
"writingEntities",
"postWriting",
"postWritingEntities",
"loadingTranslations",
"install",
"postInstall",
"end"
],
"sbs": false,
"written": true
}
},
"jhipsterVersion": "7.5.0",
"mainGenerator": "generate-blueprint",
"prettierDefaultIndent": 2,
"projectName": "CiTest",
"subGenerators": ["client", "common", "cypress", "server", "jdl", "spring-data-relational", "languages"]
"subGenerators": ["client", "common", "cypress", "server", "jdl", "spring-data-relational", "languages", "angular"]
}
}

0 comments on commit 89e9e7b

Please sign in to comment.