I would like to call Angular's ng-new schematic first, and then my Rule needs to operate on the results.
so something like:
chain([
externalSchematic('@schematics/angular', 'ng-new', options),
schematic('someRule', options)
])
but this doesn't work. My rule needs the angular.json ngNew is supposed to create and since that obviously doesn't exist when my rule starts, the the rule fails.
So is there way to wait to accomplish either or the following:
a) wait for the external schematic to complete and then run the other schematic b) make the 2nd schematic use the tree returned by the 1st schematic?
So like:
chain([
externalSchematic('@schematics/angular', 'ng-new', options),
mergeWith(apply(source(/* tree created by ng-new */), [
schematic('someStuff', options)
])
)])