Skip to content

bug(COMPONENT): Angular 20 Migration issue #31259

Closed
@dinesh250-star

Description

@dinesh250-star

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

While migrating from angular material 19 to 20, on cli there is a message that says -

"UPDATE some/dummy/file/path1 (869 bytes)
UPDATE some/dummy/file/path2 (7981 bytes)
UPDATE some/dummy/file/path2018 (7981 bytes)
UPDATE some/dummy/file/path2019 (194 bytes)

Migration completed (2109 files modified)."

But on my git I can only see 25 file that have been modified from the script. Is this a bug? Or what is being updated?

Reproduction

StackBlitz link:
Steps to reproduce:

  1. ng update @angular/core@20 @angular/cli@20
    2.ng update @angular/material@20

Expected Behavior

It should have given me exactly 25 files modified message in my cli

Actual Behavior

But it gave 2019 file modified message in cli

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: ng-updateIssues related to `ng-update` integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions