Closed Vinlock closed 2 months ago
@trpc/(server/client/react-query)
are published with version 11.0.0-rc.485
, but the package.json in the tarball also includes a build tag in the version, 11.0.0-rc.485+1c1d824cd
. This difference causes this bug because bun is byte comparing the expected version (version from root package.json) with the received version (version in node_modules/@trpc/client/package.json
). Instead, we should order the version strings as semver, or exclude build tags from the byte comparison.
What version of Bun is running?
1.1.26+0a37423ba
What platform is your computer?
Darwin 23.5.0 arm64 arm
What steps can reproduce the bug?
Add these dependencies to your
package.json
.Run
bun i
. Notice that it will install the dependencies.Run
bun i
again. Notice it will install them again.What is the expected behavior?
It should only install once and then when running
bun i
again it will not re-install them.What do you see instead?
It continuously re-installs those 3 dependencies.
Additional information
No response