jeromeetienne / nmod

node_modules manager
9 stars 1 forks source link

specifying git repositories in your package.json #5

Closed stelcheck closed 12 years ago

stelcheck commented 13 years ago

I do not believe this is supported by the application yet, but would it be possible to support specifying git repositories in the package.json file?

Maybe something like this would be nice:

"dependencies" : { "async" : ">= 0.2.8", "jake" : [">=0.1.14", "https://github.com/mde/jake/tarball/master"] }

I know this kind of breaks what CommonJS. I know there is a proposal at http://wiki.commonjs.org/wiki/Packages/Mappings/D which would actually standardize the way to deal with this, so maybe it would be better to do this (at least to try it out)...

The problem that I have now is that nmod is great to install from git, but the coolest way to install it is to install dependencies; it would be great if both features would be working together.

jeromeetienne commented 13 years ago

it is currently to get package from tar instead of npm database.

on this project i try to stick to the package.json format from npm. if what you describe already in npm package.json format ?

stelcheck commented 13 years ago

Yes, that is what it is for. I know it is not in the spec of CommonJS, but since it would work nicely with you tool and that they seem to be discussing about making this a standard anyway, I thought it would make sense to request that.

On Sat, Aug 13, 2011 at 11:01 AM, jeromeetienne < reply@reply.github.com>wrote:

it is currently to get package from tar instead of npm database.

on this project i try to stick to the package.json format from npm. if what you describe already in npm package.json format ?

Reply to this email directly or view it on GitHub: https://github.com/jeromeetienne/nmod/issues/5#issuecomment-1796053

Marc Trudel-Bélisle Chief Technical Officer www.wizcorp.jp

jeromeetienne commented 13 years ago

Can you provide a link on such discussion?