angular-cn/packages/compiler-cli/ngcc/test
JoostK b70746a113 fix(ivy): ngcc - prevent crash when analyzed target is ignored (#31872)
ngcc analyzes the dependency structure of the entrypoints it needs to
process, as the compilation of entrypoints is ordering sensitive: any
dependent upon entrypoint must be compiled before its dependees. As part
of the analysis of the dependency graph, it is detected when a
dependency of entrypoint is not installed, in which case that entrypoint
will be marked as ignored.

When a target entrypoint to compile is provided, it could occur that
given target is considered ignored because one of its dependencies might
be missing. This situation was not dealt with currently, instead
resulting in a crash of ngcc.

This commit prevents the crash by taking the above scenario into account.

PR Close #31872
2019-08-05 13:06:49 -07:00
..
analysis feat(ivy): ngcc - support ngcc "migrations" (#31544) 2019-07-23 21:11:40 -07:00
dependencies fix(ivy): ngcc - prevent crash when analyzed target is ignored (#31872) 2019-08-05 13:06:49 -07:00
entry_point_finder fix(ivy): ngcc - handle pathMappings to files rather then directories (#30525) 2019-07-09 09:40:46 -07:00
helpers fix(ivy): ngcc - recognize suffixed tslib helpers (#31614) 2019-07-29 16:10:58 -07:00
host fix(ivy): ngcc - render decorators in UMD and CommonJS bundles correctly (#31614) 2019-07-29 16:10:58 -07:00
integration fix(ivy): ngcc - correctly detect formats processed in previous runs (#32003) 2019-08-05 12:54:17 -07:00
logging feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
migrations feat(ivy): ngcc - implement `UndecoratedParentMigration` (#31544) 2019-07-23 21:11:40 -07:00
packages perf(ivy): ngcc - avoid unnecessary file-write operations when marking properties as processed (#32003) 2019-08-05 12:54:17 -07:00
rendering fix(ivy): ngcc emits static fields before extra statements (#31933) 2019-08-01 10:45:36 -07:00
writing refactor(ivy): ngcc - pass whole entry-point object to `makeEntryPointBundle()` (#30591) 2019-06-26 08:00:03 -07:00
BUILD.bazel feat(ivy): ngcc - support ngcc "migrations" (#31544) 2019-07-23 21:11:40 -07:00
utils_spec.ts refactor(ivy): ngcc - implement new module resolver (#29643) 2019-04-29 12:37:21 -07:00