mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|