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

Support setting bunfig.toml programatically #6795

Open
tommyboylab opened this issue Oct 30, 2023 · 0 comments
Open

Support setting bunfig.toml programatically #6795

tommyboylab opened this issue Oct 30, 2023 · 0 comments
Labels
bun.js Something to do with a Bun-specific API enhancement New feature or request

Comments

@tommyboylab
Copy link

What is the problem this feature would solve?

I am trying to migrate my CI/CD pipelines to use Bun but have an issue setting the configration for private repositories as I cannot programatically set them in the GH action like I can with npm ex: npm config set.

I believe there is an open issue for reading from .npmrc which would resolve this issue here, but I would also like the ability to set this directly in the bunfig.toml in a similar way (maybe bun config set install-scope '...'?)

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

Let users add configuration to bunfig.toml programatically -- bun config set [configOption] '...'

What alternatives have you considered?

I've tried to create a file by using cat, but with the specific structure of [option] ... [option2] ... it's not really possible lint the file. Having a way that does this automatically would be extremely helpful.

@tommyboylab tommyboylab added the enhancement New feature or request label Oct 30, 2023
@Electroid Electroid added the bun.js Something to do with a Bun-specific API label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun.js Something to do with a Bun-specific API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants