tree: ccfe4b14f1b815dddba8826d82d05e8e20c20373 [path history] [tgz]
  1. e2e/
  2. patches/
  3. projects/
  4. src/
  5. .bazelignore
  6. .bazelrc
  7. .browserslistrc
  8. .gitignore
  9. angular.json
  10. BUILD.bazel
  11. dummy_test.sh
  12. karma.conf.js
  13. package.json
  14. README.md
  15. tsconfig.app.json
  16. tsconfig.json
  17. tsconfig.spec.json
  18. tslint.json
  19. WORKSPACE
  20. yarn.lock
examples/angular_bazel_architect/README.md

Angular Bazel Architect

There are a few ways to use Angular with Bazel. See https://bazelbuild.github.io/rules_nodejs/examples#angular for an overview of all the options.

This example showcases building and testing a project with the Angular CLI. Instead of using the Angular CLI directly we use Architect here, which is the lower level api for the Angular CLI.

This requires one patch, which can be found under ./patches. This patch adjusts how the architect-cli prints stdio so that when running under Bazel you don't lose your logs.