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

Overlap path value install library --save each time in tsd.d.ts #112

Open
sotayamashita opened this issue Dec 4, 2014 · 3 comments
Open

Comments

@sotayamashita
Copy link

I changed the path and bundle in tsd.json and when I try to install libraries, path is overlapped each times.

I create a sample directory which is test, to verify this issue. Here is detail below:

Configure my environment:

$ mkdir test && cd $_
$ tsd init
$ rm -r typing

Edit tsd.json:

{
    "version": "v4",
    "repo": "borisyankov/DefinitelyTyped",
    "ref": "master",
    "path": "libs/tsd",
    "bundle": "tsd.d.ts",
    "installed": {}
}

Install libraries:

$ tsd install jquery --save
 - jquery / jquery

 >> running install..

 >> written 1 file:

   - jquery/jquery.d.ts
$ cat cat tsd.d.ts
/// <reference path="libs/tsd/jquery/jquery.d.ts" />

$  tsd install backbone --save
$ cat cat tsd.d.ts
/// <reference path="libs/tsd/libs/tsd/jquery/jquery.d.ts" />
/// <reference path="libs/tsd/backbone/backbone.d.ts" />

Thank in advance.

@sotayamashita sotayamashita changed the title Overlap path value install library --save each time in tsd.d.ts Overlap path value install library --save each time in tsd.d.ts Dec 4, 2014
@michikono
Copy link

Same problem listed here: #96

@sotayamashita
Copy link
Author

@michikono thanks.

@sotayamashita
Copy link
Author

Here is a list trying to fine the situation below:

  • Include tsd or lib in path in tsd,json
  • tsd.d.ts ' s location.
  • The way to install libraries.

@blakeembrey blakeembrey mentioned this issue May 1, 2015
7 tasks
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

2 participants