mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
35 lines
848 B
JSON
35 lines
848 B
JSON
{
|
|
"version": 1,
|
|
"registries": [
|
|
{
|
|
"schema": "/x/:module([a-z0-9_]*)@:version?/:path*",
|
|
"variables": [
|
|
{
|
|
"key": "module",
|
|
"url": "http://localhost:4545/lsp/registries/modules.json"
|
|
},
|
|
{
|
|
"key": "version",
|
|
"url": "http://localhost:4545/lsp/registries/${module}_versions.json"
|
|
},
|
|
{
|
|
"key": "path",
|
|
"url": "http://localhost:4545/lsp/registries/${module}_${{version}}.json"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"schema": "/x/:module([a-z0-9_]*)/:path*",
|
|
"variables": [
|
|
{
|
|
"key": "module",
|
|
"url": "http://localhost:4545/lsp/registries/modules.json"
|
|
},
|
|
{
|
|
"key": "path",
|
|
"url": "http://localhost:4545/lsp/registries/${module}_latest.json"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|