-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 reading from $HOME/.npmrc
#13990
Conversation
$HOME/.npmrc
Can't wait for this to merge. Will make our workflow so much easier since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Tested locally, going to merge |
This does not seem to work for me with a global config like this:
and a project config like this:
I am on macOS. |
@lenovouser is it using the wrong registry for the |
@dylan-conway no, it doesn't use the auth token I believe. |
Second this. In my case //my-registry.tld/:_auth="". We use JFrog. I tried many things I even converted npmrc to bunfig.toml, nothing works. Bun basically doesn't work with JFrog. |
What does this PR do?
This builds upon the work done in #11979 by adding support for
$HOME/.npmrc
.Settings in
./.npmrc
will override settings in$HOME/.npmrc
.How did you verify your code works?
I wrote automated tests
bun-debug test test-file-name.test
)resolves #13764