Fix PR #435 followups: move version range docs to description field (#445)

## Summary
- Move package version 'remarks' to 'description' field in JSON schema
(remarks is not a standard JSON schema field)
- Confirmed non-semver version test coverage already exists

Addresses followup comments from #435.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: adam jones <domdomegg@users.noreply.github.com>
This commit is contained in:
adam jones 2025-09-11 20:06:55 -07:00 • committed by GitHub
commit 7ea68db6e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,13 +110,12 @@
},
"version": {
"type": "string",
"description": "Package version",
"description": "Package version. Must be a specific version. Version ranges are rejected (e.g., '^1.2.3', '~1.2.3', '>=1.2.3', '1.x', '1.*').",
"not": {
"const": "latest"
},
"example": "1.0.2",
"minLength": 1,
"remarks": "Must be a specific version. Version ranges are rejected (e.g., '^1.2.3', '~1.2.3', '>=1.2.3', '1.x', '1.*')."
"minLength": 1
},
"file_sha256": {
"type": "string",