Home Forums Chart Support Integrate commercial CanvasJs into CI

Integrate commercial CanvasJs into CI

Viewing 3 posts - 1 through 3 (of 3 total)
  • #60169

    Dear CanvasJS team!

    We want to use CanvasJS in our production, so we bought a team license from you. After that I able to download the commercial version from My Account page.

    Now I have to integrate this commercial CanvasJS packages (@canvasjs/charts, @canvasjs/angular-charts) into our CI system, where among others SBOM and vulnerability reports are automatically generated for all used packages based on package.json and package-lock.json files. However, if I follow the commercial package instruction and I copy these commercial packages to source-folder, we can use the pre-activated commercial version, but unfortunately our CI system is not able to track these packages automatically.

    In case I upload commercial CanvasJS to our Artifactory (npm registry), the package name and versions will conflict with the non-commercial version during npm package downloading or updating.

    In case I copy commercial CanvasJS to source-folder, can I add a reference to it in the package.json file?

    Do you know of any way to integrate this into a CI system?

    #60182

    @eszlariz2,

    You can host the commercial version of the CanvasJS chart package (@canvasjs/charts) on your own server by following these steps:

    1. Compress the package into a .tar.gz file.
    2. Upload the compressed file to your server.
    3. In your package.json, reference the package using the URL of your server, like this:

    @canvasjs/charts": "https://your-server.com/packages/canvasjs-charts-v3.10.16.tar.gz

    This approach avoids conflicts with public npm versions and integrates smoothly into your CI system. Please refer to this article for more information.

    —-
    Manoj Mohan
    Team CanvasJS

    #60194

    Dear Manoj Mohan,

    Thank you for your help! This solution might work.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.