build(docs-infra): exit with an error code if generating StackBlitz examples fails (#41725)
build(docs-infra): exit with an error code if generating StackBlitz examples fails (#41725)

Previously, failing to generate one or more StackBlitz examples would
log the errors but exit the command successfully. This made it easy to
miss such failures.

This commit fixes this by exiting the process with an error code if
generating one or more StackBlitz examples fails.
(In order to be able to see all potential errors, all examples are
attempted to be generated before exiting the process.)

PR Close #41725

angular-indonesia/angular,shairez/angular,ocombe/angular,shairez/angular,shairez/angular,manekinekko/angular,JiaLiPassion/angular,gnomeontherun/angular,manekinekko/angular,gnomeontherun/angular,angular/angular,brandonroberts/angular,angular/angular,ocombe/angular,brandonroberts/angular,angular/angular,mgechev/angular,mgechev/angular,angular-indonesia/angular,gkalpak/angular,ocombe/angular,manekinekko/angular,shairez/angular,gnomeontherun/angular,ocombe/angular,gnomeontherun/angular,manekinekko/angular,brandonroberts/angular,angular-indonesia/angular,JiaLiPassion/angular,angular/angular,brandonroberts/angular,JiaLiPassion/angular,ocombe/angular,manekinekko/angular,shairez/angular,brandonroberts/angular,gkalpak/angular,angular-indonesia/angular,manekinekko/angular,JiaLiPassion/angular,mgechev/angular,brandonroberts/angular,gkalpak/angular,mgechev/angular,ocombe/angular,gkalpak/angular,mgechev/angular