LetsLunch / lunch

Other
38 stars 3 forks source link

package.json dep versions #61

Open cameron opened 10 years ago

cameron commented 10 years ago

great use of ^ in specifying deps. any reason why you guys used ~ for devDeps?

sillyname and neo4j-swagger-ui are hard-coded to a specific version, which is mostly fine, but you might consider <1.0.0 to get around the fact that ~0.0.3 and ^0.0.3 are equivalent to =0.0.3, which i assume is why you used exact specifications.

zzmp commented 10 years ago

I think this was pulled in through npm i --save. Rajat, can you update neo4j-swagger-ui, and I will update sillyname.

rajatkhanna82 commented 10 years ago

@cameron we initially did not set the versions manually but it was pull through npm install --save On your recommendation to use<1.0.0 , which seems to be equivalent to ^0.0.3 according to my understanding from what I read on https://www.npmjs.org/doc/misc/semver.html screen shot 2014-06-09 at 11 05 02 am Please advise is using <1.0.0 better over ^0.0.3