Skip to content

Use dependency management

Info

For generic how-to information about VoltScript Dependency Management, see VoltScript documentation.

Dependency management is available in the documentation for each project, but also aggregated here:

Authentication

You'll need a Personal Access Token to use GitHub REST APIs. You'll then need to add the following to the JSON object in your atlas-settings.json in the .vss directory of your user home directory:

    "hcl-github": {
        "type": "github",
        "token": "${env.TOKEN}"
    },
    "volt-mx-marketplace": {
        "type": "marketplace",
        "username": "YOUR_USERNAME",
        "password": "YOUR_PASSWORD",
        "authUrl": "https://accounts.auth.hclvoltmx.net/login"
    }

Repository

You'll need to add the following to your repositories object in the atlas.json of your project:

        {
            "id": "hcl-github",
            "type": "github",
            "url": "https://api.github.com/repos/HCL-TECH-SOFTWARE"
        }

Dependency

You'll need to add the following relevant dependency to your dependencies or testDependencies object in the atlas.json of your project:

        {
            "library": "voltscript-json-converter",
            "version": "1.0.4",
            "module": "VoltScriptJsonConverter.vss",
            "repository": "hcl-github"
        }