0.7.5 • Published 8 days ago

@iqb/validate-md-profile v0.7.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days ago

License: MIT npm

Install

Metadata profiles for web applications of IQB are stored in GitHub-repositories. We group metadata profiles in so-called "profile stores" to improve the handling. Every profile store resides in one GitHub repository. The entry point of the store is a config file profile-config.json in the root of the repo.

Best choice is to take one of the GitHub repositories of IQB as template (naming convention: p<nn>). You learn the parameters and files and the way to use the programming of this repo validate-md-profile: You see a package.json (nodejs-universe) and two entries:

    "scripts": {
      "validate": "validate-md-profile"
    },
    "devDependencies": {
      "@iqb/validate-md-profile": "^0.5.1"
    }

Sure the version of the package will change...

Validate

Calling the script will validate the profile-config.json in the root and all profiles listed here:

  • test the syntax of all files against the JSON schema
  • check whether the ids of profile entries are unique

Generate Documentation

To support the dialog between stakeholders during the development phase, the validate-script generates one markdown file as documentation, if a /docs-Folder is found.

0.7.5

8 days ago

0.7.4

26 days ago

0.7.2

29 days ago

0.7.1

29 days ago

0.7.3

29 days ago

0.7.0

29 days ago

0.6.0

2 months ago

0.5.1

6 months ago

0.5.0

6 months ago

0.4.0

7 months ago

0.3.1

7 months ago

0.3.0

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago