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

Fix overwrite of exisiting .npmrc #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bitkeeper
Copy link

What:

Code changed to add the loupe registry in a safe way to ~/.npmrc:

  • read the content of ~/.npmrc
  • add or update the loupe registry
  • write the content back to file

Why:

LPM overwrites an existing ~/.npmrc file.
When also working on webproject and node projects, it's not very practical that file is reset after LPM ussage/

LPM overwrites an existing `~/.npmrc` file. Code changed to add the loupe registry in a safe way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant