0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -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": { "name": {
"type": "string", "type": "string",
"description": "The name of this JSR package. Must be scoped", "description": "The name of this JSR package. Must be scoped",
"examples": ["@luca/flag"] "pattern": "^@[a-z0-9-]+/[a-z0-9-]+$"
}, },
"version": { "version": {
"type": "string", "type": "string",
"description": "The version of this JSR package.", "description": "The version of this JSR package."
"examples": ["0.1.0", "1.0.0"]
}, },
"exports": { "exports": {
"oneOf": [ "oneOf": [