angular-docs-cn/packages/compiler-cli/test/transformers
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
..
compiler_host_spec.ts fix(compiler): various squashed fixes for the new ngc 2017-09-25 13:36:00 -07:00
lower_expressions_spec.ts fix(compiler-cli): do not validate metadata from declaration files (#19324) 2017-09-25 12:36:08 -07:00
node_emitter_spec.ts fix(compiler): quote non identifiers in map keys. (#18788) 2017-08-28 18:46:43 -05:00
program_spec.ts fix(compiler): various squashed fixes for the new ngc 2017-09-25 13:36:00 -07:00