angular/packages/compiler-cli/ngcc/test
George Kalpakas 7db269ba6a fix(ivy): ngcc - correctly detect formats processed in previous runs (#32003)
Previously, `ngcc` would avoid processing a `formatPath` that a property
in `package.json` mapped to, if either the _property_ was marked as
processed or the `formatPath` (i.e. the file(s)) was processed in the
same `ngcc` run (since the `compiledFormats` set was not persisted
across runs).
This could lead in a situation where a `formatPath` would be compiled
twice (if for example properties `a` and `b` both mapped to the same
`formatPath` and one would run `ngcc` for property `a` and then `b`).

This commit fixes it by ensuring that as soon as a `formatPath` has been
processed all corresponding properties are marked as processed (which
persists across `ngcc` runs).

PR Close #32003
2019-08-05 12:54:17 -07:00
..
analysis feat(ivy): ngcc - support ngcc "migrations" (#31544) 2019-07-23 21:11:40 -07:00
dependencies fix(ivy): ngcc - resolve main property paths correctly (#31509) 2019-07-12 11:37:35 -04: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