Please note it is not compulsory to upgrade your solution, but it is recommended. I personal advise – Only upgrade if you want to add new feature to existing solution because upgrading is not simple task. You also might run in to issues where existing functionality might break because of some latest changes in dependent library.
To find Current and Latest version of global packages:
To find current version and latest version of Yeoman
generator we can use below command.
npm outdated –global
Please note we have used — global parameter to find versions
of all global packages.
To find current and latest version of libraries used in your Project:
Go to project directory , run below command
npm outdated
Upgrade solution:
To upgrade solution, we need to install all the packages
with required version.
npm install <Package Name>@<version> –save
No comments:
Post a Comment