Skip to content

Extended test cases to test io-package.json against the schema #650

Open
@oweitman

Description

@oweitman

Extended test cases to test io-package.json against the schema https://github.com/ioBroker/ioBroker.js-controller/blob/master/schemas/io-package.json

This ensures that an error not addressed or detected in VSCode or a similar environment does not result in a release on GitHub and NPM.
It also prevents additional implementation effort for checks in the repochecker.

To implement this, we can use this package https://www.npmjs.com/package/jsonschema

describe(`Check contents of io-package.json`, () => {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions