diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-08 18:13:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 23:13:25 +0000 |
commit | 58c28d9879c79c3d6cf9568ce4ee141bdd9ca59c (patch) | |
tree | 5b0942f72a1e7130a2e116678a6dd14545001dfb | |
parent | 0146abd9fed309e0d9e11d9f74bbdccb33cd7c1c (diff) |
fix(config): remove pkg name example and add pattern to schema (#22813)
-rw-r--r-- | cli/schemas/config-file.v1.json | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 9ae567931..1fda522a8 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -563,12 +563,11 @@ "name": { "type": "string", "description": "The name of this JSR package. Must be scoped", - "examples": ["@luca/flag"] + "pattern": "^@[a-z0-9-]+/[a-z0-9-]+$" }, "version": { "type": "string", - "description": "The version of this JSR package.", - "examples": ["0.1.0", "1.0.0"] + "description": "The version of this JSR package." }, "exports": { "oneOf": [ |