bun icon indicating copy to clipboard operation
bun copied to clipboard

Support publish registry configuration in bunfig.toml

Open GenrikhFetischev opened this issue 1 year ago • 1 comments

What is the problem this feature would solve?

Hello! Humbly ask to consider the following use case: Sometimes there could be a necessity (which I'm experiencing) to have two different registries: one for install packages from and one for publish packages to. I'd like to ask you to provide the possibility to configure bun to achieve such a behaviour.

What is the feature you are proposing to solve the problem?

Currently we have only install section in .bunfig.toml. I think it makes sense to add publish section, so there it could be possible to configure default publishing registry and scope registries for publishing, the same way as in install section. Also, it would be nice to support publishConfig field from package.json (in my case to specify publish registry)

What alternatives have you considered?

No response

GenrikhFetischev avatar Dec 05 '24 15:12 GenrikhFetischev

reasonable

Jarred-Sumner avatar Dec 06 '24 01:12 Jarred-Sumner

Is there a plan to support it?

dangaogit avatar Nov 26 '25 09:11 dangaogit