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

Add .npmrc file to make npm always use exact versions #51

Closed
mrjones2014 opened this issue Oct 9, 2020 · 3 comments · Fixed by #52
Closed

Add .npmrc file to make npm always use exact versions #51

mrjones2014 opened this issue Oct 9, 2020 · 3 comments · Fixed by #52
Assignees
Labels
enhancement New feature or request

Comments

@mrjones2014
Copy link

Using version ranges (i.e. ^1.0.0 which means "anything 1.0.0 or newer) is dangerous. We can add an .npmrc that will tell npm to install exact versions by default.
https://docs.npmjs.com/misc/config

@mrjones2014
Copy link
Author

contents just has to be

save-exact=true

@wintondeshong
Copy link
Contributor

@mrjones2014 happy to assign to you if you want the credit :)

@wintondeshong wintondeshong added the enhancement New feature or request label Oct 9, 2020
@mrjones2014
Copy link
Author

@wintondeshong I think I have permission to assign myself, but I can definitely take care of it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants