Upgrade to a New Package Version
The topic below describes how to upgrade the client-side HTML JavaScript control to a new version with npm.
The devexpress-dashboard npm package references the devextreme and @devexpress/analytics-core npm packages as peerDependencies. The peerDependencies should be installed and updated manually.
Requirements
- The script version on the client should match with libraries version on the server up to a minor version.
- Versions of the devexpress npm packages should be identical (their major and minor versions should be the same).
Version Update in package.json
- Open the package.json file and specify package versions:
{
// ...
"dependencies": {
"@devexpress/analytics-core": "19.2.15",
"devexpress-dashboard": "19.2.15",
"devextreme": "19.2.15"
},
}
- Install npm packages:
npm install
Version Update in the Command Line
Run the following command:
npm install devexpress-dashboard@19.2.15 devextreme@19.2.15 @devexpress/analytics-core@19.2.15
See Also