angular-cn/packages/bazel
Tobias Bosch a8a9660112 fix(compiler): various squashed fixes for the new ngc
introduce the option `allowEmptyCodegenFiles` to generate all generated files,
even if they are empty.
- also provides the original source files from which the file was generated
  in the write file callback
- needed e.g. for G3 when copying over pinto mod names from the original component
  to all generated files

use `importAs` from flat modules when writing summaries
- i.e. prevents incorrect entries like @angular/common/common in the .ngsummary.json files.

change interaction between ng and ts to prevent race conditions
- before Angular would rely on TS to first read the file for which we generate files,
  and then the generated files. However, this can break easily when we reuse an old program.

don’t generate files for sources that are outside of `rootDir`
(see #19337)
2017-09-25 13:36:00 -07:00
..
src fix(compiler): various squashed fixes for the new ngc 2017-09-25 13:36:00 -07:00
BUILD.bazel refactor(compiler-cli): move ngc-wrapped to packages/bazel (#18733) 2017-08-23 11:34:51 -05:00
WORKSPACE build: upgrade to latest bazel rules (#18733) 2017-08-23 11:34:52 -05:00
index.bzl refactor(compiler-cli): move ngc-wrapped to packages/bazel (#18733) 2017-08-23 11:34:51 -05:00
package.json build: update to latest @bazel/typescript (#19277) 2017-09-25 12:40:22 -07:00