angular-cn/packages/bazel
Keen Yee Liau 4a92fa9471 refactor(bazel): Create `ng-add` schematic for Bazel (#28436)
The logic to create additional files needed for Bazel are currently
hosted in `ng new`. Such files include the main.*.ts files needed
for AOT and a different angular.json to use Bazel builder, among others.

This commit refactors the logic into `ng add` so that it can be used to
perform the same modifications in an existing project. Users could do so
by running `ng add @angular/bazel`.

With this change, `ng new` effectively becomes an orchestrator that runs
the original `ng new` followed by `ng add @angular/bazel`.

PR Close #28436
2019-02-05 14:40:46 -05:00
..
docs docs(bazel): add skydoc generation (#23544) 2018-08-08 13:12:07 -07:00
src refactor(bazel): Create `ng-add` schematic for Bazel (#28436) 2019-02-05 14:40:46 -05:00
test build: bump year (#27880) 2019-01-11 11:15:59 -08:00
BUILD.bazel refactor(bazel): Create `ng-add` schematic for Bazel (#28436) 2019-02-05 14:40:46 -05:00
check_version.js fix(bazel): fix major/minor semver check between @angular/bazel npm packager version and angular bazel repo version (#27635) 2018-12-13 10:59:14 -08:00
index.bzl build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
package.bzl build: fix bazel protractor tests not capturing console output (#28490) 2019-02-04 16:51:11 -05:00
package.json fix(bazel): Bazel-workspace schematics should run in ScopedTree (#28349) 2019-01-28 12:00:16 -08:00
protractor-utils.js build: idiomatic install of @angular/bazel npm package (#26258) (#26488) 2018-10-19 20:59:29 -07:00
yarn.lock fix(bazel): Bazel-workspace schematics should run in ScopedTree (#28349) 2019-01-28 12:00:16 -08:00