diff --git a/Headroom/tsconfig.json b/Headroom/tsconfig.json index 5bb05e29bb..7513e87fe9 100644 --- a/Headroom/tsconfig.json +++ b/Headroom/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "headroom-tests.ts" + "Headroom-tests.ts" ] } \ No newline at end of file diff --git a/OpenJsCad/tsconfig.json b/OpenJsCad/tsconfig.json index 1b8c1b55ce..bce64cbc97 100644 --- a/OpenJsCad/tsconfig.json +++ b/OpenJsCad/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "openjscad-tests.ts" + "OpenJsCad-tests.ts" ] } \ No newline at end of file diff --git a/acl/tsconfig.json b/acl/tsconfig.json index 065004a735..3c28b25610 100644 --- a/acl/tsconfig.json +++ b/acl/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "acl-mongodbBackend-tests.ts" + "acl-tests.ts" ] } \ No newline at end of file diff --git a/adal/tsconfig.json b/adal/tsconfig.json index 13a8870e86..af9df9e110 100644 --- a/adal/tsconfig.json +++ b/adal/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "adal-angular-tests.ts" + "adal-tests.ts" ] } \ No newline at end of file diff --git a/angular-permission/tsconfig.json b/angular-permission/tsconfig.json index b11dd97d19..18277a0408 100644 --- a/angular-permission/tsconfig.json +++ b/angular-permission/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "angular-permission-2.3.1-tests.ts" + "angular-permission-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/arbiter/tsconfig.json b/arbiter/tsconfig.json index 97075831e7..8e4258a8f9 100644 --- a/arbiter/tsconfig.json +++ b/arbiter/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "Arbiter-tests.ts" + "arbiter-tests.ts" ] } \ No newline at end of file diff --git a/async/tsconfig.json b/async/tsconfig.json index d38c91b89e..16ce023eb9 100644 --- a/async/tsconfig.json +++ b/async/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "async-explicit-tests.ts" + "async-tests.ts" ] } \ No newline at end of file diff --git a/bluebird/tsconfig.json b/bluebird/tsconfig.json index 2f67dad74e..b7544420b6 100644 --- a/bluebird/tsconfig.json +++ b/bluebird/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "bluebird-1.0-tests.ts" + "bluebird-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/chai/tsconfig.json b/chai/tsconfig.json index 855930b2df..5e194fef23 100644 --- a/chai/tsconfig.json +++ b/chai/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "chai-3.2.0-tests.ts" + "chai-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/chrome/tsconfig.json b/chrome/tsconfig.json index cdd1840bec..01fee1deb4 100644 --- a/chrome/tsconfig.json +++ b/chrome/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "chrome-app-tests.ts" + "chrome-tests.ts" ] } \ No newline at end of file diff --git a/codemirror/tsconfig.json b/codemirror/tsconfig.json index a1e4844ea5..5d7a71dd46 100644 --- a/codemirror/tsconfig.json +++ b/codemirror/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "codemirror-matchbrackets-tests.ts" + "codemirror-tests.ts" ] } \ No newline at end of file diff --git a/dragula/tsconfig.json b/dragula/tsconfig.json index 732da16603..cc6c8fe1e8 100644 --- a/dragula/tsconfig.json +++ b/dragula/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "dragula-amd-tests.ts" + "dragula-tests.ts" ] } \ No newline at end of file diff --git a/dropzone/tsconfig.json b/dropzone/tsconfig.json index 4e95563bd0..77d92545e6 100644 --- a/dropzone/tsconfig.json +++ b/dropzone/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "dropzone-commonjs-tests.ts" + "dropzone-tests.ts" ] } \ No newline at end of file diff --git a/easy-table/tsconfig.json b/easy-table/tsconfig.json index 930264e421..77acddfdd4 100644 --- a/easy-table/tsconfig.json +++ b/easy-table/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "easy-table-0.2.0-tests.ts" + "easy-table-tests.ts" ] } \ No newline at end of file diff --git a/es6-promise/tsconfig.json b/es6-promise/tsconfig.json index 75261f9178..8a0fb0dd43 100644 --- a/es6-promise/tsconfig.json +++ b/es6-promise/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "es6-promise-commonjs-tests.ts" + "es6-promise-tests.ts" ] } \ No newline at end of file diff --git a/expect.js/tsconfig.json b/expect.js/tsconfig.json index 0c3607a979..106d16dcb2 100644 --- a/expect.js/tsconfig.json +++ b/expect.js/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "expect.js-commonjs-tests.ts" + "expect.js-tests.ts" ] } \ No newline at end of file diff --git a/extjs/tsconfig.json b/extjs/tsconfig.json index d76d608a20..17cbc67956 100644 --- a/extjs/tsconfig.json +++ b/extjs/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "ExtJS-tests.ts" + "extjs-tests.ts" ] } \ No newline at end of file diff --git a/falcor/tsconfig.json b/falcor/tsconfig.json index b434dc79f8..43759aee17 100644 --- a/falcor/tsconfig.json +++ b/falcor/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "falcor-browser-tests.ts" + "falcor-tests.ts" ] } \ No newline at end of file diff --git a/firebase/tsconfig.json b/firebase/tsconfig.json index 43300f6887..0cf46d8948 100644 --- a/firebase/tsconfig.json +++ b/firebase/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "firebase-simplelogin-tests.ts" + "firebase-tests.ts" ] } \ No newline at end of file diff --git a/format-unicorn/tsconfig.json b/format-unicorn/tsconfig.json index 0d533fd11a..a72b1c3f5a 100644 --- a/format-unicorn/tsconfig.json +++ b/format-unicorn/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "format-unicorn-safe-tests.ts" + "format-unicorn-tests.ts" ] } \ No newline at end of file diff --git a/hammerjs/tsconfig.json b/hammerjs/tsconfig.json index 9f6e02aab0..3d9bc270b1 100644 --- a/hammerjs/tsconfig.json +++ b/hammerjs/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "hammerjs-1.1.3-tests.ts" + "hammerjs-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/hashmap/tsconfig.json b/hashmap/tsconfig.json index 847fb926a7..60109837f1 100644 --- a/hashmap/tsconfig.json +++ b/hashmap/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "hashmap-1.1-tests.ts" + "hashmap-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/inversify/tsconfig.json b/inversify/tsconfig.json index 89321891bd..12b7ad31a1 100644 --- a/inversify/tsconfig.json +++ b/inversify/tsconfig.json @@ -13,6 +13,6 @@ }, "files": [ "index.d.ts", - "inversify-global-tests.ts" + "inversify-tests.ts" ] } \ No newline at end of file diff --git a/ion.rangeSlider/tsconfig.json b/ion.rangeSlider/tsconfig.json index c461f40722..0d27d893f2 100644 --- a/ion.rangeSlider/tsconfig.json +++ b/ion.rangeSlider/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "ion.rangeSlider-1.9.1-tests.ts" + "ion.rangeSlider-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/iscroll/tsconfig.json b/iscroll/tsconfig.json index 293d458258..ff4da62423 100644 --- a/iscroll/tsconfig.json +++ b/iscroll/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "iscroll-5-tests.ts" + "iscroll-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/jquery.ajaxfile/tsconfig.json b/jquery.ajaxfile/tsconfig.json index 6287672eb7..1e04ce2a9d 100644 --- a/jquery.ajaxfile/tsconfig.json +++ b/jquery.ajaxfile/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "jquery.ajaxFile-tests.ts" + "jquery.ajaxfile-tests.ts" ] } \ No newline at end of file diff --git a/jquery.slimScroll/tsconfig.json b/jquery.slimScroll/tsconfig.json index 9c663a2217..05200690d1 100644 --- a/jquery.slimScroll/tsconfig.json +++ b/jquery.slimScroll/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "jquery.SlimScroll-tests.ts" + "jquery.slimScroll-tests.ts" ] } \ No newline at end of file diff --git a/js-combinatorics/tsconfig.json b/js-combinatorics/tsconfig.json index cb8ab39226..6623e7d290 100644 --- a/js-combinatorics/tsconfig.json +++ b/js-combinatorics/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "js-combinatorics-global-tests.ts" + "js-combinatorics-tests.ts" ] } \ No newline at end of file diff --git a/js-data/tsconfig.json b/js-data/tsconfig.json index 968067ff36..1a39927610 100644 --- a/js-data/tsconfig.json +++ b/js-data/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "js-data-node-tests.ts" + "js-data-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/jssha/tsconfig.json b/jssha/tsconfig.json index 7f306047a7..b7e026e40c 100644 --- a/jssha/tsconfig.json +++ b/jssha/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "jssha-1.6.0-tests.ts" + "jssha-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/karma/tsconfig.json b/karma/tsconfig.json index 52695b6bf8..421ef92f43 100644 --- a/karma/tsconfig.json +++ b/karma/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "karma-0.12-tests.ts" + "karma-tests.ts" ] } \ No newline at end of file diff --git a/koa-compose/tsconfig.json b/koa-compose/tsconfig.json index 5b0a5de7ce..9593a5bed6 100644 --- a/koa-compose/tsconfig.json +++ b/koa-compose/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "koa-compose-2.3.1-tests.ts" + "koa-compose-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/koa/tsconfig.json b/koa/tsconfig.json index 30478bf95c..8bff9f2abf 100644 --- a/koa/tsconfig.json +++ b/koa/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "koa-1.1.2-tests.ts" + "koa-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/leapmotionTS/tsconfig.json b/leapmotionTS/tsconfig.json index cf55f6510b..677b41e957 100644 --- a/leapmotionTS/tsconfig.json +++ b/leapmotionTS/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "LeapMotionTS-tests.ts" + "leapmotionTS-tests.ts" ] } \ No newline at end of file diff --git a/lodash/tsconfig.json b/lodash/tsconfig.json index c26281b4d0..c4bf902b49 100644 --- a/lodash/tsconfig.json +++ b/lodash/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "lodash-3.10-tests.ts" + "lodash-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/mocha/tsconfig.json b/mocha/tsconfig.json index c3cb8149a6..d07dddb6ec 100644 --- a/mocha/tsconfig.json +++ b/mocha/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "mocha-node-tests.ts" + "mocha-tests.ts" ] } \ No newline at end of file diff --git a/moment/tsconfig.json b/moment/tsconfig.json index af4cf93cd0..7e3a357456 100644 --- a/moment/tsconfig.json +++ b/moment/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "moment-external-tests.ts" + "moment-tests.ts" ] } \ No newline at end of file diff --git a/mongodb/tsconfig.json b/mongodb/tsconfig.json index 1b878d4cda..ef0eb8b337 100644 --- a/mongodb/tsconfig.json +++ b/mongodb/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "mongodb-1.4.9-tests.ts" + "mongodb-tests.ts" ] } \ No newline at end of file diff --git a/mousetrap/tsconfig.json b/mousetrap/tsconfig.json index 9553578e9b..42d6b16bbf 100644 --- a/mousetrap/tsconfig.json +++ b/mousetrap/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "mousetrap-global-bind-tests.ts" + "mousetrap-tests.ts" ] } \ No newline at end of file diff --git a/mustache/tsconfig.json b/mustache/tsconfig.json index 92564efee9..f94a257b6c 100644 --- a/mustache/tsconfig.json +++ b/mustache/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "mustache-0.7.3-tests.ts" + "mustache-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/node-uuid/tsconfig.json b/node-uuid/tsconfig.json index 3b0d3ac2d3..8855e33598 100644 --- a/node-uuid/tsconfig.json +++ b/node-uuid/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "node-uuid-cjs-tests.ts" + "node-uuid-tests.ts" ] } \ No newline at end of file diff --git a/node/tsconfig.json b/node/tsconfig.json index 56bd68d7f9..451334e573 100644 --- a/node/tsconfig.json +++ b/node/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "node-0.11-tests.ts" + "node-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/nprogress/tsconfig.json b/nprogress/tsconfig.json index 558d8451db..f620e9dc1a 100644 --- a/nprogress/tsconfig.json +++ b/nprogress/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "NProgress-tests.ts" + "nprogress-tests.ts" ] } \ No newline at end of file diff --git a/numbro/tsconfig.json b/numbro/tsconfig.json index f1fd06ee2e..9e04139421 100644 --- a/numbro/tsconfig.json +++ b/numbro/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "numbro-commonjs-tests.ts" + "numbro-tests.ts" ] } \ No newline at end of file diff --git a/phantom/tsconfig.json b/phantom/tsconfig.json index bc47fe529b..86652ba393 100644 --- a/phantom/tsconfig.json +++ b/phantom/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "phantom-1.0.0-tests.ts" + "phantom-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/playerframework/tsconfig.json b/playerframework/tsconfig.json index 9bd4014ed5..49e6373873 100644 --- a/playerframework/tsconfig.json +++ b/playerframework/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "playerFramework-tests.ts" + "playerframework-tests.ts" ] } \ No newline at end of file diff --git a/q-io/tsconfig.json b/q-io/tsconfig.json index d396b07301..47cc97955c 100644 --- a/q-io/tsconfig.json +++ b/q-io/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "Q-io-tests.ts" + "q-io-tests.ts" ] } \ No newline at end of file diff --git a/q/tsconfig.json b/q/tsconfig.json index d6d6c237b6..8abd56d69b 100644 --- a/q/tsconfig.json +++ b/q/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "Q-tests.ts" + "q-tests.ts" ] } \ No newline at end of file diff --git a/react-router-redux/tsconfig.json b/react-router-redux/tsconfig.json index b4066d90a7..886f5b6d77 100644 --- a/react-router-redux/tsconfig.json +++ b/react-router-redux/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "react-router-redux-2.x-tests.ts" + "react-router-redux-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/react/tsconfig.json b/react/tsconfig.json index 6358471536..a56b4af551 100644 --- a/react/tsconfig.json +++ b/react/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "react-global-tests.ts" + "react-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/scripts/rename-entry-points.ts b/scripts/rename-entry-points.ts index bf0b19437f..e1ea0c51d3 100644 --- a/scripts/rename-entry-points.ts +++ b/scripts/rename-entry-points.ts @@ -1,4 +1,4 @@ -/// +/// 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); diff --git a/sharedworker/tsconfig.json b/sharedworker/tsconfig.json index e897323427..76e83aed92 100644 --- a/sharedworker/tsconfig.json +++ b/sharedworker/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "SharedWorker-tests.ts" + "sharedworker-tests.ts" ] } \ No newline at end of file diff --git a/sharepoint/tsconfig.json b/sharepoint/tsconfig.json index b4f4bf0512..5aceccc963 100644 --- a/sharepoint/tsconfig.json +++ b/sharepoint/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "SharePoint-tests.ts" + "sharepoint-tests.ts" ] } \ No newline at end of file diff --git a/signalr/tsconfig.json b/signalr/tsconfig.json index cd2db6e327..8e92ec183e 100644 --- a/signalr/tsconfig.json +++ b/signalr/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "signalr-1.0-tests.ts" + "signalr-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/slickgrid/tsconfig.json b/slickgrid/tsconfig.json index 06e4dc387a..d83d287fc0 100644 --- a/slickgrid/tsconfig.json +++ b/slickgrid/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "slick.autotooltips-tests.ts" + "slickgrid-tests.ts" ] } \ No newline at end of file diff --git a/tv4/tsconfig.json b/tv4/tsconfig.json index 6247c22f0b..69e9d63d4c 100644 --- a/tv4/tsconfig.json +++ b/tv4/tsconfig.json @@ -1,7 +1,7 @@ { "files": [ "index.d.ts", - "tv4-1.2.4-tests.ts" + "tv4-tests.ts" ], "compilerOptions": { "module": "commonjs", diff --git a/urijs/tsconfig.json b/urijs/tsconfig.json index c2a63c6c3c..55a6c99d32 100644 --- a/urijs/tsconfig.json +++ b/urijs/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "URIjs-tests.ts" + "urijs-tests.ts" ] } \ No newline at end of file diff --git a/uuid/tsconfig.json b/uuid/tsconfig.json index 68f54a1bb0..f703e64adc 100644 --- a/uuid/tsconfig.json +++ b/uuid/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "UUID-tests.ts" + "uuid-tests.ts" ] } \ No newline at end of file diff --git a/webpack/tsconfig.json b/webpack/tsconfig.json index 55f92be012..0c4248e6d3 100644 --- a/webpack/tsconfig.json +++ b/webpack/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "webpack-env-tests.ts" + "webpack-tests.ts" ] } \ No newline at end of file diff --git a/xsockets/tsconfig.json b/xsockets/tsconfig.json index 648a3d5a6b..79e701d018 100644 --- a/xsockets/tsconfig.json +++ b/xsockets/tsconfig.json @@ -12,6 +12,6 @@ }, "files": [ "index.d.ts", - "XSockets-tests.ts" + "xsockets-tests.ts" ] } \ No newline at end of file