angular-cn/packages/bazel/src
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
..
builders fix(bazel): Bazel builder resolves with require.resolve() (#28478) 2019-02-01 13:56:53 -05:00
ng_package fix(bazel): packager not properly removing amd directives on windows (#27829) 2019-01-07 14:46:46 -08:00
ngc-wrapped fix(bazel): also pass afterDeclarations transformers to emitWithTsickle (#28342) 2019-01-29 12:00:55 -08:00
protractor refactor: fix code style (#28203) 2019-01-23 10:58:38 -08:00
schematics refactor(bazel): Create `ng-add` schematic for Bazel (#28436) 2019-02-05 14:40:46 -05:00
BUILD.bazel build(bazel): Use local rollup & build-optimizer for ng_rollup_bundle (#28215) 2019-01-18 09:07:52 -08:00
esm5.bzl fix(bazel): incorrectly always uses ngc-wrapped from "npm" workspace (#28137) 2019-01-14 14:12:18 -08:00
external.bzl refactor(bazel): allow google3 overrides for external deps (#26488) 2018-10-19 20:59:29 -07:00
modify_tsconfig.js fix(bazel): do not throw error when writing tsickle externs (#27200) 2018-12-04 14:01:24 -08:00
ng_module.bzl fix(bazel): increase node memory limit for ng_module rule to prevent OOM for big modules (#28237) 2019-01-18 09:06:54 -08:00
ng_rollup_bundle.bzl build(bazel): Use local rollup & build-optimizer for ng_rollup_bundle (#28215) 2019-01-18 09:07:52 -08:00
ng_setup_workspace.bzl build: review comments addressed (#26488) 2018-10-19 20:59:29 -07:00