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

fix(info): resolve bare specifier pointing to workspace member #27020

Merged
merged 9 commits into from
Nov 27, 2024

Conversation

nathanwhit
Copy link
Member

Fixes #26721

Previously, we were applying only the import map, which would result in @scope/foo expanding to (e.g.) jsr:@scope/foo@1.0.0. Since that didn't exist it would error and fail to resolve.

Unverified

No user is associated with the committer email.

Unverified

No user is associated with the committer email.
@nathanwhit nathanwhit requested a review from dsherret November 23, 2024 05:34
@nathanwhit nathanwhit changed the title fix(info): resolve bare specifier resolving to workspace member fix(info): resolve bare specifier pointing to workspace member Nov 23, 2024
fmt

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Unverified

No user is associated with the committer email.
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.

See comment.

Unverified

No user is associated with the committer email.
@nathanwhit
Copy link
Member Author

updated to use the workspace resolver instead

Unverified

No user is associated with the committer email.

Unverified

No user is associated with the committer email.
@bartlomieju bartlomieju requested a review from dsherret November 27, 2024 01:09
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM!

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, with a couple comments.

Unverified

No user is associated with the committer email.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@nathanwhit nathanwhit merged commit 76daa03 into denoland:main Nov 27, 2024
17 checks passed
@nathanwhit nathanwhit deleted the info-workspace-bare-specifier branch November 27, 2024 21:54
bartlomieju pushed a commit that referenced this pull request Nov 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes #26721

Previously, we were applying only the import map, which would result in
`@scope/foo` expanding to (e.g.) `jsr:@scope/foo@1.0.0`. Since that
didn't exist it would error and fail to resolve.
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.

vite still can't resolve local module in deno workspace
4 participants