idlackage
idlackage

Reputation: 2863

How to update all dependencies to a specific version

I'm trying to upgrade a project from Angular 6 to 7. There are a massive amount of dependencies that also need to be upgraded, but all I can find are tutorials to upgrade everything to the latest version (which would be v8)--not to a specific version. What is the proper procedure for this?

Upvotes: 0

Views: 3363

Answers (2)

Vova Bilyachat
Vova Bilyachat

Reputation: 19514

Angular has Upgrade page. Which will tell you how to upgrade angular related stuff

Upvotes: 0

Ankit Prajapati
Ankit Prajapati

Reputation: 2820

ng update @angular/cli @angular/core

This command will update your project to latest version of angular. but if you want to upgrade to specific version then you have to add @version in dependency as below

ng update @angular/[email protected] @angular/[email protected]

Upvotes: 1

Related Questions