Skip to content

Commit

Permalink
fix(config): remove pkg name example and add pattern to schema (#22813)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored and nathanwhit committed Mar 14, 2024
1 parent 776d756 commit 8b9a9a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/schemas/config-file.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 8b9a9a7

Please sign in to comment.