Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(lsp): unify resolver types into LspResolver #23514

Merged
merged 8 commits into from Apr 26, 2024

Conversation

nayeemrmn
Copy link
Collaborator

@nayeemrmn nayeemrmn commented Apr 23, 2024

No description provided.

cli/resolver.rs Outdated Show resolved Hide resolved
cli/npm/managed/mod.rs Outdated Show resolved Hide resolved
@nayeemrmn nayeemrmn requested a review from dsherret April 24, 2024 21:16
@nayeemrmn nayeemrmn marked this pull request as draft April 26, 2024 01:45
@nayeemrmn nayeemrmn marked this pull request as ready for review April 26, 2024 04:48
@nayeemrmn nayeemrmn changed the title chore(lsp): remove StateNpmSnapshot refactor(lsp): unify resolver types into LspResolver Apr 26, 2024
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! LGTM

@@ -1566,7 +1492,6 @@ impl Documents {
fn resolve_dependency(
&self,
specifier: &ModuleSpecifier,
maybe_npm: Option<&StateNpmSnapshot>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Much better.

@nayeemrmn nayeemrmn merged commit f8ddcc4 into denoland:main Apr 26, 2024
17 checks passed
@nayeemrmn nayeemrmn deleted the lsp-state-npm-snapshot-remove branch April 26, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants