bun
bun copied to clipboard
bun dedupe needed
What is the problem this feature would solve?
When working with expo and react-native (or other JS projects) Package mismatch can lead to unexplained errors in the console. Several threads recommend using 'npm dedupe' which I haven't found an alternative for. What's worked for me is setting package "overrides" in package.json from recommendations and guessing the package.
What is the feature you are proposing to solve the problem?
Unlinke yarn.lock where you can see packages mentioned and versions, I would like a way to know the different versions of packages in my app so I can set an override or take alternative measures (upgrade/downgrade packages).
What alternatives have you considered?
Alternatives now are reverting to npm or guessing the overriding package from my current knowledge.
If you run bun bun.lockb
you'll get a print out of what packages and what dependencies are being resolved to. It's a bit manual but it could help you track down conflicting packages.
Same as #1343
Duplicate of #1343
This is something we plan on implementing.