Browse Source

Update package schema for new depends strings

default_compile_flags
vector-of-bool 4 years ago
parent
commit
f47b0c134f
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      res/package-schema.json

+ 3
- 7
res/package-schema.json View File

"description": "JSON schema tag. Ignored by dds." "description": "JSON schema tag. Ignored by dds."
}, },
"depends": { "depends": {
"type": "object",
"patternProperties": {
"^[a-z][a-z0-9_]*((\\.|-)[a-z0-9_]+)*$": {
"type": "string",
"description": "The version of the dependency. Must be a valid Semantic Version string",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
}
"type": "array",
"items": {
"type": "string"
} }
}, },
"test_driver": { "test_driver": {

Loading…
Cancel
Save