mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
a54fc7a129
Resolves #10051
37 lines
893 B
JSON
37 lines
893 B
JSON
{
|
|
"version": 2,
|
|
"registries": [
|
|
{
|
|
"schema": "/x/:module([a-z0-9_]*)@:version?/:path*",
|
|
"variables": [
|
|
{
|
|
"key": "module",
|
|
"documentation": "/lsp/registries/doc_${module}.json",
|
|
"url": "/lsp/registries/modules_${module}.json"
|
|
},
|
|
{
|
|
"key": "version",
|
|
"url": "/lsp/registries/${module}_versions.json"
|
|
},
|
|
{
|
|
"key": "path",
|
|
"url": "/lsp/registries/${module}_${{version}}.json"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"schema": "/x/:module([a-z0-9_]*)/:path*",
|
|
"variables": [
|
|
{
|
|
"key": "module",
|
|
"documentation": "/lsp/registries/doc_${module}.json",
|
|
"url": "/lsp/registries/modules_${module}.json"
|
|
},
|
|
{
|
|
"key": "path",
|
|
"url": "/lsp/registries/${module}_latest.json"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|