Skip to content

Commit 6057f7c

Browse files
author
Andy
authored
github: Provides its own types (DefinitelyTyped#15557)
1 parent e69b58e commit 6057f7c

File tree

5 files changed

+11
-381
lines changed

5 files changed

+11
-381
lines changed

notNeededPackages.json

+10-4
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
"sourceRepoURL": "https://github.com/ascoders/gaea-model",
8585
"asOfVersion": "0.0.0"
8686
},
87+
{
88+
"libraryName": "github",
89+
"typingsPackageName": "github",
90+
"sourceRepoURL": "https://github.com/mikedeboer/node-github",
91+
"asOfVersion": "7.1.0"
92+
},
8793
{
8894
"libraryName": "Facebook's Immutable",
8995
"typingsPackageName": "immutable",
@@ -157,10 +163,10 @@
157163
"asOfVersion": "1.0.0"
158164
},
159165
{
160-
"libraryName": "localforage",
161-
"typingsPackageName": "localforage",
162-
"sourceRepoURL": "https://github.com/localForage/localForage",
163-
"asOfVersion": "0.0.34"
166+
"libraryName": "localforage",
167+
"typingsPackageName": "localforage",
168+
"sourceRepoURL": "https://github.com/localForage/localForage",
169+
"asOfVersion": "0.0.34"
164170
},
165171
{
166172
"libraryName": "lower-case",

scripts/not-needed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rmdirRecursive(path.join("types", typingsPackageName));
1717
const notNeededPackages = JSON.parse(fs.readFileSync("notNeededPackages.json", "utf-8"));
1818
notNeededPackages.packages.push({ libraryName, typingsPackageName, sourceRepoURL, asOfVersion });
1919
notNeededPackages.packages.sort((x, y) => x.typingsPackageName < y.typingsPackageName ? -1 : 1);
20-
fs.writeFileSync("notNeededPackages.json", JSON.stringify(notNeededPackages, undefined, 4), "utf-8");
20+
fs.writeFileSync("notNeededPackages.json", JSON.stringify(notNeededPackages, undefined, 4) + "\n", "utf-8");
2121

2222
function rmdirRecursive(dir) {
2323
for (let entry of fs.readdirSync(dir)) {

types/github/github-tests.ts

-27
This file was deleted.

types/github/index.d.ts

-326
This file was deleted.

0 commit comments

Comments
 (0)