Install Reference Template
To access the new features and enhancements delivered in the 202602.2.0 release, use the latest SDK packages and reference templates from the GitHub release registries:
- https://github.com/congarevenuecloud/partner-commerce/releases: Search and select the 202602.2.0 release.
- https://github.com/orgs/congarevenuecloud/packages: Use the 202602.2.2 package of core, ecommerce, and elements.
Prerequisites
In case you face issues installing the SDK, you may need to authenticate using your Github token.
After cloning the reference
template, you must update the
npmrc file
in the reference template with the SDK library hosted URL as below. Enter your
GitHub authentication token at line 2 after authToken=
@congarevenuecloud:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=Install npm
After updating the npmrc file, run
npm install
from the root of your project’s resources folder. This command installs third-party libraries, including the congarevenuecloud/partner-commerce library listed in the package.json file, which contains all the components and data access layers. Once done, the SDK and its dependencies will be ready to use.
You can verify that the dependencies are installed by looking at the node modules folder and in that folder congrevenuecloud > SDK library folders (i.e. core, ecommerce, elements etc.) are created in the resources folder.
