cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

add npmrc file to pin newly installed dependencies #799

Closed ascott1 closed 8 years ago

ascott1 commented 8 years ago

Now when running npm install --save-dev NEWDEPENDENCY that dependency will be pinned to the specific version installed, rather than allowing users download the latest minor release.

willbarton commented 8 years ago

rashida-jones-the-office-shrug-gif

Is the process of managing dependency versions going to be documented somewhere, if someone comes to the project and needs to update a dependency, change a dependency, add a dependency, etc?

ascott1 commented 8 years ago

Is the process of managing dependency versions going to be documented somewhere, if someone comes to the project and needs to update a dependency, change a dependency, add a dependency, etc?

Yes, but I think it will live outside of the project itself in the front-end standards (or somewhere similar). Here's my current draft:

https://gist.github.com/ascott1/f8696e13453fa0c9f1a84b65b0033f09

willbarton commented 8 years ago

Excellent. Is this ready to merge?

ascott1 commented 8 years ago

Yessir. Merge away.