For solving this problem angular team added
ng update
command which should upgrade all the packages at once.(Available from Angular CLI 1.7)
Experiment
Since it is interesting to play with new features, i decided to use this command for upgrading dependencies of one of my experimental projects. Its dependencies were like:
"@angular/animations": "6.0.0-beta.7",
"@angular/cdk": "6.0.0-beta.4",
"@angular/common": "6.0.0-beta.7",
"@angular/compiler": "6.0.0-beta.7",
"@angular/core": "6.0.0-beta.7",
"@angular/forms": "6.0.0-beta.7",
"@angular/http": "6.0.0-beta.7",
And i expected that they will be upgraded to current 6.0.0-rc.3 version...
After running command i got following message:
I guess that means the upgrade can be made only to stable version (not rc and not beta)
Well looks like angular guys still have some work to do...