DefinitelyTyped / grunt-tsd

Grunt plugin to automate TSD and TypeScript definition related tasks
MIT License
16 stars 8 forks source link

Plugin doesn't create a tsd.d.ts file #7

Open lazdmx opened 10 years ago

lazdmx commented 10 years ago

Plugin doesn't create a tsd.d.ts file in typings director

progre commented 10 years ago

tsd.d.ts is created at latest: true, but it isn't created at latest: false. i want to create whichever.

Bartvds commented 10 years ago

Thanks for reporting!

I might have solved this in a TSD 0.5.7 (preview) already, otherwise it is probably easy to arrange.

I'll try to look into it asap!

Bartvds commented 10 years ago

I just pushed v0.1.0 to npm:

Both the reinstall modes will now save the tsd.d.ts by default (if you have the bundle element in your tsd.json).

patkujawa-wf commented 10 years ago

This doesn't relate to grunt-tsd but to generation of the tsd.d.ts file by the reinstall task. I tried tsd reinstall (tsd 0.5.7) with the following tsd.json and typings/tsd.d.ts was not generated - any idea why?

EDIT: I had to do tsd reinstall --save --overwrite to actually get the tsd.d.ts file written :/

{
  "version": "v4",
  "repo": "borisyankov/DefinitelyTyped",
  "ref": "master",
  "path": "api",
  "bundle": "typings/tsd.d.ts",
  "installed": {
    "jasmine/jasmine.d.ts": {
      "commit": "9d2478b8a80febe1d89a5d35cdf6051d121f5437"
    },
    "node/node.d.ts": {
      "commit": "9d2478b8a80febe1d89a5d35cdf6051d121f5437"
    },
    "lodash/lodash.d.ts": {
      "commit": "bba33bcb0b363ae41db8517a09d1a4d07828616b"
    },
    "google.analytics/ga.d.ts": {
      "commit": "bba33bcb0b363ae41db8517a09d1a4d07828616b"
    }
  }
}
kichooo commented 9 years ago

Still reproducing.