angular/packages
Alex Rickabaugh adc663e43b fix(ivy): correctly emit component when it's removed from its module (#34912)
This commit fixes a bug in the incremental rebuild engine of ngtsc, where if
a component was removed from its NgModule, it would not be properly
re-emitted.

The bug stemmed from the fact that whether to emit a file was a decision
based purely on the updated dependency graph, which captures the dependency
structure of the rebuild program. This graph has no edge from the component
to its former module (as it was removed, of course), so the compiler
erroneously decides not to emit the component.

The bug here is that the compiler does know, from the previous dependency
graph, that the component file has logically changed, since its previous
dependency (the module file) has changed. This information was not carried
forward into the set of files which need to be emitted, because it was
assumed that the updated dependency graph was a more accurate source of that
information.

With this commit, the set of files which need emit is pre-populated with the
set of logically changed files, to cover edge cases like this.

Fixes #34813

PR Close #34912
2020-01-23 13:30:11 -08:00
..
animations test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
bazel build: upgrade to bazel 2.0.0 (#34877) 2020-01-23 10:05:06 -08:00
benchpress build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
common test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
compiler test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
compiler-cli fix(ivy): correctly emit component when it's removed from its module (#34912) 2020-01-23 13:30:11 -08:00
core test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
docs refactor(core): remove deprecated Renderer (#33019) 2019-10-08 09:23:00 -07:00
elements test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
examples build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
forms test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
http build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
language-service feat(language-service): specific suggestions for template context diags (#34751) 2020-01-23 12:25:43 -08:00
localize test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
platform-browser test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
platform-browser-dynamic test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
platform-server test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
platform-webworker build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
platform-webworker-dynamic build: set up all packages to publish via wombot proxy (#33747) 2019-11-13 11:34:33 -08:00
private/testing build: migrate determining if Ivy is enabled in typescript genrule files to use angular_ivy_enabled (#33983) 2019-11-26 16:38:41 -05:00
router test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
service-worker test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
upgrade test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
zone.js build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
empty.ts
goog.d.ts fix(ivy): use goog.LOCALE for Closure Compiler to define default LOCALE_ID (#31519) 2019-07-16 13:02:10 -04:00
license-banner.txt build: bump year (#34651) 2020-01-13 07:21:43 -08:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
system.d.ts
tsconfig-build-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json build: consolidate @angular-devkit/build-angular to the root package.json (#34002) 2019-12-02 10:49:13 -08:00
types.d.ts build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT