Streamlining the migration experience #29178
Labels
area: @angular/cli
feature: in backlog
Feature request for which voting has completed and is now in the backlog
feature
Issue that requests a new feature
ng update DX
Command
update
Description
I might be missing something but it seems to me that Angular provides three kinds of "migrations":
update-workspace-config
)use-application-builder
)signal-input-migration
)While everything works perfectly, like Swiss clocks, the CLI could provide a more unified experience to thwart the following limitations :
ng update
to list which packages could be updated before running the same command with the packages they want to updateng update --migrate-only --from [previous_version]
ng g @angular/core: --help
Nothing to be done.
)Describe the solution you'd like
It would be nice if
ng update
could:Hopefully, this should reduce the cognitive load for users.
It would be nice also to consider Nx compatibility. Right now, Nx does not have an "optional" migration concept so the
optional
flag is ignored.As an additional input, here is how Nx handles migration opt-outs: https://nx.dev/recipes/tips-n-tricks/advanced-update
Describe alternatives you've considered
Provide a more intuitive command than
ng g @angular/core: --help
to list all available migration schematics.Maybe
ng update
could list them.The text was updated successfully, but these errors were encountered: