aboutsummaryrefslogtreecommitdiff
path: root/SPEC.md
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2023-06-17 23:44:41 -0400
committerGitHub <noreply@github.com>2023-06-17 23:44:41 -0400
commit0b2cdc1f03b71f86cdd064f59cf97b6b7400afd4 (patch)
treea5fa553436239868682d929b459c448fff88a8d2 /SPEC.md
parent3a23b86d3bd091979cecee508513a1d5f58e9168 (diff)
downloadlite-xl-plugin-manager-0b2cdc1f03b71f86cdd064f59cf97b6b7400afd4.tar.gz
lite-xl-plugin-manager-0b2cdc1f03b71f86cdd064f59cf97b6b7400afd4.zip
Update SPEC.md
Diffstat (limited to 'SPEC.md')
-rw-r--r--SPEC.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/SPEC.md b/SPEC.md
index 9517d83..5013db4 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -43,7 +43,7 @@ The vast majority of addons are `singleton` `plugin`s.
Fields that are required are bolded.
* **`id`**: The semantic id of the addon, a string only containing `[a-z0-9\-_]`.
-* **`version`**: The addon's semantic version. A string that can contain `[0-9\.]`.
+* **`version`**: The addon's semantic version (major.minor.revision). A string that matches the regex `^[0-9]+(\.[0-9]+){0,2}$`.
* **`mod_version`**: The mod_version this addon is compatible with.
A string that can contain `[0-9\.]`. If `type` is `library`, this field is optional.
* `type`: An optional string that specifies the addon type. Valid values are `"plugin"`