From 58c28d9879c79c3d6cf9568ce4ee141bdd9ca59c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 8 Mar 2024 18:13:25 -0500 Subject: [PATCH] fix(config): remove pkg name example and add pattern to schema (#22813) --- cli/schemas/config-file.v1.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 9ae5679314..1fda522a8b 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": [