vvakame / dtsm

The .d.ts manager
MIT License
98 stars 6 forks source link

Dependencies between different repositories cannot resolve #1

Closed okunokentaro closed 9 years ago

okunokentaro commented 9 years ago

d.ts of the following depends other my private repository.

"mymod/mymod.d.ts": {
  "repo": "https://myname@bitbucket.org/myname/my-private-repo.git",
  "ref": "34b942da5246518fe9d57abf7ce3ed4976af0000",
  "path": "interface/mymod.d.ts"
}

The mymods dtsm.json is written in a dependency that the other commit hash of my other repository, but dtsm refers to the same repository for <reference path="" /> inside mymod.d.ts.

It maybe based on the assumption operation of repositories in DefinitelyTyped. We cannot have way to write a dependency of the other d.ts repository hash.

Thanks.

vvakame commented 9 years ago

@armorik83 sorry, It can't do only command line operations. please modify dtsm.json file manually. If mymod/mymod.d.ts required ../node/node.d.ts, please add "node/node.d.ts" dependency to dtsm.json.


note https://gist.github.com/vvakame/820569a726a9c31e1f07

okunokentaro commented 9 years ago

I see, thank you!