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 getting bun config #7140

Open
TeddyHuang-00 opened this issue Nov 15, 2023 · 0 comments
Open

Support getting bun config #7140

TeddyHuang-00 opened this issue Nov 15, 2023 · 0 comments
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request

Comments

@TeddyHuang-00
Copy link

What is the problem this feature would solve?

Some package manager related program will want to respect the registry specified by users and a common way for them to do so is to call something like npm config get registry. While bun reserved bun config subcommand for future use, it hasn't been implemented in recent updates. Similar issues regarding setting the config through command line also exists: #6795, yet in my opinion allow reading can be potentially a lot easier to achieve first and may pave the way to a final solution.

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

Implement the bun config get related features first to allow reading bun configs programmatically.

What alternatives have you considered?

I do have considered parsing the configs according to bun's documentation. However after a second thought, I think this falls beyond the scope of that project and is better handled by bun for sake of consistency.

@TeddyHuang-00 TeddyHuang-00 added the enhancement New feature or request label Nov 15, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants