diff options
Diffstat (limited to 'cli/tests/testdata/lsp/registries/deno-import-intellisense.json')
| -rw-r--r-- | cli/tests/testdata/lsp/registries/deno-import-intellisense.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cli/tests/testdata/lsp/registries/deno-import-intellisense.json b/cli/tests/testdata/lsp/registries/deno-import-intellisense.json new file mode 100644 index 000000000..8aa4a4eca --- /dev/null +++ b/cli/tests/testdata/lsp/registries/deno-import-intellisense.json @@ -0,0 +1,35 @@ +{ + "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" + } + ] + } + ] +} |
