rsm-hcd / AndcultureCode.DotnetReact.Boilerplate

Common configuration of applications built with a Dotnet Core backend and React frontend
6 stars 13 forks source link

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

Closed mrjones2014 closed 4 years ago

mrjones2014 commented 4 years ago

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 commented 4 years ago

contents just has to be

save-exact=true
wintondeshong commented 4 years ago

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

mrjones2014 commented 4 years ago

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