You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeoman composeWith has option to pass options object from main generator to sub generator. The options must be provided as parameter in composeWith call
Yeoman has run loop priority where Initializing comes before Prompting
#Problem
If we want to provide options for sub-generator, then composeWith must be called after main-generator completes prompting.
If we composeWith, after main-generator prompting, (let say writing() of the main-generator) - then the run loop will put sub-generator prompting() , in higher priority - causing user needs to press Enter twice on the second question during sub-generator prompting.
#Question
Is there any strategy, that we can define composeWith during Initializating() and provide reference to the future options after main-generator prompting() ?
#Backgound
#Problem
#Question