1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(config): remove pkg name example and add pattern to schema (#22813)

This commit is contained in:
David Sherret 2024-03-08 18:13:25 -05:00 committed by GitHub
parent 0146abd9fe
commit 58c28d9879
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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": [