Upgrading existing ionic project to latest version


#1

Upgrading existing ionic project to latest ionic version.


How to update cordova and ionic?
#2

Attaching ionic info from my project


#3

You didn’t really ask a question, but:

https://github.com/ionic-team/ionic/releases/tag/v3.4.0 has a nice “Steps to upgrade” description.
There was a .2 release later, so just replace “3.4.0” with “3.4.2”.


#4

I got my answers.
i used following commands.

-npm update -g ionic or ( use npm uninstall cordova ionic and npm install -g cordova ionic)
or ( npm install -g ionic@latest)

After that I created new project and compared its ionic info with my existing project.All coponents version were same for both new and old project except, New project had higher version of ionic-angular and @ionic/app-script than old so, I used following commands to upgrade these individial components,
-npm install ionic-angular@latest --save
-npm install @ionic/app-scripts@latest --save dev


#5

Please be aware that not only the ionic libraries, but also angular and some others (see changelog on Github I linked) should be upgraded for optimal functionality.