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

feat: store import sites on dependencies #251

Merged
merged 7 commits into from Apr 4, 2023

Conversation

nayeemrmn
Copy link
Collaborator

Towards #228. Stops short of introducing ImportError / checking assertions because that's where it starts needing to be broken in. They're not included in the json yet since the schema needs a little more scrutiny, but the serialization code is there to iterate on and is usable in the rust API.

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.

Looks mostly good to me. @nayeemrmn would you be able to add a basic test for each kind of import?

src/analyzer.rs Outdated Show resolved Hide resolved
src/analyzer.rs Outdated Show resolved Hide resolved
src/analyzer.rs Outdated Show resolved Hide resolved
src/graph.rs Outdated Show resolved Hide resolved
src/graph.rs Outdated Show resolved Hide resolved
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.

LGTM. Thanks @nayeemrmn!

@dsherret dsherret merged commit ec025c0 into denoland:main Apr 4, 2023
3 checks passed
@nayeemrmn nayeemrmn deleted the dependency-imports branch April 4, 2023 00:20
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