caolan / jam

JavaScript package manager - using a browser-focused and RequireJS compatible repository
MIT License
1.5k stars 105 forks source link

Git URL's as Dependencies #163

Closed gobwas closed 9 years ago

gobwas commented 9 years ago

Hello there!

Thank your for this project. This PR brings jam ability to use git url's as dependencies (like in npm) in package.json file.

For example:

// package.json

{
  "jam": {
    "dependencies": {
      "dm": "git://github.com/gobwas/dm.js#0.3.0"
    }
  }
}

Available formats are listed in README.md. Also, as like in npm.

Thanks!

gobwas commented 9 years ago

Hi, @caolan!

Thank you for your library.

If you do not want to merge this PR by any reason, we could create a new package, that based on fork of yours.

In our company we need dependencies resolution in flat manner, so Jam is being pretty good for this job. But we also want to use git dependencies, and some other features, like not only require.js config generation, but some other bundlers too.

Do you have any objections/restrictions on this?

Thanks!