Open Kleywalker opened 1 year ago
I would like to second this request.
I also second this request, for now it seems to be documented here, but slightly different: https://bun.sh/docs/runtime/bunfig#install-exact (exact = true, instead of save-exact = true)
I would like suggest to change it to save-exact = true
for consistency with other package managers like npm
or pnpm
, that is just a personal preference.
I also tested adding that to my bunfig.toml
config and at least on my end is not working, it just keeps adding the caret ^
to the intalled packages, unless I add --exact
as cli option on install.
I tested it with bun versions 1.0.0
and 1.0.2
As soon as this works with bunfig.toml
it works for me. exact
is fine.
Any update? exact = true
still does not work in bun 1.0.7.
Is there a way to tag this issue as bug?
This issue still exists in version 1.0.8
This bug is not fixed in version 1.0.10
This issue still exists in version 1.0.14
@Kleywalker Maybe you should edit this ticket to make it clear the feature has been added, but does not work? At the moment it might be being ignored because it sounds like you're requesting an existing feature - the topic of the ticket only changes in the comment thread.
Created a new bug issue here
Bun supports install.exact
in bunfig.toml (https://bun.sh/docs/runtime/bunfig#install-exact).
Updated the title of this issue to make it clear this feature is already implemented.
What is the problem this feature would solve?
Always save dependencies exact when added.
What is the feature you are proposing to solve the problem?
Add save-exact option to bunfig.toml
What alternatives have you considered?
.npmrc save-exact https://docs.npmjs.com/cli/v8/commands/npm-install#save-exact