Reputation: 328
Is there a single command that would upgrade all my Angular components?
When I do ng v
in a VS Code terminal (globally) to see my Angular version, I get this:
However, when I go into my project's directory, I get the following:
Is there any way I can upgrade everything to the latest existing versions without having to run commands for every single component?
Upvotes: 2
Views: 2138
Reputation: 330
You should update to next major first, so the ideal path from 12 to 14 is via 13.
You might want to commit the changes or use --allow-dirty while upgrading.
Upvotes: 4