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:
parent
0146abd9fe
commit
58c28d9879
1 changed files with 2 additions and 3 deletions
|
@ -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": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue