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

bun add writes wrong version to package.json #8956

Closed
dszymon opened this issue Feb 17, 2024 · 0 comments
Closed

bun add writes wrong version to package.json #8956

dszymon opened this issue Feb 17, 2024 · 0 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client quick fix Something that can be fixed with low effort, but high impact

Comments

@dszymon
Copy link

dszymon commented Feb 17, 2024

What version of Bun is running?

1.0.26+c75e768a6

What platform is your computer?

Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

bun add typescript@latest or bun add typescript@5

What is the expected behavior?

the full matching version (e.g., 5.3.3) is added to package.json file

What do you see instead?

bun puts the literal from the command in package.json file (e.g., latest or 5)

Additional information

No response

@dszymon dszymon added the bug Something isn't working label Feb 17, 2024
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Feb 18, 2024
@robobun robobun added the quick fix Something that can be fixed with low effort, but high impact label Feb 27, 2024
@dszymon dszymon closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client quick fix Something that can be fixed with low effort, but high impact
Projects
None yet
Development

No branches or pull requests

3 participants