redhat-developer / vscode-openshift-tools

OpenShift extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-connector
MIT License
95 stars 61 forks source link

Alizer's 'Version.SchemaVersion' property type is to be a 'string', not a 'number' #4371

Closed vrubezhny closed 2 months ago

vrubezhny commented 3 months ago

The Alizer's Version.SchemaVersion property type is to be of type string according to the binary output:

$ ./alizer-v1.6.0-linux-amd64 devfile ./nodejs-starter
[
    {
        "Name": "nodejs",
        "Language": "JavaScript",
        "ProjectType": "Node.js",
        "Tags": [
            "Node.js",
            "Express",
            "ubi8"
        ],
        "Versions": [
            {
                "SchemaVersion": "2.2.2",
                "Default": true,
                "Version": "2.2.1"
            },
            {
                "SchemaVersion": "2.1.0",
                "Default": false,
                "Version": "2.2.0"
            },
            {
                "SchemaVersion": "2.1.0",
                "Default": false,
                "Version": "2.1.1"
            }
        ]
    }
]