How Do I Manage and Control the Angular Client npm Versions? (Magic xpa 4.x)
You can manage the Angular client npm versions by setting magic-xpa/Cli version and magic-xpa/angular version separately in a file named "npmVersion.json".
This configuration file is located at WebClient\Scripts. There are two entries in the file as given:
{
"CliVersion": "MajorVersion.MinorVersion*10.BuildNumber",
"AngularVersion": "MajorVersion. MinorVersion*10. BuildNumber"
}
For example,
{
"CliVersion": "4.0.265",
"AngularVersion": "4.0.265"
}
The corresponding versions of Angular (Web Client runtime) and cli (Web Client Generation) packages are downloaded from the website.
The purpose of this is to provide a method to the developer to avail a particular version of Angular Client packages to be used to generate Web Client application.
Since version: 4.0