2021-04-08 21:27:27 -04:00
|
|
|
{
|
2021-12-13 14:24:11 -05:00
|
|
|
"version": 2,
|
2021-04-08 21:27:27 -04:00
|
|
|
"registries": [
|
|
|
|
{
|
|
|
|
"schema": "/x/:module([a-z0-9_]*)@:version?/:path*",
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"key": "module",
|
2021-12-13 14:24:11 -05:00
|
|
|
"documentation": "/lsp/registries/doc_${module}.json",
|
|
|
|
"url": "/lsp/registries/modules_${module}.json"
|
2021-04-08 21:27:27 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "version",
|
2021-12-13 14:24:11 -05:00
|
|
|
"url": "/lsp/registries/${module}_versions.json"
|
2021-04-08 21:27:27 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "path",
|
2021-12-13 14:24:11 -05:00
|
|
|
"url": "/lsp/registries/${module}_${{version}}.json"
|
2021-04-08 21:27:27 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"schema": "/x/:module([a-z0-9_]*)/:path*",
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"key": "module",
|
2021-12-13 14:24:11 -05:00
|
|
|
"documentation": "/lsp/registries/doc_${module}.json",
|
|
|
|
"url": "/lsp/registries/modules_${module}.json"
|
2021-04-08 21:27:27 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "path",
|
2021-12-13 14:24:11 -05:00
|
|
|
"url": "/lsp/registries/${module}_latest.json"
|
2021-04-08 21:27:27 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|