This is in Alpha and depends on un-released version of Angular. There may be breaking changes.
Mac: brew install bazel
Other platforms, see Bazel installation instructions.
$ bazel run @yarn//:yarn
$ bazel build srcNote: there is a "watch mode" for Bazel available at https://github.com/bazelbuild/bazel-watcher
Notes:
- we use bazel to run yarn simply to be sure we get the same versions of Node and Yarn as CI and co-workers (hermeticity FTW)
- a
postinstalltask in thepackage.jsonprepares thenode_modulesdirectory by running the Angular compiler on third_party libraries (such as Angular itself) since these do not ship with generated code (eg.ngfactorys)