Skip to content

feat: preserve local .npmrc file #198

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

Merged
merged 1 commit into from
Oct 4, 2019
Merged

feat: preserve local .npmrc file #198

merged 1 commit into from
Oct 4, 2019

Conversation

pvdlg
Copy link
Member

@pvdlg pvdlg commented Oct 4, 2019

fix #145

Instead of modifying the local .npmrc the plugin now create a temporary one in the OS temp directory and all npm command specify that file with --userconfig.
Any config in a local .npmrc will be copied to the temporary one.

This avoid leaving a modified .npmrc file behind.

@pvdlg pvdlg merged commit 8726eff into master Oct 4, 2019
@pvdlg pvdlg deleted the restore-npmrc branch October 4, 2019 21:33
@semantic-release-bot
Copy link
Collaborator

🎉 This PR is included in version 5.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restore .npmrc to its original state
2 participants