What is the problem this feature would solve?
Since we're using a private registry that exclusively supports Basic Authentication, we're unable to authenticate during bun install because Bun currently only supports Bearer tokens.
What is the feature you are proposing to solve the problem?
Implement automatic authentication detection based on provided credentials: if credentials are in the form of username:password, default to Basic Auth; if a token is provided, use Bearer authentication.
Another alternative would be introducing a command-line flag during installation to explicitly set the authentication method.
What alternatives have you considered?
No response