Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

query definitions from multiple repo #97

Open
Cellule opened this issue Oct 10, 2014 · 6 comments
Open

query definitions from multiple repo #97

Cellule opened this issue Oct 10, 2014 · 6 comments

Comments

@Cellule
Copy link
Contributor

Cellule commented Oct 10, 2014

I'm using tsd to manage typescript definition files across a few projects. Right now it works perfectly by changing the repo field in the tsd.json file.
However, I would like for queries to check first in my project then if nothing is found, go look in another and possibly another.
I thought the repo field could be an array (or a simple string too) like

{
  "version": "v4",
  "repo": ["owner1/project","owner2/project"],
  "ref": "master",
  "path": "typings",
  "bundle": "typings/tsd.d.ts"
}

this way it would check the first repo then the next.

@Cellule
Copy link
Contributor Author

Cellule commented Oct 12, 2014

Finally I'm using 2 config file and I specify which one to use. Is there a better way to handle this ?

@Bartvds
Copy link
Collaborator

Bartvds commented Oct 22, 2014

At this point pretty much everything in here assumes a single repo+ref. The idea was for private/in-progress definitions to use your own fork of DT (and use git for update management). And like you noted, using different configs is also an option if it works for you.

It has be requested a few times to have proper multiple repo support, it is definitely on the list.

@tiriana
Copy link

tiriana commented Apr 2, 2015

+1 for multi repo support

@wojciak
Copy link

wojciak commented Apr 2, 2015

+1 this would be very useful

@blakeembrey blakeembrey mentioned this issue May 1, 2015
7 tasks
@ghost
Copy link

ghost commented Jul 20, 2015

+1 !!! Very useful

@reverofevil
Copy link

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants