Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
This repository was 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

@sotayamashita

Description

@sotayamashita

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions