angular/packages/compiler-cli/ngcc/src
Pete Bacon Darwin eb5412d76f fix(ivy): reuse compilation scope for incremental template changes. (#31932)
Previously if only a component template changed then we would know to
rebuild its component source file. But the compilation was incorrect if the
component was part of an NgModule, since we were not capturing the
compilation scope information that had a been acquired from the NgModule
and was not being regenerated since we were not needing to recompile
the NgModule.

Now we register compilation scope information for each component, via the
`ComponentScopeRegistry` interface, so that it is available for incremental
compilation.

The `ComponentDecoratorHandler` now reads the compilation scope from a
`ComponentScopeReader` interface which is implemented as a compound
reader composed of the original `LocalModuleScopeRegistry` and the
`IncrementalState`.

Fixes #31654

PR Close #31932
2019-08-09 10:50:40 -07:00
..
analysis fix(ivy): reuse compilation scope for incremental template changes. (#31932) 2019-08-09 10:50:40 -07:00
dependencies refactor(ivy): ngcc - make EntryPointJsonProperty-related types and checks a little more strict (#32052) 2019-08-08 11:14:38 -07:00
entry_point_finder fix(ivy): ngcc - handle pathMappings to files rather then directories (#30525) 2019-07-09 09:40:46 -07:00
execution fix(ivy): ngcc - correctly update package.json when createNewEntryPointFormats is true (#32052) 2019-08-08 11:14:38 -07:00
host fix(ivy): ngcc - render decorators in UMD and CommonJS bundles correctly (#31614) 2019-07-29 16:10:58 -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 feat(ivy): show error when trying to publish NGCC'd packages (#32031) 2019-08-08 11:17:38 -07:00
rendering fix(ivy): ngcc emits static fields before extra statements (#31933) 2019-08-01 10:45:36 -07:00
writing fix(ivy): ngcc - correctly update package.json when createNewEntryPointFormats is true (#32052) 2019-08-08 11:14:38 -07:00
constants.ts refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
main.ts fix(ivy): ngcc - correctly update package.json when createNewEntryPointFormats is true (#32052) 2019-08-08 11:14:38 -07:00
utils.ts fix(ivy): ngcc - recognize suffixed tslib helpers (#31614) 2019-07-29 16:10:58 -07:00