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

.npmrc: support per-user and maybe global config files #23954

Open
bartlomieju opened this issue May 22, 2024 · 0 comments
Open

.npmrc: support per-user and maybe global config files #23954

bartlomieju opened this issue May 22, 2024 · 0 comments
Labels
feat new feature (which has been agreed to/accepted) node compat

Comments

@bartlomieju
Copy link
Member

We should support discovering .npmrc files in per-user location and maybe in global location.

Most likely we will need to update https://github.com/denoland/deno_npm for that as it appears these files are "stacked" together after they are discovered to create a final configuration.

https://docs.npmjs.com/cli/v10/configuring-npm/npmrc#files
Ref #16105
Ref #23560

@lucacasonato lucacasonato added the feat new feature (which has been agreed to/accepted) label Jun 8, 2024
bartlomieju added a commit that referenced this issue Jun 26, 2024
This commit adds discovery of `.npmrc` files in user's homedir.

This is not a perfect fix as it doesn't merge multiple `.npmrc` files
together as per #23954
but allows to fallback if no `.npmrc` file is discovered in the project
root.
sbmsr pushed a commit to sbmsr/deno-1 that referenced this issue Jul 2, 2024
This commit adds discovery of `.npmrc` files in user's homedir.

This is not a perfect fix as it doesn't merge multiple `.npmrc` files
together as per denoland#23954
but allows to fallback if no `.npmrc` file is discovered in the project
root.
zebreus pushed a commit to zebreus/deno that referenced this issue Jul 8, 2024
This commit adds discovery of `.npmrc` files in user's homedir.

This is not a perfect fix as it doesn't merge multiple `.npmrc` files
together as per denoland#23954
but allows to fallback if no `.npmrc` file is discovered in the project
root.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted) node compat
Projects
None yet
Development

No branches or pull requests

2 participants