Skip to content

Tell users what migrations were actually performed instead of what was considered #24488

Closed
@StephenFluin

Description

@StephenFluin

Command

update

Description

Currently ng update does a good job of telling you which migrations the CLI is attempting to apply, but you don't know which migrations actually were applied.

Describe the solution you'd like

I'd love it if the migrations reports / logs actually logged what changes were made. Example console output before:

UPDATE angular.json (3617 bytes)
  Migration completed.

▸ Remove 'showCircularDependencies' option from browser and server builders.
  Migration completed.

▸ Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'.
  Migration completed.

▸ Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'.

Example after:

UPDATE angular.json (3617 bytes)
  Migration completed - no changes made.

▸ Remove 'showCircularDependencies' option from browser and server builders.
  Migration completed - no changes made.

▸ Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'.
  Migration completed - 3 updates made.

▸ Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'.
Migration completed - 15 updates made.

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions