Updating the Cloud App SDK
Each app uses its own version of the Cloud App SDK, determined by the following entries in the package.json file:
"dependencies": { ... "@exlibris/exl-cloudapp-angular-lib": "^1.2.5", "@exlibris/exl-cloudapp-base": "^1.2.5", ... }
To update to the latest version of the SDK, you can update the package.json file manually. Alternatively, you can use the eca update
command which does the following:
- Updates the package.json file with the latest version of the SDK and other dependencies
- Runs any upgrade scripts if needed, especially when moving between Angular versions
- Runs
npm install
to install the dependencies
To use the eca update command, first update to the latest version of the SDK:
$ npm install -g @exlibris/exl-cloudapp-cli
Then, from the root of your Cloud App, run the command:
$ eca update
From there you can run eca start
and continue developing.
Angular Versions
The following table lists the Angular versions that are used by each version of the Cloud App SDK:
SDK Version | Angular Version |
---|---|
<1.4 | 9.1.0 |
>=1.4 | 11.2.14 |