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

Two mentions of .npmrc contradict each other in the docs #13725

Closed
aShimoka opened this issue Sep 4, 2024 · 1 comment
Closed

Two mentions of .npmrc contradict each other in the docs #13725

aShimoka opened this issue Sep 4, 2024 · 1 comment
Labels
docs Improvements or additions to documentation

Comments

@aShimoka
Copy link

aShimoka commented Sep 4, 2024

What is the type of issue?

Documentation is incorrect

What is the issue?

I found two conflicting mentions for .npmrc support in the documentation.
On the registry page, it says that:

Bun does not currently read .npmrc files. For private registries, migrate your registry configuration to bunfig.toml as documented above.

However, there is a whole page for .npmrc support here, with a conflicting mention:

Bun supports loading configuration options from .npmrc files, allowing you to reuse existing registry/scope configurations.

It seems the note was added in the commit 609f81a about a year ago. And when the docs/install/npmrc.md page was added more recently through commit cdc68a2 that mention was not removed appropriately

Where did you find it?

The first mention is made here: https://bun.sh/docs/install/registries#npmrc

And the second one can be found here: https://bun.sh/docs/install/npmrc

@aShimoka aShimoka added the docs Improvements or additions to documentation label Sep 4, 2024
@Jarred-Sumner
Copy link
Collaborator

Thanks. Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants