summaryrefslogtreecommitdiff
path: root/cli/lsp/resolver.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-07-10 14:46:09 -0400
committerGitHub <noreply@github.com>2024-07-10 14:46:09 -0400
commit4d2d764816d266e42f3b2251248b100abb667c83 (patch)
tree814e4f208e6824b0d5a4217f14912b2512b185ed /cli/lsp/resolver.rs
parent69afa8718f322cf2ef5f5cf5bcecb10f1122f490 (diff)
feat(jsr): support publishing jsr packages in npm workspaces (#24507)
Supports publishing an npm workspace with a directory structure similar to the following: - workspace - package.json - package-a - package.json - jsr.json - package-b - package.json - jsr.json deno_config PR: https://github.com/denoland/deno_config/pull/77 Closes https://github.com/denoland/deno/issues/23638
Diffstat (limited to 'cli/lsp/resolver.rs')
-rw-r--r--cli/lsp/resolver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/resolver.rs b/cli/lsp/resolver.rs
index d6414697b..f160622ab 100644
--- a/cli/lsp/resolver.rs
+++ b/cli/lsp/resolver.rs
@@ -115,7 +115,7 @@ impl LspScopeResolver {
let npm_graph_resolver = graph_resolver.create_graph_npm_resolver();
let graph_imports = config_data
.and_then(|d| d.config_file.as_ref())
- .and_then(|cf| cf.to_maybe_imports().ok())
+ .and_then(|cf| cf.to_compiler_option_types().ok())
.map(|imports| {
Arc::new(
imports