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(add): only add npm deps to package.json if it's at least as close as deno.json #26683

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

nathanwhit
Copy link
Member

Fixes #26653

@nathanwhit nathanwhit changed the title fix(add): only put npm deps into package.json if it's at least as close as the nearest deno.json fix(add): only add npm deps to package.json if it's at least as close as the nearest deno.json Nov 1, 2024
@nathanwhit nathanwhit changed the title fix(add): only add npm deps to package.json if it's at least as close as the nearest deno.json fix(add): only add npm deps to package.json if it's at least as close as deno.json Nov 1, 2024
cli/tools/registry/pm.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!

@nathanwhit nathanwhit merged commit 2c8a0e7 into denoland:main Nov 2, 2024
17 checks passed
@nathanwhit nathanwhit deleted the prefer-npm-distance branch November 2, 2024 02:10
bartlomieju pushed a commit that referenced this pull request Nov 5, 2024
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.

Deno add - "Failed to install from package.json" "Unexpected character."
3 participants