mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Use correct test list
This commit is contained in:
parent
bfd400a8f8
commit
612c172c52
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"headroom-tests.ts"
|
||||
"Headroom-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"openjscad-tests.ts"
|
||||
"OpenJsCad-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"acl-mongodbBackend-tests.ts"
|
||||
"acl-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"adal-angular-tests.ts"
|
||||
"adal-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"angular-permission-2.3.1-tests.ts"
|
||||
"angular-permission-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"Arbiter-tests.ts"
|
||||
"arbiter-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"async-explicit-tests.ts"
|
||||
"async-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"bluebird-1.0-tests.ts"
|
||||
"bluebird-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"chai-3.2.0-tests.ts"
|
||||
"chai-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"chrome-app-tests.ts"
|
||||
"chrome-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"codemirror-matchbrackets-tests.ts"
|
||||
"codemirror-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"dragula-amd-tests.ts"
|
||||
"dragula-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"dropzone-commonjs-tests.ts"
|
||||
"dropzone-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"easy-table-0.2.0-tests.ts"
|
||||
"easy-table-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"es6-promise-commonjs-tests.ts"
|
||||
"es6-promise-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"expect.js-commonjs-tests.ts"
|
||||
"expect.js-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ExtJS-tests.ts"
|
||||
"extjs-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"falcor-browser-tests.ts"
|
||||
"falcor-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"firebase-simplelogin-tests.ts"
|
||||
"firebase-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"format-unicorn-safe-tests.ts"
|
||||
"format-unicorn-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"hammerjs-1.1.3-tests.ts"
|
||||
"hammerjs-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"hashmap-1.1-tests.ts"
|
||||
"hashmap-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"inversify-global-tests.ts"
|
||||
"inversify-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"ion.rangeSlider-1.9.1-tests.ts"
|
||||
"ion.rangeSlider-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"iscroll-5-tests.ts"
|
||||
"iscroll-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"jquery.ajaxFile-tests.ts"
|
||||
"jquery.ajaxfile-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"jquery.SlimScroll-tests.ts"
|
||||
"jquery.slimScroll-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"js-combinatorics-global-tests.ts"
|
||||
"js-combinatorics-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"js-data-node-tests.ts"
|
||||
"js-data-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"jssha-1.6.0-tests.ts"
|
||||
"jssha-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"karma-0.12-tests.ts"
|
||||
"karma-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"koa-compose-2.3.1-tests.ts"
|
||||
"koa-compose-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"koa-1.1.2-tests.ts"
|
||||
"koa-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"LeapMotionTS-tests.ts"
|
||||
"leapmotionTS-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"lodash-3.10-tests.ts"
|
||||
"lodash-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"mocha-node-tests.ts"
|
||||
"mocha-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"moment-external-tests.ts"
|
||||
"moment-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"mongodb-1.4.9-tests.ts"
|
||||
"mongodb-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"mousetrap-global-bind-tests.ts"
|
||||
"mousetrap-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"mustache-0.7.3-tests.ts"
|
||||
"mustache-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"node-uuid-cjs-tests.ts"
|
||||
"node-uuid-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"node-0.11-tests.ts"
|
||||
"node-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"NProgress-tests.ts"
|
||||
"nprogress-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"numbro-commonjs-tests.ts"
|
||||
"numbro-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"phantom-1.0.0-tests.ts"
|
||||
"phantom-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"playerFramework-tests.ts"
|
||||
"playerframework-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"Q-io-tests.ts"
|
||||
"q-io-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"Q-tests.ts"
|
||||
"q-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"react-router-redux-2.x-tests.ts"
|
||||
"react-router-redux-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"react-global-tests.ts"
|
||||
"react-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference path="../node/index.d.ts" />
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
@ -41,22 +41,20 @@ function checkDir(home: string, count: number) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
let testFile = path.join(dir, path.basename(dir) + '-tests.ts');
|
||||
if (!fs.existsSync(testFile)) {
|
||||
testFile = files.filter(f => f.toLowerCase().indexOf('-tests.ts') > 0)[0];
|
||||
let onlyTest = files.filter(f => f.toLowerCase().indexOf('-tests.ts') > 0)[0];
|
||||
if (onlyTest) {
|
||||
testFile = path.join(dir, onlyTest);
|
||||
} else {
|
||||
testFile = undefined;
|
||||
}
|
||||
}
|
||||
if (testFile) {
|
||||
old['files'] = ['index.d.ts', testFile];
|
||||
old['files'] = ['index.d.ts', path.basename(testFile)];
|
||||
} else {
|
||||
old['files'] = ['index.d.ts'];
|
||||
}
|
||||
if (entryPoint !== 'index.d.ts') {
|
||||
fs.rename(path.join(dir, entryPoint), path.join(dir, 'index.d.ts'));
|
||||
}
|
||||
*/
|
||||
|
||||
old['compilerOptions']['noEmit'] = true;
|
||||
|
||||
fs.writeFileSync(target, JSON.stringify(old, undefined, 4));
|
||||
console.log('Write to ' + target);
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"SharedWorker-tests.ts"
|
||||
"sharedworker-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"SharePoint-tests.ts"
|
||||
"sharepoint-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"signalr-1.0-tests.ts"
|
||||
"signalr-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"slick.autotooltips-tests.ts"
|
||||
"slickgrid-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"tv4-1.2.4-tests.ts"
|
||||
"tv4-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"URIjs-tests.ts"
|
||||
"urijs-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"UUID-tests.ts"
|
||||
"uuid-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"webpack-env-tests.ts"
|
||||
"webpack-tests.ts"
|
||||
]
|
||||
}
|
||||
@ -12,6 +12,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"XSockets-tests.ts"
|
||||
"xsockets-tests.ts"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user