angular-docs-cn/packages/compiler-cli/test
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
..
diagnostics build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
metadata fix(compiler): collect non exported symbols in d.ts files (#19301) 2017-09-21 09:59:40 -07:00
transformers fix(compiler): various squashed fixes for the new ngc 2017-09-25 13:36:00 -07:00
aot_host_spec.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
extract_i18n_spec.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
mocks.ts perf(compiler): make the creation of `ts.Program` faster. (#19275) 2017-09-19 16:55:23 -07:00
ngc_spec.ts fix(compiler): various squashed fixes for the new ngc 2017-09-25 13:36:00 -07:00
perform_watch_spec.ts build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
test_support.ts perf(compiler): speed up watch mode (#19275) 2017-09-19 16:55:23 -07:00