angular-cn/packages/core/schematics/migrations
Paul Gschwendtner c56c2416a9 refactor(core): undecorated-classes-with-decorated-fields migration commits empty updates (#32391)
Commit 904a2018e0 introduced a new migration for
undecorated classes with decorated Angular class members. Currently the migration
always calls `tree.beginUpdate` and `tree.commitUpdate` (even if there are no changes).

This causes unnecessary updates to be reported to developers running `ng update`. Once
an update is commited, the CLI will report the update regardless of whether any changes were
made or not.

This behavior can be observed in the `ng_update_migrations` integration test. See:
https://circleci.com/gh/angular/angular/438470#tests/containers/3. Notice how all
source files are denoted as `UPDATED` (even though there are no changes).

PR Close #32391
2019-08-30 12:46:01 -07:00
..
google3 feat(core): add undecorated classes with decorated fields schematic (#32130) 2019-08-22 10:05:38 -07:00
missing-injectable refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
move-document fix(core): TypeScript related migrations should cater for BOM (#30719) 2019-05-30 20:48:45 -07:00
renderer-to-renderer2 refactor(core): move renderer2 migration lint rule into google3 folder (#31817) 2019-08-09 10:46:45 -07:00
static-queries build: ensure schematics are built with typescript strict flag (#31967) 2019-08-13 11:39:00 -07:00
template-var-assignment refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
undecorated-classes-with-decorated-fields refactor(core): undecorated-classes-with-decorated-fields migration commits empty updates (#32391) 2019-08-30 12:46:01 -07:00
undecorated-classes-with-di refactor(core): undecorated classes migration should not decorate classes if not needed (#32319) 2019-08-28 17:11:36 -07:00