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: remove recently added deno.json node_modules aliasing #25542

Merged

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Sep 9, 2024

This was initially added in #25399 in order to make transitioning over from package.json to deno.json more easy, but it causes some problems that are shown in the issue and it also means that the output of deno install would have different resolution than npm install. Overall, I think it's too much complexity to be smarter about this and it's probably best to not do it. If someone needs an aliased folder then they should keep using a package.json

Closes #25538

@dsherret dsherret changed the title fix: remove deno.json node_modules aliasing fix: remove recently added deno.json node_modules aliasing Sep 9, 2024
Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret enabled auto-merge (squash) September 9, 2024 20:16
@dsherret dsherret merged commit 72f025c into denoland:main Sep 9, 2024
17 checks passed
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 install fails with overlapping import map entries and node_modules enabled
2 participants