Skip to content

Commit 6e181d3

Browse files
committed
Upgrade tsd to typings, Related to #9658
1 parent f9d2937 commit 6e181d3

File tree

4 files changed

+11
-18
lines changed

4 files changed

+11
-18
lines changed

Jakefile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,11 @@ task("publish-nightly", ["configure-nightly", "LKG", "clean", "setDebugMode", "r
466466
exec(cmd);
467467
});
468468

469-
var scriptsTsdJson = path.join(scriptsDirectory, "tsd.json");
470-
file(scriptsTsdJson);
469+
var scriptsTypingsJson = path.join(scriptsDirectory, "typings.json");
470+
file(scriptsTypingsJson);
471471

472-
task("tsd-scripts", [scriptsTsdJson], function () {
473-
var cmd = "tsd --config " + scriptsTsdJson + " install";
472+
task("tsd-scripts", [scriptsTypingsJson], function () {
473+
var cmd = "typings install";
474474
console.log(cmd);
475475
exec(cmd);
476476
}, { async: true });

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
"run-sequence": "latest",
7171
"through2": "latest",
7272
"ts-node": "latest",
73-
"tsd": "latest",
7473
"tslint": "next",
75-
"typescript": "next"
74+
"typescript": "next",
75+
"typings": "latest"
7676
},
7777
"scripts": {
7878
"pretest": "jake tests",

scripts/tsd.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

scripts/typings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"globalDependencies": {
3+
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#5f480287834a2615274eea31574b713e64decf17"
4+
}
5+
}

0 commit comments

Comments
 (0)