angular/packages/compiler-cli/ngcc/src
George Kalpakas e367593a26 refactor(ngcc): support running callback before writing transformed files (#36626)
This commit enhances the `CompileFn`, which is used to process each
entry-point, to support running a passed-in callback (and wait for it to
complete) before proceeding with writing the transformed files to disk.

This functionality is currently not used. In a subsequent commit, it
will be used for passing info from worker processes to the master
process that will allow ngcc to recover when a worker process crashes in
the middle of processing a task.

PR Close #36626
2020-04-29 14:28:26 -07:00
..
analysis fix(ngcc): recognize enum declarations emitted in JavaScript (#36550) 2020-04-28 15:59:57 -07:00
dependencies refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00
entry_point_finder refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00
execution refactor(ngcc): support running callback before writing transformed files (#36626) 2020-04-29 14:28:26 -07:00
host fix(ngcc): recognize enum declarations emitted in JavaScript (#36550) 2020-04-28 15:59:57 -07:00
locking fix(ngcc): do not use cached file-system (#36687) 2020-04-17 16:33:48 -04:00
logging style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
migrations style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
packages refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00
rendering fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
sourcemaps fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
writing style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
command_line_options.ts fix(ngcc): do not use cached file-system (#36687) 2020-04-17 16:33:48 -04:00
constants.ts refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
main.ts fix(ngcc): do not run in parallel mode if there are less than 3 CPU cores (#36626) 2020-04-29 14:28:25 -07:00
ngcc_options.ts refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00
utils.ts refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00