From 445f31eb0c40cea38a83fb2985b738cfa947640c Mon Sep 17 00:00:00 2001 From: Pmyl Date: Sat, 11 Jan 2020 20:31:43 +0000 Subject: [PATCH] feat(DefinitelyTyped): add process with ui to run createMock on every type of DefinitelyTyped repository (#136) --- .github/workflows/definitelyTyped.yml | 23 +-- .gitignore | 1 + config/karma/karma.config.base.js | 2 +- config/process/process.js | 18 --- .../756c5f8d-be26-43fc-8831-0a12df4c972e.json | 1 + data/definitelyTyped/list.json | 1 + definitelyTypedTests/.env | 1 + definitelyTypedTests/index.js | 141 ++++++++++++++++++ definitelyTypedTests/package-lock.json | 39 +++++ definitelyTypedTests/package.json | 22 +++ definitelyTypedTests/src/config.js | 56 +++++++ definitelyTypedTests/src/definitelyTyped.js | 18 +++ definitelyTypedTests/src/installTypes.js | 74 +++++++++ definitelyTypedTests/src/maximiseParallel.js | 18 +++ .../src/multiProcessOutput.js | 34 +++++ definitelyTypedTests/src/postProcessTypes.js | 22 +++ package-lock.json | 6 +- package.json | 2 +- tsconfig.base.json | 7 +- ui/.env | 1 + ui/.env.development | 1 + ui/src/app/data/browserFileReader.ts | 9 ++ .../app/definitelyTyped/definitelyTyped.scss | 67 +++++++++ .../app/definitelyTyped/definitelyTyped.tsx | 128 +++++++++++++++- .../filters/definitelyTypedFilters.scss | 90 +++++++++++ .../filters/definitelyTypedFilters.tsx | 80 ++++++++++ .../definitelyTyped/filters/filterService.ts | 39 +++++ .../definitelyTypedRun.interface.ts | 4 + .../interfaces/definitelyTypedRunResponse.ts | 5 + .../definitelyTypedTypeRun.interface.ts | 7 + ui/src/app/input/input.scss | 30 ++++ ui/src/app/useDebounce/useDebounce.ts | 17 +++ ui/webpack.config.js | 2 +- .../dataFileSystem/dataFileSystemReader.d.ts | 23 +++ utils/dataFileSystem/dataFileSystemReader.js | 43 ++++++ .../dataFileSystem/dataFileSystemWriter.d.ts | 6 + utils/dataFileSystem/dataFileSystemWriter.js | 42 ++++++ utils/dataFileSystem/nodeFileReader.js | 19 +++ utils/exec/execPromise.js | 16 ++ utils/process/process.js | 40 +++++ utils/uuid/uuid.js | 8 + 41 files changed, 1121 insertions(+), 42 deletions(-) delete mode 100644 config/process/process.js create mode 100644 data/definitelyTyped/756c5f8d-be26-43fc-8831-0a12df4c972e.json create mode 100644 data/definitelyTyped/list.json create mode 100644 definitelyTypedTests/.env create mode 100644 definitelyTypedTests/index.js create mode 100644 definitelyTypedTests/package-lock.json create mode 100644 definitelyTypedTests/package.json create mode 100644 definitelyTypedTests/src/config.js create mode 100644 definitelyTypedTests/src/definitelyTyped.js create mode 100644 definitelyTypedTests/src/installTypes.js create mode 100644 definitelyTypedTests/src/maximiseParallel.js create mode 100644 definitelyTypedTests/src/multiProcessOutput.js create mode 100644 definitelyTypedTests/src/postProcessTypes.js create mode 100644 ui/src/app/data/browserFileReader.ts create mode 100644 ui/src/app/definitelyTyped/definitelyTyped.scss create mode 100644 ui/src/app/definitelyTyped/filters/definitelyTypedFilters.scss create mode 100644 ui/src/app/definitelyTyped/filters/definitelyTypedFilters.tsx create mode 100644 ui/src/app/definitelyTyped/filters/filterService.ts create mode 100644 ui/src/app/definitelyTyped/interfaces/definitelyTypedRun.interface.ts create mode 100644 ui/src/app/definitelyTyped/interfaces/definitelyTypedRunResponse.ts create mode 100644 ui/src/app/definitelyTyped/interfaces/definitelyTypedTypeRun.interface.ts create mode 100644 ui/src/app/input/input.scss create mode 100644 ui/src/app/useDebounce/useDebounce.ts create mode 100644 utils/dataFileSystem/dataFileSystemReader.d.ts create mode 100644 utils/dataFileSystem/dataFileSystemReader.js create mode 100644 utils/dataFileSystem/dataFileSystemWriter.d.ts create mode 100644 utils/dataFileSystem/dataFileSystemWriter.js create mode 100644 utils/dataFileSystem/nodeFileReader.js create mode 100644 utils/exec/execPromise.js create mode 100644 utils/process/process.js create mode 100644 utils/uuid/uuid.js diff --git a/.github/workflows/definitelyTyped.yml b/.github/workflows/definitelyTyped.yml index 5c8d9239c..97a6dffa4 100644 --- a/.github/workflows/definitelyTyped.yml +++ b/.github/workflows/definitelyTyped.yml @@ -1,15 +1,11 @@ name: DefinitelyTyped Tests on: - push: - branches: - - 'feature/definitelytype' - paths: - - 'src/**' - - 'definitelyTyped/**' + schedule: + - cron: '* * */1 * *' jobs: - performance: + definitely-typed: runs-on: ubuntu-latest strategy: @@ -26,14 +22,11 @@ jobs: run: | npm install npm run build - env: - CI: true - name: definitelyTyped run: | - cd definitelyTyped + cd definitelyTypedTests npm install - npm run install-types - npm run process-types TYPES=2 + npm run start-chunk - name: create environment variable date run: echo "::set-env name=DATE::$(date +%Y-%m-%dT%H-%M-%S)" - name: definitelyTyped push changes @@ -44,13 +37,13 @@ jobs: run: | git add data/* git checkout . - git config submodule.DefinitelyTyped.active false - name: Create Pull Request uses: peter-evans/create-pull-request@v2.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_TYPESCRIPTTDD }} with: commit-message: Add DefinitelyTyped Tests data committer: typescripttdd author: typescripttdd title: DefinitelyTyped Tests Data on ${{ env.DATE }} - branch: definitely-typed-tests-${{ env.DATE }} - token: ${{ secrets.GITHUB_TOKEN }} + branch: definitely-typed-tests diff --git a/.gitignore b/.gitignore index 82ee25a10..9354d0bc8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules dist .idea +/definitelyTyped/DefinitelyTyped/ diff --git a/config/karma/karma.config.base.js b/config/karma/karma.config.base.js index af5ad8609..ced84a659 100644 --- a/config/karma/karma.config.base.js +++ b/config/karma/karma.config.base.js @@ -1,5 +1,5 @@ const webpackConfig = require('../test/webpack.js'); -const ProcessService = require('../process/process'); +const ProcessService = require('../../utils/process/process'); process.env.CHROME_BIN = require('puppeteer').executablePath(); module.exports = function(config, url) { diff --git a/config/process/process.js b/config/process/process.js deleted file mode 100644 index 669ca000b..000000000 --- a/config/process/process.js +++ /dev/null @@ -1,18 +0,0 @@ -function ProcessService(process) { - const processArguments = process.argv; - - return { - getArgument(argumentName) { - let valueToFind = ''; - processArguments.forEach((argument) => { - const values = argument.split('='); - if (argumentName === values[0]) - valueToFind = values[1]; - }); - - return valueToFind; - } - } -} - -module.exports = ProcessService; diff --git a/data/definitelyTyped/756c5f8d-be26-43fc-8831-0a12df4c972e.json b/data/definitelyTyped/756c5f8d-be26-43fc-8831-0a12df4c972e.json new file mode 100644 index 000000000..549561186 --- /dev/null +++ b/data/definitelyTyped/756c5f8d-be26-43fc-8831-0a12df4c972e.json @@ -0,0 +1 @@ +[{"item":"7zip-min","response":"success"},{"item":"a-big-triangle","response":"success"},{"item":"a11y-dialog","response":"success"},{"item":"abbrev","response":"success"},{"item":"abs","response":"success"},{"item":"absolute","response":"success"},{"item":"abstract-leveldown","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property 'kind' of undefined\n"},{"item":"acc-wizard","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"accept","response":"success"},{"item":"accept-language-parser","response":"success"},{"item":"accepts","response":"success"},{"item":"accounting","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property 'kind' of undefined\n"},{"item":"accurate-interval","response":"success"},{"item":"ace","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"ace-diff","response":"success"},{"item":"acl","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property 'find' of undefined\n"},{"item":"acorn","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property 'find' of undefined\n"},{"item":"actioncable","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activedirectory2","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\n\n../DefinitelyTyped/types/activedirectory2/index.d.ts(7,24): error TS2307: Cannot find module 'ldapjs'.\n"},{"item":"activestorage","response":"success"},{"item":"activex-access","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-adodb","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-adox","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-dao","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-diskquota","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-excel","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-faxcomexlib","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-infopath","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-interop","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-iwshruntimelibrary","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-libreoffice","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\nCannot read property '0' of undefined\n"},{"item":"activex-msforms","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-mshtml","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-msxml2","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-office","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-outlook","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-powerpoint","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-scripting","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-shdocvw","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-shell","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-stdole","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-vbide","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-wia","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"activex-word","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"adal-angular","response":"success"},{"item":"add-zero","response":"success"},{"item":"add2home","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property '0' of undefined\n"},{"item":"adhan","response":"success"},{"item":"adlib","response":"success"},{"item":"adm-zip","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"adone","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n../DefinitelyTyped/types/adone/adone.d.ts(2,23): error TS2688: Cannot find type definition file for 'lodash'.\n../DefinitelyTyped/types/adone/adone.d.ts(3,23): error TS2688: Cannot find type definition file for 'benchmark'.\n../DefinitelyTyped/types/adone/adone.d.ts(4,23): error TS2688: Cannot find type definition file for 'async'.\n../DefinitelyTyped/types/adone/adone.d.ts(113,26): error TS2503: Cannot find namespace '_'.\n../DefinitelyTyped/types/adone/benchmark.d.ts(1,28): error TS2307: Cannot find module 'benchmark'.\n"},{"item":"aes-js","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"aframe","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property 'name' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: SetAccessor - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n"},{"item":"agenda","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property 'find' of undefined\n"},{"item":"agent-base","response":"success"},{"item":"agiledigital__mule-preview","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property 'find' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeOperator - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeOperator - it will convert to null\n"},{"item":"agilite","response":"success"},{"item":"agora-rtc-sdk","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"airbnb-prop-types","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property 'find' of undefined\n"},{"item":"airtable","response":"success"},{"item":"ajv-async","response":"success"},{"item":"ajv-errors","response":"success"},{"item":"ajv-keywords","response":"success"},{"item":"ajv-merge-patch","response":"success"},{"item":"ajv-pack","response":"success"},{"item":"akamai-edgeworkers","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"akumina-core","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n../DefinitelyTyped/types/akumina-core/index.d.ts(9,23): error TS2688: Cannot find type definition file for 'jquery'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(209,50): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(298,39): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(365,52): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(370,54): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(403,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(464,36): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(468,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(469,58): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(470,62): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(471,51): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(472,35): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(558,73): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(560,96): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(562,63): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(565,32): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(567,30): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(571,39): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(575,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(579,40): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(584,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(589,86): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(597,60): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(613,52): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(645,70): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(651,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(657,58): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(664,83): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(670,62): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(677,77): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(686,110): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(695,101): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(705,131): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(711,59): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(714,36): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(720,39): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(726,50): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(732,95): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(738,55): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(746,95): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(747,93): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(748,116): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(749,117): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(757,106): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(759,97): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(774,83): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(783,85): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(791,85): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(798,67): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(804,68): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(809,106): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(810,102): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(817,95): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(823,93): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(829,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(837,106): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(843,37): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(845,40): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(849,71): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(854,36): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(859,73): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(863,36): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(870,66): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(911,89): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(917,67): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(923,59): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(929,62): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(935,91): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(940,43): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(947,50): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(953,44): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(959,48): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(966,71): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(972,71): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(978,55): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(984,45): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(990,62): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(996,66): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1002,59): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1008,41): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1014,71): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1019,40): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1025,60): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1030,36): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1035,35): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1042,69): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1048,44): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1053,44): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1058,41): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1064,44): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1070,44): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1076,83): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1091,67): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1092,34): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1098,49): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1104,50): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1111,70): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1118,61): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1124,62): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1131,83): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1138,73): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1147,110): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1157,98): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1168,57): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1178,137): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1183,35): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1195,67): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1201,48): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1208,58): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1214,64): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1220,56): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1226,52): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1232,64): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1238,54): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1244,55): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1249,41): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1255,55): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1263,95): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1264,43): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1275,52): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1281,50): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1287,64): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1299,47): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1311,55): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1317,58): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1323,53): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1329,75): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1339,79): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1339,137): error TS2304: Cannot find name 'JQueryDeferred'.\n../DefinitelyTyped/types/akumina-core/index.d.ts(1346,50): error TS2304: Cannot find name 'JQueryDeferred'.\n"},{"item":"ale-url-parser","response":"success"},{"item":"alertify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"alexa-sdk","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property 'kind' of undefined\n"},{"item":"alexa-voice-service","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"algebra.js","response":"success"},{"item":"algoliasearch","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"algoliasearch-helper","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property 'find' of undefined\n"},{"item":"ali-app","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"ali-oss","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"align-text","response":"success"},{"item":"alks-node","response":"success"},{"item":"all-the-package-names","response":"success"},{"item":"alloy","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.2.json\nCannot read property '0' of undefined\n"},{"item":"allure-js-commons","response":"success"},{"item":"almost-equal","response":"success"},{"item":"alpha-bravo","response":"success"},{"item":"alt","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-arrival-range","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-autocomplete","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-city-search","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-control-bar","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-district-search","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-driving","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-geocoder","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-geolocation","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-heatmap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-indoor-map","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-line-search","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-map-type","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-map3d","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-overview","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-place-search","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-riding","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-scale","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-station-search","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-api-tool-bar","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amap-js-sdk","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\nCannot read property '0' of undefined\n"},{"item":"amazon-cognito-auth-js","response":"success"},{"item":"amazon-connect-streams","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property '0' of undefined\n"},{"item":"amazon-product-api","response":"success"},{"item":"amcharts","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"amp","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"amp-message","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"amphtml-validator","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"amplifier","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property 'declarations' of undefined\n"},{"item":"amplify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property 'declarations' of undefined\n"},{"item":"amplify-deferred","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/amplify-deferred/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'jquery'.\n../DefinitelyTyped/types/amplify-deferred/index.d.ts(9,26): error TS2307: Cannot find module 'amplify'.\n../DefinitelyTyped/types/amplify-deferred/index.d.ts(19,64): error TS2304: Cannot find name 'JQueryPromise'.\n../DefinitelyTyped/types/amplify-deferred/index.d.ts(29,20): error TS2304: Cannot find name 'RequestSettings'.\n../DefinitelyTyped/types/amplify-deferred/index.d.ts(29,38): error TS2304: Cannot find name 'JQueryPromise'.\n"},{"item":"amplitude-js","response":"success"},{"item":"amqp","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property 'kind' of undefined\n"},{"item":"amqp-connection-manager","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/amqp-connection-manager/index.d.ts(8,71): error TS2307: Cannot find module 'amqplib'.\n../DefinitelyTyped/types/amqp-connection-manager/index.d.ts(10,35): error TS2307: Cannot find module 'tls'.\n../DefinitelyTyped/types/amqp-connection-manager/index.d.ts(162,60): error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.\n../DefinitelyTyped/types/amqp-connection-manager/index.d.ts(171,41): error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.\n"},{"item":"amqp-rpc","response":"success"},{"item":"amqplib","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"analytics-node","response":"success"},{"item":"anchor-js","response":"success"},{"item":"angular","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property 'kind' of undefined\n"},{"item":"angular-agility","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property '0' of undefined\n"},{"item":"angular-animate","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/angular-animate/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(22,33): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(23,40): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(24,34): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(25,40): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(26,34): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(27,43): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(28,37): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(29,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(30,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(31,30): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(32,33): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(35,45): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(49,42): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(49,71): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(58,44): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(58,74): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(66,26): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(66,49): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(75,30): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(93,30): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(104,28): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(104,51): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(104,74): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(113,28): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(125,27): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(125,50): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(125,73): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(136,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(147,34): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(159,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(288,50): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-animate/index.d.ts(302,23): error TS2304: Cannot find name 'JQuery'.\n4.index.ts(1,119): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-block-ui","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/angular-block-ui/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-block-ui/index.d.ts(79,36): error TS2304: Cannot find name 'IRequestConfig'.\n"},{"item":"angular-bootstrap-calendar","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/angular-bootstrap-calendar/index.d.ts(8,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-bootstrap-lightbox","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property '0' of undefined\n"},{"item":"angular-breadcrumb","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\n\n../DefinitelyTyped/types/angular-breadcrumb/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular-ui-router'.\n../DefinitelyTyped/types/angular-breadcrumb/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n4.index.ts(1,122): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-clipboard","response":"success"},{"item":"angular-cookie","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.4.json\nCannot read property '0' of undefined\n"},{"item":"angular-cookies","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-cookies/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n5.index.ts(1,119): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-deferred-bootstrap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-desktop-notification","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-desktop-notification/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-desktop-notification/index.d.ts(165,34): error TS2304: Cannot find name 'IPromise'.\n5.index.ts(1,132): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-dialog-service","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-environment","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-es","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-feature-flags","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-feature-flags/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-feature-flags/index.d.ts(9,21): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-file-saver","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-file-saver/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n5.index.ts(1,122): error TS2344: Type '\"ngFileSaver\"' does not satisfy the constraint 'object'.\n"},{"item":"angular-file-upload","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-file-upload/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-formly","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-fullscreen","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-fullscreen/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-fullscreen/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-gettext","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property 'find' of undefined\n"},{"item":"angular-google-analytics","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-google-analytics/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-google-analytics/index.d.ts(8,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-gridster","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-gridster/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(93,31): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(93,56): error TS2304: Cannot find name 'IAugmentedJQuery'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(96,32): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(96,57): error TS2304: Cannot find name 'IAugmentedJQuery'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(99,30): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(99,55): error TS2304: Cannot find name 'IAugmentedJQuery'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(117,31): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(117,56): error TS2304: Cannot find name 'IAugmentedJQuery'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(120,30): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(120,55): error TS2304: Cannot find name 'IAugmentedJQuery'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(123,30): error TS2304: Cannot find name 'IAngularEvent'.\n../DefinitelyTyped/types/angular-gridster/index.d.ts(123,55): error TS2304: Cannot find name 'IAugmentedJQuery'.\n"},{"item":"angular-growl-v2","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-growl-v2/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-growl-v2/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-growl-v2/index.d.ts(65,50): error TS2304: Cannot find name 'IHttpInterceptorFactory'.\n"},{"item":"angular-hotkeys","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property 'find' of undefined\n"},{"item":"angular-http-auth","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-http-auth/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-http-auth/index.d.ts(9,21): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-httpi","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-idle","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-idle/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-idle/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-idle/index.d.ts(17,42): error TS2304: Cannot find name 'IServiceProvider'.\n../DefinitelyTyped/types/angular-idle/index.d.ts(109,46): error TS2304: Cannot find name 'IServiceProvider'.\n../DefinitelyTyped/types/angular-idle/index.d.ts(119,34): error TS2304: Cannot find name 'IRequestConfig'.\n../DefinitelyTyped/types/angular-idle/index.d.ts(163,41): error TS2304: Cannot find name 'IServiceProvider'.\n"},{"item":"angular-jwt","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-jwt/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-jwt/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-load","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property '0' of undefined\n"},{"item":"angular-loading-bar","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-loading-bar/index.d.ts(8,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-loading-bar/index.d.ts(13,26): error TS2307: Cannot find module 'angular'.\n5.index.ts(1,123): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-local-storage","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property 'find' of undefined\n"},{"item":"angular-localforage","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-localforage/index.d.ts(8,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-localforage/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-locker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\n\n../DefinitelyTyped/types/angular-locker/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-locker/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-locker/index.d.ts(109,25): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-locker/index.d.ts(150,27): error TS2304: Cannot find name 'IScope'.\n"},{"item":"angular-material","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-material/index.d.ts(12,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-material/index.d.ts(24,29): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(30,21): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(32,35): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(32,46): error TS2304: Cannot find name 'IControllerConstructor'.\n../DefinitelyTyped/types/angular-material/index.d.ts(40,31): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(40,48): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(40,69): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(40,98): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(45,49): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(59,27): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(66,46): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(66,57): error TS2304: Cannot find name 'IControllerConstructor'.\n../DefinitelyTyped/types/angular-material/index.d.ts(71,48): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(99,49): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(112,21): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(119,35): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(119,46): error TS2304: Cannot find name 'IControllerConstructor'.\n../DefinitelyTyped/types/angular-material/index.d.ts(124,41): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(125,31): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(125,48): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(126,32): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(126,49): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(127,34): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(127,57): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(140,91): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(144,35): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(152,38): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(169,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(170,21): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(171,22): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(178,55): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(191,48): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(203,21): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(208,35): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(208,46): error TS2304: Cannot find name 'IControllerConstructor'.\n../DefinitelyTyped/types/angular-material/index.d.ts(213,41): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(217,71): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(218,42): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(329,23): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(334,70): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(354,50): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(355,39): error TS2304: Cannot find name 'JQueryEventObject'.\n../DefinitelyTyped/types/angular-material/index.d.ts(395,35): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-material/index.d.ts(395,46): error TS2304: Cannot find name 'IControllerConstructor'.\n../DefinitelyTyped/types/angular-material/index.d.ts(400,33): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(417,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(425,29): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(426,22): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(427,21): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(428,22): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(429,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(430,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(431,21): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(432,21): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(438,63): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(439,61): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(445,46): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(468,45): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-material/index.d.ts(520,39): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-material/index.d.ts(520,56): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-material/index.d.ts(520,79): error TS2304: Cannot find name 'JQuery'.\n6.index.ts(1,120): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-media-queries","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-media-queries/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-media-queries/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-meteor","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-meteor/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(17,26): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(43,85): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(55,67): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(65,45): error TS2503: Cannot find namespace 'Tracker'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(80,39): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(91,42): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(91,138): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(104,35): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(104,66): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(104,84): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(114,85): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(134,45): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(142,45): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(154,50): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(154,100): error TS2503: Cannot find namespace 'Meteor'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(239,61): error TS2503: Cannot find namespace 'Mongo'.\n../DefinitelyTyped/types/angular-meteor/index.d.ts(350,23): error TS2503: Cannot find namespace 'Meteor'.\n"},{"item":"angular-mocks","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-mocks/index.d.ts(11,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-mocks/index.d.ts(29,20): error TS2304: Cannot find name 'Injectable'.\n../DefinitelyTyped/types/angular-mocks/index.d.ts(54,47): error TS2304: Cannot find name 'IServiceProvider'.\n../DefinitelyTyped/types/angular-mocks/index.d.ts(151,26): error TS2304: Cannot find name 'IScope'.\n../DefinitelyTyped/types/angular-mocks/index.d.ts(679,14): error TS2304: Cannot find name 'JQuery'.\n"},{"item":"angular-modal","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-notifications","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-notifications/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-notifications/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-notify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-notify/index.d.ts(7,22): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-notify/index.d.ts(9,21): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-oauth2","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-oauth2/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-oauth2/index.d.ts(30,56): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-oauth2/index.d.ts(31,58): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-oauth2/index.d.ts(32,54): error TS2304: Cannot find name 'IPromise'.\n"},{"item":"angular-odata-resources","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-pdfjs-viewer","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-pdfjs-viewer/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-pdfjs-viewer/index.d.ts(11,42): error TS2304: Cannot find name 'IServiceProvider'.\n"},{"item":"angular-permission","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-permission/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-permission/index.d.ts(8,23): error TS2688: Cannot find type definition file for 'angular-ui-router'.\n../DefinitelyTyped/types/angular-permission/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-promise-tracker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-promise-tracker/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-promise-tracker/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-q-extras","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,75): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,94): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,113): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,132): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,151): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,170): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,189): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,208): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,227): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,247): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(24,264): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,70): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,89): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,108): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,127): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,146): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,165): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,184): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,203): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,222): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(25,238): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,66): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,85): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,104): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,123): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,142): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,161): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,180): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,199): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(26,215): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,62): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,81): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,100): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,119): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,138): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,157): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,176): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(27,192): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,58): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,77): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,96): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,115): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,134): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,153): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(28,169): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,54): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,73): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,92): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,111): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,130): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(29,146): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(30,50): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(30,69): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(30,88): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(30,107): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(30,123): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(31,46): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(31,65): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(31,84): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(31,100): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(32,42): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(32,61): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(32,77): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(35,49): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(35,67): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(37,59): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-q-extras/index.d.ts(37,80): error TS2304: Cannot find name 'IPromise'.\n6.index.ts(1,120): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-q-spread","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-q-spread/index.d.ts(7,20): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-resource","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-resource/index.d.ts(10,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(77,32): error TS2304: Cannot find name 'IHttpRequestTransformer'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(77,58): error TS2304: Cannot find name 'IHttpRequestTransformer'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(78,33): error TS2304: Cannot find name 'IHttpResponseTransformer'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(78,60): error TS2304: Cannot find name 'IHttpResponseTransformer'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(80,31): error TS2304: Cannot find name 'ICacheObject'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(147,21): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(148,74): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(149,56): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(151,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(152,76): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(153,58): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(155,22): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(156,75): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(157,57): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(159,24): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(160,77): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(161,59): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(163,24): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(164,77): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(165,59): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(170,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(182,23): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-resource/index.d.ts(193,52): error TS2304: Cannot find name 'IServiceProvider'.\n6.index.ts(1,120): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-route","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-route/index.d.ts(11,26): error TS2307: Cannot find module 'angular'.\n6.index.ts(1,117): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-sanitize","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-sanitize/index.d.ts(11,26): error TS2307: Cannot find module 'angular'.\n6.index.ts(1,120): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-scenario","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-scroll","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-signalr-hub","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-spinner","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-storage","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\n\n../DefinitelyTyped/types/angular-storage/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-storage/index.d.ts(12,26): error TS2307: Cannot find module 'angular'.\n6.index.ts(1,119): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-strap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-toastr","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property 'find' of undefined\n"},{"item":"angular-toasty","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.6.json\nCannot read property '0' of undefined\n"},{"item":"angular-tooltips","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n7.index.ts(1,120): error TS2344: Type '\"720kb.tooltips\"' does not satisfy the constraint 'object'.\n"},{"item":"angular-translate","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-translate/index.d.ts(12,26): error TS2307: Cannot find module 'angular'.\n7.index.ts(1,121): error TS2344: Type 'string' does not satisfy the constraint 'object'.\n"},{"item":"angular-ui-bootstrap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-ui-bootstrap/index.d.ts(10,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-ui-bootstrap/index.d.ts(12,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-ui-bootstrap/index.d.ts(330,32): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-bootstrap/index.d.ts(700,31): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/angular-ui-bootstrap/index.d.ts(705,29): error TS2304: Cannot find name 'JQuery'.\n7.index.ts(1,124): error TS2344: Type '\"ui.bootstrap\"' does not satisfy the constraint 'object'.\n"},{"item":"angular-ui-notification","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(56,40): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(57,37): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(58,40): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(59,40): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(60,38): error TS2304: Cannot find name 'IPromise'.\n../DefinitelyTyped/types/angular-ui-notification/index.d.ts(64,53): error TS2304: Cannot find name 'IPromise'.\n"},{"item":"angular-ui-router","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property 'find' of undefined\n"},{"item":"angular-ui-scroll","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-ui-scroll/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular-ui-scroll/index.d.ts(9,21): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-ui-sortable","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property 'kind' of undefined\n"},{"item":"angular-ui-tree","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property '0' of undefined\n"},{"item":"angular-websocket","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property 'find' of undefined\n"},{"item":"angular-wizard","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-wizard/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular-xeditable","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular-xeditable/index.d.ts(7,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angular.throttle","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angular.throttle/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angular.throttle/index.d.ts(9,26): error TS2307: Cannot find module 'angular'.\n"},{"item":"angularfire","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property '0' of undefined\n"},{"item":"angularlocalstorage","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\n\n../DefinitelyTyped/types/angularlocalstorage/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'angular'.\n../DefinitelyTyped/types/angularlocalstorage/index.d.ts(9,21): error TS2307: Cannot find module 'angular'.\n"},{"item":"angulartics","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property 'find' of undefined\n"},{"item":"animation-frame","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property '0' of undefined\n"},{"item":"animejs","response":"success"},{"item":"annyang","response":"success"},{"item":"ansi","response":"success"},{"item":"ansi-escape-sequences","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"ansi-styles","response":"success"},{"item":"ansicolors","response":"success"},{"item":"antlr4","response":"success"},{"item":"antlr4-autosuggest","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.7.json\nCannot read property 'kind' of undefined\n"},{"item":"any-db","response":"success"},{"item":"any-db-transaction","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property 'find' of undefined\n"},{"item":"anymatch","response":"success"},{"item":"anyproxy","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property 'kind' of undefined\n"},{"item":"aos","response":"success"},{"item":"apex.js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\n\n../DefinitelyTyped/types/apex.js/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'aws-lambda'.\n../DefinitelyTyped/types/apex.js/index.d.ts(9,46): error TS2503: Cannot find namespace 'AWSLambda'.\n../DefinitelyTyped/types/apex.js/index.d.ts(9,96): error TS2503: Cannot find namespace 'AWSLambda'.\n../DefinitelyTyped/types/apex.js/index.d.ts(9,125): error TS2503: Cannot find namespace 'AWSLambda'.\n"},{"item":"api-error-handler","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property 'find' of undefined\n"},{"item":"apicache","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\n\n../DefinitelyTyped/types/apicache/index.d.ts(6,29): error TS2307: Cannot find module 'redis'.\n"},{"item":"apigee-access","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"apimocker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property 'find' of undefined\n"},{"item":"apollo-codegen","response":"success"},{"item":"apollo-upload-client","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"apostrophe","response":"success"},{"item":"app-module-path","response":"success"},{"item":"app-root-dir","response":"success"},{"item":"app-root-path","response":"success"},{"item":"appdmg","response":"success"},{"item":"append-query","response":"success"},{"item":"appframework","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"apple-mapkit-js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"apple-music-api","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"applepayjs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"appletvjs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"applicationinsights-js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.8.json\nCannot read property '0' of undefined\n"},{"item":"apptimize__apptimize-web-sdk","response":"success"},{"item":"aqb","response":"success"},{"item":"arangodb","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property '0' of undefined\n"},{"item":"arbiter","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property '0' of undefined\n"},{"item":"arcgis-js-api","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property '0' of undefined\n"},{"item":"arcgis-rest-api","response":"success"},{"item":"arcgis-to-geojson-utils","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property 'declarations' of undefined\n"},{"item":"architect","response":"success"},{"item":"archiver","response":"success"},{"item":"archy","response":"success"},{"item":"are-we-there-yet","response":"success"},{"item":"argon2-browser","response":"success"},{"item":"argparse","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property 'declarations' of undefined\n"},{"item":"args","response":"success"},{"item":"argv","response":"success"},{"item":"aria-query","response":"success"},{"item":"arr-diff","response":"success"},{"item":"arr-union","response":"success"},{"item":"array-binarysearch.closest","response":"success"},{"item":"array-find-index","response":"success"},{"item":"array-foreach","response":"success"},{"item":"array-sort","response":"success"},{"item":"array-unique","response":"success"},{"item":"array.from","response":"success"},{"item":"array.prototype.flat","response":"success"},{"item":"array.prototype.flatmap","response":"success"},{"item":"artillery","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.9.json\nCannot read property 'find' of undefined\n"},{"item":"asana","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: NamespaceImport - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"asap","response":"success"},{"item":"ascii-art","response":"success"},{"item":"ascii2mathml","response":"success"},{"item":"asciichart","response":"success"},{"item":"asciify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\nCannot read property '0' of undefined\n"},{"item":"asenv","response":"success"},{"item":"asn1","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"asn1js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\nCannot read property 'kind' of undefined\n"},{"item":"aspnet-identity-pw","response":"success"},{"item":"assert","response":"success"},{"item":"assert-equal-jsx","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\n\n../DefinitelyTyped/types/assert-equal-jsx/index.d.ts(7,24): error TS2307: Cannot find module 'react'.\n../DefinitelyTyped/types/assert-equal-jsx/index.d.ts(15,41): error TS2503: Cannot find namespace 'JSX'.\n../DefinitelyTyped/types/assert-equal-jsx/index.d.ts(15,64): error TS2503: Cannot find namespace 'JSX'.\n"},{"item":"assert-plus","response":"success"},{"item":"assertsharp","response":"success"},{"item":"assets-webpack-plugin","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\nCannot read property '0' of undefined\n"},{"item":"astring","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\n\n../DefinitelyTyped/types/astring/index.d.ts(7,25): error TS2307: Cannot find module 'estree'.\n"},{"item":"async","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\nCannot read property 'kind' of undefined\n"},{"item":"async-busboy","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\n\n../DefinitelyTyped/types/async-busboy/index.d.ts(7,21): error TS2307: Cannot find module 'fs'.\n../DefinitelyTyped/types/async-busboy/index.d.ts(8,23): error TS2307: Cannot find module 'http'.\n../DefinitelyTyped/types/async-busboy/index.d.ts(10,25): error TS2307: Cannot find module 'busboy'.\n../DefinitelyTyped/types/async-busboy/index.d.ts(15,11): error TS2503: Cannot find namespace 'NodeJS'.\n"},{"item":"async-cache","response":"success"},{"item":"async-eventemitter","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\nCannot read property 'kind' of undefined\n"},{"item":"async-lock","response":"success"},{"item":"async-polling","response":"success"},{"item":"async-retry","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.10.json\n\n../DefinitelyTyped/types/async-retry/index.d.ts(9,34): error TS2307: Cannot find module 'retry'.\n"},{"item":"async-stream-generator","response":"success"},{"item":"async-writer","response":"success"},{"item":"async.nexttick","response":"success"},{"item":"asynciterator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'kind' of undefined\n"},{"item":"athenajs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'kind' of undefined\n"},{"item":"atlaskit__button","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__calendar","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__feedback-collector","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__inline-edit","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__layer","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__single-select","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlaskit__tree","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atlassian-crowd-client","response":"success"},{"item":"atmosphere.js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property '0' of undefined\n"},{"item":"atob","response":"success"},{"item":"atob-lite","response":"success"},{"item":"atom","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'declarations' of undefined\n"},{"item":"atom-keymap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atom-mocha-test-runner","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property 'find' of undefined\n"},{"item":"atpl","response":"success"},{"item":"audio-context","response":"success"},{"item":"audio-play","response":"success"},{"item":"audiobuffer-to-wav","response":"success"},{"item":"audiosprite","response":"success"},{"item":"auth-header","response":"success"},{"item":"auth0","response":"success"},{"item":"auth0-angular","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.11.json\nCannot read property '0' of undefined\n"},{"item":"auth0-js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property 'kind' of undefined\n"},{"item":"auth0-lock","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property '0' of undefined\n"},{"item":"auth0.widget","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property '0' of undefined\n"},{"item":"authenticator","response":"success"},{"item":"auto-launch","response":"success"},{"item":"auto-sni","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"autobahn","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property 'declarations' of undefined\n"},{"item":"autocannon","response":"success"},{"item":"autoprefixer","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\n\n../DefinitelyTyped/types/autoprefixer/index.d.ts(10,23): error TS2307: Cannot find module 'browserslist'.\n"},{"item":"autoprefixer-core","response":"success"},{"item":"autosize","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\n\n../DefinitelyTyped/types/autosize/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'jquery'.\n../DefinitelyTyped/types/autosize/index.d.ts(20,39): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/autosize/index.d.ts(20,48): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/autosize/index.d.ts(40,33): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/autosize/index.d.ts(40,42): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/autosize/index.d.ts(53,34): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/autosize/index.d.ts(53,43): error TS2304: Cannot find name 'JQuery'.\n"},{"item":"autosuggest-highlight","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property '0' of undefined\n"},{"item":"avoscloud-sdk","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property '0' of undefined\n"},{"item":"await-timeout","response":"success"},{"item":"awesomplete","response":"success"},{"item":"aws-iot-device-sdk","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ExportSpecifier - it will convert to null"},{"item":"aws-lambda","response":"success"},{"item":"aws-param-store","response":"success"},{"item":"aws-regions","response":"success"},{"item":"aws-serverless-express","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\n\n../DefinitelyTyped/types/aws-serverless-express/index.d.ts(12,25): error TS2307: Cannot find module 'aws-lambda'.\n"},{"item":"aws4","response":"success"},{"item":"axe-webdriverjs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\n\n../DefinitelyTyped/types/axe-webdriverjs/index.d.ts(9,27): error TS2307: Cannot find module 'selenium-webdriver'.\n"},{"item":"axel","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.12.json\nCannot read property '0' of undefined\n"},{"item":"axios-cancel","response":"success"},{"item":"axios-case-converter","response":"success"},{"item":"axios-curlirize","response":"success"},{"item":"axios-token-interceptor","response":"success"},{"item":"axon","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"azure","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property 'kind' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n"},{"item":"azure-kusto-data","response":"success"},{"item":"azure-mobile-services-client","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property '0' of undefined\n"},{"item":"azure-sb","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property 'find' of undefined\n"},{"item":"b2a","response":"success"},{"item":"b64-lite","response":"success"},{"item":"b_","response":"success"},{"item":"babel-code-frame","response":"success"},{"item":"babel-core","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property '0' of undefined\n"},{"item":"babel-generator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\n\n../DefinitelyTyped/types/babel-generator/index.d.ts(8,20): error TS2307: Cannot find module 'babel-types'.\n"},{"item":"babel-plugin-macros","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property '0' of undefined\n"},{"item":"babel-plugin-react-pug","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property '0' of undefined\n"},{"item":"babel-plugin-syntax-jsx","response":"success"},{"item":"babel-template","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property 'find' of undefined\n"},{"item":"babel-traverse","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property 'find' of undefined\n"},{"item":"babel-types","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nMaximum call stack size exceeded\n"},{"item":"babel-webpack-plugin","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\n\n../DefinitelyTyped/types/babel-webpack-plugin/index.d.ts(8,34): error TS2307: Cannot find module 'babel-core'.\n"},{"item":"babel__code-frame","response":"success"},{"item":"babel__core","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property '0' of undefined\n"},{"item":"babel__generator","response":"success"},{"item":"babel__standalone","response":"success"},{"item":"babel__template","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.13.json\nCannot read property 'kind' of undefined\n"},{"item":"babel__traverse","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property '0' of undefined\n"},{"item":"babelify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n../DefinitelyTyped/types/babelify/index.d.ts(13,24): error TS2307: Cannot find module 'babel-core'.\n"},{"item":"babylon","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'find' of undefined\n"},{"item":"babylon-walk","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'find' of undefined\n"},{"item":"babyparse","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property '0' of undefined\n"},{"item":"backbone","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'declarations' of undefined\n"},{"item":"backbone-associations","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n../DefinitelyTyped/types/backbone-associations/index.d.ts(7,27): error TS2307: Cannot find module 'backbone'.\n"},{"item":"backbone-fetch-cache","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'declarations' of undefined\n"},{"item":"backbone-relational","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'find' of undefined\n"},{"item":"backbone.layoutmanager","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'jquery'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(9,27): error TS2307: Cannot find module 'backbone'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(12,41): error TS2304: Cannot find name 'Model'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(12,56): error TS2304: Cannot find name 'ViewOptions'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(14,39): error TS2304: Cannot find name 'View'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(22,30): error TS2304: Cannot find name 'Model'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(22,45): error TS2304: Cannot find name 'View'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(32,14): error TS2304: Cannot find name 'JQueryPromise'.\n../DefinitelyTyped/types/backbone.layoutmanager/index.d.ts(54,56): error TS2304: Cannot find name 'Model'.\n"},{"item":"backbone.localstorage","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n../DefinitelyTyped/types/backbone.localstorage/index.d.ts(7,27): error TS2307: Cannot find module 'backbone'.\n"},{"item":"backbone.marionette","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'kind' of undefined\n"},{"item":"backbone.paginator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(7,27): error TS2307: Cannot find module 'backbone'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(39,11): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(42,54): error TS2304: Cannot find name 'Model'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(53,33): error TS2304: Cannot find name 'CollectionFetchOptions'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(53,56): error TS2304: Cannot find name 'Silenceable'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(55,43): error TS2304: Cannot find name 'Model'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(55,58): error TS2304: Cannot find name 'Collection'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(57,21): error TS2304: Cannot find name 'Collection'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(64,21): error TS2304: Cannot find name 'CollectionFetchOptions'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(64,46): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(67,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(70,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(73,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(76,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(79,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(82,37): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(98,27): error TS2304: Cannot find name 'CollectionFetchOptions'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(99,21): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(106,21): error TS2304: Cannot find name 'JQueryXHR'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(109,24): error TS2304: Cannot find name 'Collection'.\n../DefinitelyTyped/types/backbone.paginator/index.d.ts(110,26): error TS2304: Cannot find name 'JQueryXHR'.\n"},{"item":"backbone.radio","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property '0' of undefined\n"},{"item":"backgrid","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'find' of undefined\n"},{"item":"backlog-js","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"backo2","response":"success"},{"item":"backoff","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property 'kind' of undefined\n"},{"item":"backstopjs","response":"success"},{"item":"bagpipes","response":"success"},{"item":"baidu-app","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property '0' of undefined\n"},{"item":"baidumap-web-sdk","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\nCannot read property '0' of undefined\n"},{"item":"balanced-match","response":"success"},{"item":"bandagedbd__bdapi","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.14.json\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n../DefinitelyTyped/types/bandagedbd__bdapi/index.d.ts(8,32): error TS2307: Cannot find module 'react'.\n../DefinitelyTyped/types/bandagedbd__bdapi/index.d.ts(9,35): error TS2307: Cannot find module 'react-dom'.\n"},{"item":"barbellweights","response":"success"},{"item":"barcode","response":"success"},{"item":"bardjs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.15.json\nCannot read property '0' of undefined\n"},{"item":"base-64","response":"success"},{"item":"base16","response":"success"},{"item":"base64-arraybuffer","response":"success"},{"item":"base64-async","response":"success"},{"item":"base64-js","response":"success"},{"item":"base64-url","response":"success"},{"item":"base64topdf","response":"success"},{"item":"bases","response":"success"},{"item":"bash-glob","response":"success"},{"item":"basic-auth","response":"success"},{"item":"basicauth-middleware","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.15.json\nCannot read property 'find' of undefined\n"},{"item":"basiclightbox","response":"success"},{"item":"batch-stream","response":"success"},{"item":"battery-level","response":"success"},{"item":"bayes-classifier","response":"success"},{"item":"bazinga-translator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.15.json\nCannot read property '0' of undefined\n"},{"item":"bchaddrjs","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"bcp-47","response":"success"},{"item":"bcp-47-match","response":"success"},{"item":"bcrypt","response":"success"},{"item":"bcrypt-nodejs","response":"success"},{"item":"bcryptjs","response":"success"},{"item":"bdfjs","response":"success"},{"item":"beanstalkd","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property 'kind' of undefined\n"},{"item":"beanstalkd-worker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property 'find' of undefined\n"},{"item":"beats","response":"success"},{"item":"bech32","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"behavior3","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"bell","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property 'find' of undefined\n"},{"item":"benchmark","response":"success"},{"item":"bencode","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bent","response":"success"},{"item":"better-curry","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"better-queue","response":"success"},{"item":"better-scroll","response":"success"},{"item":"better-sqlite3","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property 'find' of undefined\n"},{"item":"bezier-js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"bgiframe","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"bidirectional-map","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property 'kind' of undefined\n"},{"item":"big.js","response":"success"},{"item":"bigi","response":"success"},{"item":"bigint","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"bignum","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bigscreen","response":"success"},{"item":"bin-pack","response":"success"},{"item":"binary-parse-stream","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.16.json\nCannot read property '0' of undefined\n"},{"item":"binary-parser","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null"},{"item":"binaryextensions","response":"success"},{"item":"bind-ponyfill","response":"success"},{"item":"bindings","response":"success"},{"item":"bintrees","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.17.json\nCannot read property '0' of undefined\n"},{"item":"bip21","response":"success"},{"item":"bip38","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bit-array","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.17.json\nCannot read property '0' of undefined\n"},{"item":"bit-twiddle","response":"success"},{"item":"bitcore-lib","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"bittorrent-protocol","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bitwise-xor","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bl","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"blacklist","response":"success"},{"item":"blake2","response":"success"},{"item":"blazy","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.17.json\nCannot read property '0' of undefined\n"},{"item":"bleno","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"blessed","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"blip-sdk","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"blissfuljs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.17.json\nCannot read property '0' of undefined\n"},{"item":"blob-stream","response":"success"},{"item":"blob-to-buffer","response":"success"},{"item":"blocked","response":"success"},{"item":"blockies","response":"success"},{"item":"blocks","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.17.json\nCannot read property '0' of undefined\n"},{"item":"bloem","response":"success"},{"item":"bloom-filter","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bloomfilter","response":"success"},{"item":"blue-tape","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bluebird","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'declarations' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n"},{"item":"bluebird-global","response":"success"},{"item":"bluebird-retry","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'find' of undefined\n"},{"item":"blueimp-load-image","response":"success"},{"item":"blueimp-md5","response":"success"},{"item":"bmp-js","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: BigIntKeyword - it will convert to null"},{"item":"bn.js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"body-parser","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'find' of undefined\n"},{"item":"body-parser-xml","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\n\n../DefinitelyTyped/types/body-parser-xml/index.d.ts(7,65): error TS2307: Cannot find module 'express'.\n"},{"item":"body-scroll-lock","response":"success"},{"item":"bonjour","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'kind' of undefined\n"},{"item":"bookshelf","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nMaximum call stack size exceeded\n"},{"item":"boolify-string","response":"success"},{"item":"boom","response":"success"},{"item":"bootbox","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootpag","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'kind' of undefined\n"},{"item":"bootstrap-3-typeahead","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-colorpicker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-datepicker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-fileinput","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property 'declarations' of undefined\n"},{"item":"bootstrap-growl-ifightcrime","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-maxlength","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.18.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-menu","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-notify","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-select","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-slider","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-switch","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-toggle","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-touchspin","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-treeview","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap-validator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap.paginator","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap.timepicker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bootstrap.v3.datetimepicker","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property 'declarations' of undefined\n"},{"item":"bootstrap3-dialog","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bounce.js","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\n\n../DefinitelyTyped/types/bounce.js/index.d.ts(7,23): error TS2688: Cannot find type definition file for 'jquery'.\n../DefinitelyTyped/types/bounce.js/index.d.ts(62,23): error TS2304: Cannot find name 'JQuery'.\n../DefinitelyTyped/types/bounce.js/index.d.ts(62,60): error TS2304: Cannot find name 'JQueryPromise'.\n"},{"item":"box2d","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bpmn-moddle","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property 'declarations' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeOperator - it will convert to null\n"},{"item":"brace-expansion","response":"success"},{"item":"braces","response":"success"},{"item":"brainhubeu__react-carousel","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property 'find' of undefined\n"},{"item":"braintree","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property 'kind' of undefined\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ConditionalType - it will convert to null\n"},{"item":"braintree-web","response":"warning","message":"\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: TypeQuery of ModuleDeclaration - it will convert to null"},{"item":"braintree-web-drop-in","response":"success"},{"item":"breeze","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.19.json\nCannot read property '0' of undefined\n"},{"item":"bricks.js","response":"success"},{"item":"bristol","response":"success"},{"item":"bristol-sentry","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.0.json\n\n../DefinitelyTyped/types/bristol-sentry/index.d.ts(7,24): error TS2307: Cannot find module 'raven'.\n"},{"item":"bro-fs","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.1.json\nCannot read property 'declarations' of undefined\n"},{"item":"brorand","response":"success"},{"item":"browser-bunyan","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.3.json\n\n\u001b[33mWARNING\u001b[39m: Transformer - Not supported type: ModuleDeclaration - it will convert to null\n../DefinitelyTyped/types/browser-bunyan/index.d.ts(10,25): error TS2307: Cannot find module 'bunyan'.\n"},{"item":"browser-fingerprint","response":"success"},{"item":"browser-harness","response":"error","message":"Error: Command failed: npx ttsc --project tsconfig.types.5.json\nCannot read property 'statements' of undefined\n"}] \ No newline at end of file diff --git a/data/definitelyTyped/list.json b/data/definitelyTyped/list.json new file mode 100644 index 000000000..19d23ef8a --- /dev/null +++ b/data/definitelyTyped/list.json @@ -0,0 +1 @@ +[{"id":"756c5f8d-be26-43fc-8831-0a12df4c972e.json","initialDate":"2020-01-11T17:17:58.333Z","lastUpdatedDate":"2020-01-11T19:29:38.377Z","typesProcessed":512}] \ No newline at end of file diff --git a/definitelyTypedTests/.env b/definitelyTypedTests/.env new file mode 100644 index 000000000..bd9836ad5 --- /dev/null +++ b/definitelyTypedTests/.env @@ -0,0 +1 @@ +DEFINITELY_TYPED_DATA_URL=../data/definitelyTyped diff --git a/definitelyTypedTests/index.js b/definitelyTypedTests/index.js new file mode 100644 index 000000000..c55629050 --- /dev/null +++ b/definitelyTypedTests/index.js @@ -0,0 +1,141 @@ +process.on('unhandledRejection', error => { + console.log('unhandledRejection', error); + process.exit(1); +}); + +require('dotenv').config(); +const fs = require('fs'); +const processService = require('../utils/process/process')(process); +const execPromise = require('../utils/exec/execPromise'); +const definitelyTyped = require('./src/definitelyTyped')(); +const config = require('./src/config'); +const output = require('./src/multiProcessOutput'); +const dataFileSystem = require('../utils/dataFileSystem/dataFileSystemWriter')(process.env.DEFINITELY_TYPED_DATA_URL); + +try { + processService.ensureArgumentsValidity(['TYPES', 'PROCESS_COUNT']); +} catch(e) { + console.error(e.message); + return; +} + +const outputService = output.createNew(); + +(async function runApp() { + const typesDirectories = definitelyTyped.getTypes(); + const runConfig = await config(); + + logConfig(runConfig); + let startDirectoryIndex = runConfig.offsetType; + const allRuns = []; + + for(let i = 0; i < runConfig.processes.length; i++) { + allRuns.push( + runAllDir(typesDirectories.slice(startDirectoryIndex, startDirectoryIndex + runConfig.processes[i].items), i) + ); + startDirectoryIndex += runConfig.processes[i].items; + } + + Promise.all(allRuns).then(() => { + const generatedOutput = outputService.generateOutput(); + const date = new Date().toISOString(); + + if (runConfig.entryToUpdate) { + dataFileSystem.updateData(runConfig.entryToUpdate.id, { + lastUpdatedDate: date, + typesProcessed: generatedOutput.length + runConfig.offsetType + }, generatedOutput); + } else { + dataFileSystem.addData({ + initialDate: date, + lastUpdatedDate: date, + typesProcessed: generatedOutput.length + }, generatedOutput); + } + }); +})(); + +function logConfig(processesConfig) { + console.log(`Total types: ${processesConfig.totalTypesCount}`); + console.log(`Processes: ${processesConfig.processes.length}`); + console.log(`Average types per process: ${processesConfig.averageTypesCountPerProcess}`); + console.log(); +} + +function runAllDir(dirs, processId) { + fs.writeFileSync(`${processId}.index.ts`, ''); + fs.writeFileSync(`tsconfig.types.${processId}.json`, ''); + + return dirs.reduce((promise, dir) => promise.then(() => run(dir, processId)), Promise.resolve()) + .then(() => { + fs.unlinkSync(`tsconfig.types.${processId}.json`); + fs.unlinkSync(`${processId}.index.ts`); + if (fs.existsSync(`${processId}.index.js`)) { + fs.unlinkSync(`${processId}.index.js`); + } + }); +} + +async function run(dir, processId) { + const config = { + 'compilerOptions': { + 'lib': [ + 'es6', + 'dom' + ], + 'noEmit': false, + 'plugins': [ + { + 'transform': '../dist/transformer', + 'debug': true + } + ], + 'typeRoots': [ + './DefinitelyTyped/types/' + ], + "types": [], + "baseUrl": "./DefinitelyTyped/types/" + }, + 'files': [ + `./${processId}.index.ts` + ] + }; + + fs.writeFileSync(`tsconfig.types.${processId}.json`, JSON.stringify(config)); + fs.writeFileSync(`${processId}.index.ts`, `import pak = require('./${definitelyTyped.folder}/types/${dir}/'); import { createMock } from '../dist'; createMock();`); + + return execPromise(`npx ttsc --project tsconfig.types.${processId}.json`) + .then((response) => { + if (response) { + process.stdout.write(`TYPE: ${dir} P${processId} `); + console.warn('☐'); + outputService.addData(processId, dir, { + response: 'warning', + message: response.toString() + }); + } else { + process.stdout.write(`TYPE: ${dir} P${processId} `); + console.info('✔'); + outputService.addData(processId, dir, { + response: 'success' + }); + } + }) + .catch((error) => { + process.stdout.write(`TYPE: ${dir} P${processId} `); + console.error('✘'); + + let errorData = error.error.toString(); + console.error(error.error); + + if (error.stdout.trim()) { + errorData += "\n" + error.stdout; + console.error(error.stdout); + } + + outputService.addData(processId, dir, { + response: 'error', + message: errorData + }); + }); +} \ No newline at end of file diff --git a/definitelyTypedTests/package-lock.json b/definitelyTypedTests/package-lock.json new file mode 100644 index 000000000..26e4aee65 --- /dev/null +++ b/definitelyTypedTests/package-lock.json @@ -0,0 +1,39 @@ +{ + "name": "definitelytyped-tests", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "dotenv": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", + "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==" + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + }, + "resolve": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz", + "integrity": "sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==", + "requires": { + "path-parse": "^1.0.6" + } + }, + "ttypescript": { + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/ttypescript/-/ttypescript-1.5.8.tgz", + "integrity": "sha512-uXye71UE5iPDOA3mDN9UUtconKGYwjg6m2UgnxVJYyCItE+MliSCZ4kf2asjpJsJQtgPKyu9iAaC4ero1UIbwQ==", + "requires": { + "resolve": "^1.9.0" + } + }, + "typescript": { + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.4.tgz", + "integrity": "sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw==" + } + } +} diff --git a/definitelyTypedTests/package.json b/definitelyTypedTests/package.json new file mode 100644 index 000000000..262adaa65 --- /dev/null +++ b/definitelyTypedTests/package.json @@ -0,0 +1,22 @@ +{ + "name": "definitelytyped-tests", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "start": "npm run install-types && npm run process-all-types && npm run post-process-types", + "start-chunk": "npm run install-types && npm run process-chunk && npm run post-process-types", + "process-chunk": "npm run process-types TYPES=500 PROCESS_COUNT=20", + "install-types": "node src/installTypes.js", + "process-all-types": "node index.js TYPES=all PROCESS_COUNT=20", + "process-types": "node index.js", + "post-process-types": "node src/postProcessTypes.js" + }, + "author": "", + "license": "ISC", + "dependencies": { + "dotenv": "^8.2.0", + "ttypescript": "^1.5.8", + "typescript": "^3.7.4" + } +} diff --git a/definitelyTypedTests/src/config.js b/definitelyTypedTests/src/config.js new file mode 100644 index 000000000..7397bb7bc --- /dev/null +++ b/definitelyTypedTests/src/config.js @@ -0,0 +1,56 @@ +const processService = require('../../utils/process/process')(process); +const maximiseParallelRun = require('./maximiseParallel'); +const definitelyTyped = require('./definitelyTyped')(); +const nodeReader = require('../../utils/dataFileSystem/nodeFileReader')(); +const dataFileSystemReader = require("../../utils/dataFileSystem/dataFileSystemReader"); +const dataReader = dataFileSystemReader(process.env.DEFINITELY_TYPED_DATA_URL, nodeReader); + +function getLatestEntry(latestListEntry) { + return latestListEntry.sort((a, b) => { + return a.lastUpdatedDate > b.lastUpdatedDate ? -1 : 1; + })[0]; +} + +async function getRunConfig() { + const listEntry = await dataReader.getDataIds(); + const latestEntry = getLatestEntry(listEntry); + const totalTypes = definitelyTyped.getTypes().length; + const entryToUpdate = latestEntry && latestEntry.typesProcessed >= totalTypes ? null : latestEntry; + const offsetType = entryToUpdate ? entryToUpdate.typesProcessed : 0; + + const totalTypesCount = getTotalTypesCount(offsetType, totalTypes); + const processesMaximized = maximiseParallelRun(getProcessesCount(), totalTypesCount); + const sum = processesMaximized.reduce((previous, current) => previous + current.items, 0); + const avg = sum / processesMaximized.length; + + return { + totalTypesCount: totalTypesCount, + processes: processesMaximized, + averageTypesCountPerProcess: avg, + entryToUpdate: entryToUpdate, + offsetType: offsetType + }; +} + +function getTotalTypesCount(offsetType, totalTypes) { + const typesDirectoriesLength = totalTypes - offsetType; + const typesToProcess = processService.getArgument('TYPES'); + + if (typesToProcess) { + const maybeCount = parseInt(typesToProcess); + + if (!Number.isNaN(maybeCount)) { + return Math.min(typesDirectoriesLength, maybeCount); + } else if (typesToProcess === "all") { + return typesDirectoriesLength; + } + } + + return 50; +} + +function getProcessesCount() { + return processService.getArgument('PROCESS_COUNT') || 1; +} + +module.exports = getRunConfig; diff --git a/definitelyTypedTests/src/definitelyTyped.js b/definitelyTypedTests/src/definitelyTyped.js new file mode 100644 index 000000000..1eed2306f --- /dev/null +++ b/definitelyTypedTests/src/definitelyTyped.js @@ -0,0 +1,18 @@ +const path = require('path'); +const fs = require('fs'); + +function definitelyTyped() { + const definitelyTypedFolder = path.join('..', 'DefinitelyTyped'); + + return { + folder: definitelyTypedFolder, + typesFolder: path.join(definitelyTypedFolder, 'types'), + getTypes() { + return this._types || (this._types = fs.readdirSync(this.typesFolder, {withFileTypes: true}) + .filter(dirent => dirent.isDirectory()) + .map(dirent => dirent.name)); + } + } +} + +module.exports = definitelyTyped; diff --git a/definitelyTypedTests/src/installTypes.js b/definitelyTypedTests/src/installTypes.js new file mode 100644 index 000000000..0f3e2c904 --- /dev/null +++ b/definitelyTypedTests/src/installTypes.js @@ -0,0 +1,74 @@ +process.on('unhandledRejection', error => { + console.log('unhandledRejection', error); + process.exit(1); +}); + +const path = require('path'); +const fs = require('fs'); +const execPromise = require('../../utils/exec/execPromise'); +const maximiseParallelRun = require('./maximiseParallel'); +const definitelyTyped = require('./definitelyTyped')(); + +const PARALLEL_NPM_INSTALL = 20; + +(async function() { + try { + await cloneRepository(); + await installDependencies(); + } catch(error) { + console.error(error); + process.exit(1); + } +})(); + +function cloneRepository() { + const command = `git clone https://github.com/DefinitelyTyped/DefinitelyTyped.git ${definitelyTyped.folder}`; + console.log(`Cloning repository using ${command}`); + + return execPromise(command) + .then(() => { + console.log('Done cloning.'); + }); +} + +async function installDependencies() { + console.log('Installing dependencies'); + const typesDirectories = definitelyTyped.getTypes(); + + const directoriesWithDependencies = typesDirectories + .map(dir => ({ name: dir, path: path.join(definitelyTyped.typesFolder, dir) })) + .filter(dir => fs.existsSync(path.join(dir.path, "package.json"))); + + if (directoriesWithDependencies.length === 0) { + return Promise.resolve(); + } + + console.log(`npm install in ${directoriesWithDependencies.length} folders:`); + + const processes = maximiseParallelRun(PARALLEL_NPM_INSTALL, directoriesWithDependencies.length); + let startIndex = 0; + const processesPromiseList = []; + const installer = dependencyInstaller(); + + for(let i = 0; i < processes.length; i++) { + processesPromiseList.push( + installer(directoriesWithDependencies.slice(startIndex, startIndex + processes[i].items)) + ); + startIndex += processes[i].items; + } + + return Promise.all(processesPromiseList).then(() => console.log("\n")); +} + +function dependencyInstaller() { + let installedDependencyIndex = 0; + + return function installDependenciesInDirectories(directories) { + return directories.reduce((promise, dir) => promise.then(() => { + console.log(`(${++installedDependencyIndex}):${dir.name}`); + return execPromise(`(cd ${dir.path} && npm install)`).catch(err => { + console.error(`Error :: ${err.error} :: ${err.stdout}`); + }); + }), Promise.resolve()) + } +} diff --git a/definitelyTypedTests/src/maximiseParallel.js b/definitelyTypedTests/src/maximiseParallel.js new file mode 100644 index 000000000..fd58204f5 --- /dev/null +++ b/definitelyTypedTests/src/maximiseParallel.js @@ -0,0 +1,18 @@ +function maximiseParallelRun(processesCount, totalItems) { + const processes = []; + const newProcessesCount = Math.min(totalItems, processesCount); + const floored = Math.floor(totalItems / newProcessesCount); + let remaining = totalItems; + + for(let i = 0; i < newProcessesCount; i++) { + processes.push({ + items: Math.min(floored, remaining) + }); + + remaining -= floored; + } + + return processes; +} + +module.exports = maximiseParallelRun; diff --git a/definitelyTypedTests/src/multiProcessOutput.js b/definitelyTypedTests/src/multiProcessOutput.js new file mode 100644 index 000000000..10dde8c12 --- /dev/null +++ b/definitelyTypedTests/src/multiProcessOutput.js @@ -0,0 +1,34 @@ +function multiProcessOutput() { + const outputData = {}; + + return { + generateOutput() { + const realOutput = []; + + const processesOutput = Object.keys(outputData); + + for(let i = 0; i < processesOutput.length; i++) { + const processOutput = outputData[processesOutput[i]]; + const itemsProcessed = Object.keys(processOutput); + + for(let j = 0; j < itemsProcessed.length; j++) { + const itemOutput = processOutput[itemsProcessed[j]]; + + realOutput.push({ item: itemsProcessed[j], ...itemOutput }); + } + } + + return realOutput; + }, + addData(processId, itemId, itemData) { + outputData[processId] = outputData[processId] || {}; + outputData[processId][itemId] = itemData; + } + }; +} + +module.exports = { + createNew() { + return multiProcessOutput(); + } +}; diff --git a/definitelyTypedTests/src/postProcessTypes.js b/definitelyTypedTests/src/postProcessTypes.js new file mode 100644 index 000000000..f31c64c4a --- /dev/null +++ b/definitelyTypedTests/src/postProcessTypes.js @@ -0,0 +1,22 @@ +const path = require('path'); +const fs = require('fs'); +const execPromise = require('../../utils/exec/execPromise'); + +console.log('.Removing DefinitelyTyped submodule'); + +const submodulePath = path.join('..', 'DefinitelyTyped'); + +if (fs.existsSync(submodulePath)) { + console.log('.DefinitelyTyped submodule found'); + execPromise(`rm -rf ${submodulePath}`) + .then(() => console.log('.DefinitelyTyped submodule removed')) + .catch((error) => { + console.error('.DefinitelyTyped submodule could not be removed'); + console.error(error.error); + console.error(error.stdout); + process.exit(1); + }); +} else { + console.error('.DefinitelyTyped submodule not found and can\'t be removed'); + process.exit(1); +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6ac947680..f01f4084a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -363,9 +363,9 @@ "dev": true }, "@types/node": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.0.tgz", - "integrity": "sha512-zwrxviZS08kRX40nqBrmERElF2vpw4IUTd5khkhBTfFH8AOaeoLVx48EC4+ZzS2/Iga7NevncqnsUSYjM4OWYA==", + "version": "13.1.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.6.tgz", + "integrity": "sha512-Jg1F+bmxcpENHP23sVKkNuU3uaxPnsBMW0cLjleiikFKomJQbsn0Cqk2yDvQArqzZN6ABfBkZ0To7pQ8sLdWDg==", "dev": true }, "@types/normalize-package-data": { diff --git a/package.json b/package.json index 182826458..713fb97fc 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@commitlint/cli": "^8.2.0", "@commitlint/config-angular": "^8.2.0", "@types/jasmine": "^3.5.0", - "@types/node": "^13.1.0", + "@types/node": "^13.1.6", "awesome-typescript-loader": "^5.2.1", "clean-webpack-plugin": "^3.0.0", "conventional-changelog-cli": "^2.0.31", diff --git a/tsconfig.base.json b/tsconfig.base.json index 0032d3c0c..e851f47e2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -19,5 +19,10 @@ "ts-auto-mock/repository": ["dist/repository"] }, "baseUrl": "./" - } + }, + "exclude": [ + "ui/**/*", + "performance/**/*", + "definitelyTypedTests/**/*" + ] } diff --git a/ui/.env b/ui/.env index a745544cc..50af10f90 100644 --- a/ui/.env +++ b/ui/.env @@ -1 +1,2 @@ PERFORMANCE_DATA_URL=./resources/ +DEFINITELY_TYPED_DATA_URL=./resources/definitelyTyped diff --git a/ui/.env.development b/ui/.env.development index a745544cc..50af10f90 100644 --- a/ui/.env.development +++ b/ui/.env.development @@ -1 +1,2 @@ PERFORMANCE_DATA_URL=./resources/ +DEFINITELY_TYPED_DATA_URL=./resources/definitelyTyped diff --git a/ui/src/app/data/browserFileReader.ts b/ui/src/app/data/browserFileReader.ts new file mode 100644 index 000000000..a57e196a0 --- /dev/null +++ b/ui/src/app/data/browserFileReader.ts @@ -0,0 +1,9 @@ +import { SystemFileReader } from '../../../../utils/dataFileSystem/dataFileSystemReader'; + +export function browserFileReader(): SystemFileReader { + return { + get(path: string) { + return fetch(path).then(t => t.json()); + } + }; +} diff --git a/ui/src/app/definitelyTyped/definitelyTyped.scss b/ui/src/app/definitelyTyped/definitelyTyped.scss new file mode 100644 index 000000000..ce0f6e9ee --- /dev/null +++ b/ui/src/app/definitelyTyped/definitelyTyped.scss @@ -0,0 +1,67 @@ +.DefinitelyTyped-container { + .DefinitelyTyped-typesContainer { + margin-top: 20px; + + details { + border: 1px solid #aaa; + border-radius: 4px; + padding: .5em .5em 0; + + summary { + font-weight: bold; + margin: -.5em -.5em 0; + padding: .5em; + } + } + + details.success { + background-color: green; + + summary { + color: transparent; + padding: 0; + + > span { + color: white; + } + } + } + + details.warning { + summary { + background-color: rgb(220, 132, 0); + color: white; + } + } + + details.error { + summary { + background-color: rgb(200, 40, 32); + color: white; + } + } + + details.warning, + details.error { + summary { + cursor: pointer; + } + + pre { + font-size: 18px; + } + + background-color: black; + color: #66DD66; + + &[open] { + padding: .5em; + + summary { + border-bottom: 1px solid #aaa; + margin-bottom: .5em; + } + } + } + } +} diff --git a/ui/src/app/definitelyTyped/definitelyTyped.tsx b/ui/src/app/definitelyTyped/definitelyTyped.tsx index d1eaa52da..3af4fe35f 100644 --- a/ui/src/app/definitelyTyped/definitelyTyped.tsx +++ b/ui/src/app/definitelyTyped/definitelyTyped.tsx @@ -1,5 +1,129 @@ -import React from 'react'; +import React, { useEffect, useState } from 'react'; +import dataFileSystemReader, { + DataReader, + RunData, + RunDataId, RunDataIdBase, +} from '../../../../utils/dataFileSystem/dataFileSystemReader'; +import { browserFileReader } from '../data/browserFileReader'; +import '../input/input.scss'; +import './definitelyTyped.scss'; +import { + DefinitelyTypedFilters, + DefinitelyTypedFiltersOptions, + DefinitelyTypedRunInfo, +} from './filters/definitelyTypedFilters'; +import { applyFilter } from './filters/filterService'; +import { DefinitelyTypedRun } from './interfaces/definitelyTypedRun.interface'; +import { DefinitelyTypedRunResponse } from './interfaces/definitelyTypedRunResponse'; +import { DefinitelyTypedTypeRun } from './interfaces/definitelyTypedTypeRun.interface'; + +export interface TypeRunData { + item: string; + response: string; + message?: string; +} + +export interface HeaderData { + date: string; +} + +// @ts-ignore +const dataReader: DataReader = dataFileSystemReader(process.env.DEFINITELY_TYPED_DATA_URL, browserFileReader()); export function DefinitelyTyped(): JSX.Element { - return

DO SOMETHING GIULIO COME ON

; + const [data, setData] = useState([] as DefinitelyTypedTypeRun[]); + const [viewData, setViewData] = useState([] as DefinitelyTypedTypeRun[]); + const [run, setRun] = useState('None'); + const [runs, setRuns] = useState([] as DefinitelyTypedRun[]); + const [runInfo, setRunInfo] = useState({} as DefinitelyTypedRunInfo); + const [filterOptions, setFilterOptions] = useState({} as DefinitelyTypedFiltersOptions); + + useEffect(() => { + dataReader.getDataIds().then((result: RunDataId[]) => { + result = result.sort((a: RunDataId, b: RunDataId) => a.date > b.date ? -1 : 1); + + setRuns(result.map((r: RunDataIdBase & HeaderData) => ({date: new Date(r.date), id: r.id}))); + + if (result && result.length) { + setRun(result[0].id); + } + }); + }, []); + + useEffect(() => { + if (run === 'None') { + return; + } + + dataReader.getData(run).then((result: RunData) => { + const dataToSet: DefinitelyTypedTypeRun[] = result.data.map((r) => { + return { + item: r.item, + message: r.message, + response: mapToResponse(r.response), + }; + }); + + dataToSet.sort((a: DefinitelyTypedTypeRun, b: DefinitelyTypedTypeRun) => { + return a.response === DefinitelyTypedRunResponse.Error ? -1 + : a.response === DefinitelyTypedRunResponse.Success ? 1 + : b.response === DefinitelyTypedRunResponse.Error ? 1 + : b.response === DefinitelyTypedRunResponse.Success ? -1 + : 0; + }); + + setData(dataToSet); + }); + }, [run]); + + useEffect(() => { + setRunInfo({ + success: data.filter((run) => run.response === DefinitelyTypedRunResponse.Success).length, + warning: data.filter((run) => run.response === DefinitelyTypedRunResponse.Warning).length, + error: data.filter((run) => run.response === DefinitelyTypedRunResponse.Error).length, + total: data.length, + }); + }, [data]); + + useEffect(() => { + setViewData(applyFilter(data, filterOptions)); + }, [filterOptions, data]); + + const runOptions: JSX.Element[] = runs.map((run: DefinitelyTypedRun, index: number) => { + return ; + }); + + const types: JSX.Element[] = !viewData ? [] : viewData.map((d) => { + return
+ {d.item} +
{d.message}
+
; + }); + + return
+
+ +
+ + setFilterOptions(options)} runInfo={runInfo}/> + +
+ { types } +
+
; +} + +function mapToResponse(response: string): DefinitelyTypedRunResponse { + return response === 'error' ? DefinitelyTypedRunResponse.Error + : response === 'warning' ? DefinitelyTypedRunResponse.Warning + : DefinitelyTypedRunResponse.Success; +} + +function mapResponseToClassName(response: DefinitelyTypedRunResponse): string { + return response === DefinitelyTypedRunResponse.Success ? 'success' + : response === DefinitelyTypedRunResponse.Warning ? 'warning' + : 'error'; } diff --git a/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.scss b/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.scss new file mode 100644 index 000000000..48ec91744 --- /dev/null +++ b/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.scss @@ -0,0 +1,90 @@ +@mixin box-shadow($shadow) { + -webkit-box-shadow: $shadow; + -moz-box-shadow: $shadow; + box-shadow: $shadow; +} + +.DefinitelyTypedFilters-container { + .DefinitelyTypedFilters-controlsContainer { + display: flex; + justify-content: center; + + > :not(:first-child) { + margin-left: 25px; + } + + .DefinitelyTypedFilters-inputsContainer { + display: flex; + + > .DefinitelyTypedFilters-input:not(:first-child) { + margin-left: 25px; + } + } + + .DefinitelyTypedFilters-checkboxesContainer { + display: flex; + + > .DefinitelyTypedFilters-checkbox:not(:first-child) { + margin-left: 25px; + } + } + } + + .DefinitelyTypedFilters-infoContainer { + margin-top: 15px; + display: flex; + justify-content: space-between; + + .DefinitelyTypedFilters-success, + .DefinitelyTypedFilters-warning, + .DefinitelyTypedFilters-error, + .DefinitelyTypedFilters-total { + width: 200px; + height: 70px; + text-align: center; + box-sizing: border-box; + border-radius: 5px; + + .DefinitelyTypedFilters-infoLabel { + display: block; + } + + .DefinitelyTypedFilters-infoCount { + font-size: 50px; + line-height: 48px; + } + } + + .DefinitelyTypedFilters-success, + .DefinitelyTypedFilters-warning, + .DefinitelyTypedFilters-error { + cursor: pointer; + + @include box-shadow(0 5px 3px 0 rgba(0,0,0,0.75)); + + &:hover { + @include box-shadow(0 10px 14px 0 rgba(0,0,0,0.75)); + } + + &.selected { + @include box-shadow(inset 0 0 14px 5px rgba(255,255,255,.75)); + } + } + + .DefinitelyTypedFilters-total { + pointer-events: none; + } + + .DefinitelyTypedFilters-success { + background-color: green; + } + + .DefinitelyTypedFilters-warning { + background-color: rgb(255, 152, 0); + } + + .DefinitelyTypedFilters-error { + background-color: rgb(244, 67, 54); + } + } +} diff --git a/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.tsx b/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.tsx new file mode 100644 index 000000000..b0415c178 --- /dev/null +++ b/ui/src/app/definitelyTyped/filters/definitelyTypedFilters.tsx @@ -0,0 +1,80 @@ +import React, { useEffect, useState } from 'react'; +import './definitelyTypedFilters.scss'; +import { useDebounce } from '../../useDebounce/useDebounce'; + +export interface DefinitelyTypedRunInfo { + success: number; + warning: number; + error: number; + total: number; +} + +export interface DefinitelyTypedFiltersProps { + runInfo: DefinitelyTypedRunInfo; + filter(options: DefinitelyTypedFiltersOptions): void; +} + +export interface DefinitelyTypedFiltersOptions { + filterIn: RegExp | null; + filterOut: RegExp | null; + isShowingSuccesses: boolean; + isShowingWarnings: boolean; + isShowingErrors: boolean; +} + +export function DefinitelyTypedFilters(props: DefinitelyTypedFiltersProps): JSX.Element { + const [filterOut, setFilterOut] = useState(''); + const [filterIn, setFilterIn] = useState(''); + const [isShowing, setIsShowing] = useState('' as keyof DefinitelyTypedRunInfo); + const debouncedFilterOut = useDebounce(filterOut, 500); + const debouncedFilterIn = useDebounce(filterIn, 500); + + useEffect(() => { + props.filter(buildOptions()); + }, [debouncedFilterOut, debouncedFilterIn, isShowing]); + + function buildOptions(): DefinitelyTypedFiltersOptions { + return { + filterIn: filterIn ? new RegExp(filterIn, 'i') : null, + filterOut: filterOut ? new RegExp(filterOut, 'i') : null, + isShowingErrors: isShowing === 'error', + isShowingWarnings: isShowing === 'warning', + isShowingSuccesses: isShowing === 'success' + }; + } + + const infoKeys: Array = ['total', 'success', 'warning', 'error']; + const infoLabelMap: {[key in keyof DefinitelyTypedRunInfo]: string} = { + error: 'Errors', + success: 'Passed', + warning: 'Warnings', + total: 'Total Types' + }; + + const infoPanel: JSX.Element[] = infoKeys.map((infoKey: keyof DefinitelyTypedRunInfo) => { + const selectedClass = infoKey === isShowing ? ' selected' : ''; + + return
setIsShowing(infoKey)}> + {infoLabelMap[infoKey]} + {props.runInfo[infoKey]} +
+ }); + + return
+
+
+
+

Filter out messages (regex)

+ setFilterOut(e.target.value)} /> +
+
+

Filter in only messages (regex)

+ setFilterIn(e.target.value)} /> +
+
+
+
+ {infoPanel} +
+
; +} diff --git a/ui/src/app/definitelyTyped/filters/filterService.ts b/ui/src/app/definitelyTyped/filters/filterService.ts new file mode 100644 index 000000000..cd7e12014 --- /dev/null +++ b/ui/src/app/definitelyTyped/filters/filterService.ts @@ -0,0 +1,39 @@ +import { DefinitelyTypedRunResponse } from '../interfaces/definitelyTypedRunResponse'; +import { DefinitelyTypedTypeRun } from '../interfaces/definitelyTypedTypeRun.interface'; +import { DefinitelyTypedFiltersOptions } from './definitelyTypedFilters'; + +export function applyFilter(data: DefinitelyTypedTypeRun[], filterOptions: DefinitelyTypedFiltersOptions): DefinitelyTypedTypeRun[] { + let temporaryData: DefinitelyTypedTypeRun[] = data; + + if (!filterOptions.isShowingSuccesses) { + temporaryData = temporaryData.filter(d => { + return d.response !== DefinitelyTypedRunResponse.Success; + }); + } + + if (!filterOptions.isShowingWarnings) { + temporaryData = temporaryData.filter(d => { + return d.response !== DefinitelyTypedRunResponse.Warning; + }); + } + + if (!filterOptions.isShowingErrors) { + temporaryData = temporaryData.filter(d => { + return d.response !== DefinitelyTypedRunResponse.Error; + }); + } + + if (filterOptions.filterOut) { + temporaryData = temporaryData.filter(d => { + return !(filterOptions.filterOut!.test(d.message || '')); + }); + } + + if (filterOptions.filterIn) { + temporaryData = temporaryData.filter(d => { + return filterOptions.filterIn!.test(d.message || ''); + }); + } + + return temporaryData; +} diff --git a/ui/src/app/definitelyTyped/interfaces/definitelyTypedRun.interface.ts b/ui/src/app/definitelyTyped/interfaces/definitelyTypedRun.interface.ts new file mode 100644 index 000000000..8a3bd9c72 --- /dev/null +++ b/ui/src/app/definitelyTyped/interfaces/definitelyTypedRun.interface.ts @@ -0,0 +1,4 @@ +export interface DefinitelyTypedRun { + id: string; + date: Date; +} diff --git a/ui/src/app/definitelyTyped/interfaces/definitelyTypedRunResponse.ts b/ui/src/app/definitelyTyped/interfaces/definitelyTypedRunResponse.ts new file mode 100644 index 000000000..486012474 --- /dev/null +++ b/ui/src/app/definitelyTyped/interfaces/definitelyTypedRunResponse.ts @@ -0,0 +1,5 @@ +export enum DefinitelyTypedRunResponse { + Error, + Warning, + Success +} diff --git a/ui/src/app/definitelyTyped/interfaces/definitelyTypedTypeRun.interface.ts b/ui/src/app/definitelyTyped/interfaces/definitelyTypedTypeRun.interface.ts new file mode 100644 index 000000000..89660a43b --- /dev/null +++ b/ui/src/app/definitelyTyped/interfaces/definitelyTypedTypeRun.interface.ts @@ -0,0 +1,7 @@ +import { DefinitelyTypedRunResponse } from './definitelyTypedRunResponse'; + +export interface DefinitelyTypedTypeRun { + item: string; + response: DefinitelyTypedRunResponse; + message?: string; +} diff --git a/ui/src/app/input/input.scss b/ui/src/app/input/input.scss new file mode 100644 index 000000000..c4b265bbe --- /dev/null +++ b/ui/src/app/input/input.scss @@ -0,0 +1,30 @@ +.Input { + display: inline-block; + font-size: 16px; + font-family: sans-serif; + font-weight: 700; + color: #444; + line-height: 1.3; + padding: .6em .8em .5em .8em; + box-sizing: border-box; + margin: 0; + border: 1px solid #aaa; + box-shadow: 0 1px 0 1px rgba(0,0,0,.04); + border-radius: .5em; + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; + background-color: #fff; + background-repeat: no-repeat, repeat; + background-position: right .7em top 50%, 0 0; + background-size: .65em auto, 100%; +} +.Input:hover { + border-color: #888; +} +.Input:focus { + border-color: #aaa; + box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7); + color: #222; + outline: none; +} diff --git a/ui/src/app/useDebounce/useDebounce.ts b/ui/src/app/useDebounce/useDebounce.ts new file mode 100644 index 000000000..ba30b561e --- /dev/null +++ b/ui/src/app/useDebounce/useDebounce.ts @@ -0,0 +1,17 @@ +import { useEffect, useState } from 'react'; + +export function useDebounce(value: T, delay: number) { + const [debouncedValue, setDebouncedValue] = useState(value); + + useEffect(() => { + const handler = setTimeout(() => { + setDebouncedValue(value); + }, delay); + + return () => { + clearTimeout(handler); + }; + }, [value, delay]); + + return debouncedValue; +} diff --git a/ui/webpack.config.js b/ui/webpack.config.js index 737fdf8b1..2719754aa 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -15,7 +15,7 @@ module.exports = function () { path: path.resolve(__dirname, 'dist') }, resolve: { - extensions: ['.ts', '.tsx', '.js', '.json'] + extensions: ['.ts', '.tsx', '.js', '.json', '.d.ts'] }, module: { rules: [ diff --git a/utils/dataFileSystem/dataFileSystemReader.d.ts b/utils/dataFileSystem/dataFileSystemReader.d.ts new file mode 100644 index 000000000..f395749c7 --- /dev/null +++ b/utils/dataFileSystem/dataFileSystemReader.d.ts @@ -0,0 +1,23 @@ +export interface SystemFileReader { + get(path: string): Promise; +} + +export interface RunDataIdBase { + id: string; +} + +export type RunDataId = RunDataIdBase & THeader; + +export interface RunData { + id: string; + header: THeader; + data: TData[]; +} + +export interface DataReader { + getDataIds(): Promise[]>; + getAllData(): Promise[]>; + getData(id: string): Promise>; +} + +export default function dataFileSystemReader(dataPath: string, fileReader: SystemFileReader): DataReader; diff --git a/utils/dataFileSystem/dataFileSystemReader.js b/utils/dataFileSystem/dataFileSystemReader.js new file mode 100644 index 000000000..b3f2206ab --- /dev/null +++ b/utils/dataFileSystem/dataFileSystemReader.js @@ -0,0 +1,43 @@ +function dataFileSystemReader(dataPath, fileReader) { + if (!dataPath) { + throw new Error('dataPath must be specified to use dataFileSystemReader'); + } + + const listPath = `${dataPath}/list.json`; + + return { + async getDataIds() { + try { + return await fileReader.get(listPath); + } catch { + return []; + } + }, + async getAllData() { + const dataIds = await this.getDataIds(); + const allData = []; + + for(let i = 0; i < dataIds.length; i++) { + allData.push(await this.getData(dataIds[i].id)); + } + + return allData; + }, + async getData(id) { + const allIds = await this.getDataIds(); + const dataHeader = allIds.find((dataId) => { + return dataId.id === id; + }); + + if (!dataHeader) { + throw new Error(`Can't find data with id ${id}`); + } + + const data = await fileReader.get(`${dataPath}/${id}`); + + return { id: id, header: dataHeader, data: data }; + } + } +} + +module.exports = dataFileSystemReader; diff --git a/utils/dataFileSystem/dataFileSystemWriter.d.ts b/utils/dataFileSystem/dataFileSystemWriter.d.ts new file mode 100644 index 000000000..6f6cbefe7 --- /dev/null +++ b/utils/dataFileSystem/dataFileSystemWriter.d.ts @@ -0,0 +1,6 @@ +export interface DataWriter { + addData(header: THeader, data: TData[]): Promise; + updateData(fileId: string, header: THeader, data: TData[]): Promise; +} + +export default function dataFileSystemWriter(dataPath: string): DataWriter; diff --git a/utils/dataFileSystem/dataFileSystemWriter.js b/utils/dataFileSystem/dataFileSystemWriter.js new file mode 100644 index 000000000..bb59c3798 --- /dev/null +++ b/utils/dataFileSystem/dataFileSystemWriter.js @@ -0,0 +1,42 @@ +const fs = require('fs'); +const uuid = require('../uuid/uuid'); + +function dataFileSystemWriter(dataPath) { + if (!dataPath) { + throw new Error('dataPath must be specified to use dataFileSystemWriter'); + } + + const dataFileSystemReader = require('./dataFileSystemReader')(dataPath, require('./nodeFileReader')()); + const listPath = `${dataPath}/list.json`; + + function updateListAndEntry(fileList, filename, data) { + fs.writeFileSync(listPath, JSON.stringify(fileList)); + fs.writeFileSync(`${dataPath}/${filename}`, JSON.stringify(data)); + } + + return { + async addData(header, data) { + if(!fs.existsSync(dataPath)) + fs.mkdirSync(dataPath); + + const fileList = await dataFileSystemReader.getDataIds(); + const filename = `${uuid()}.json`; + fileList.push({ id: filename, ...header }); + updateListAndEntry(fileList, filename, data); + }, + + async updateData(fileId, header, data) { + const fileList = await dataFileSystemReader.getDataIds(); + const entryById = fileList.find((data) => data.id === fileId); + + Object.assign(entryById, header); + + const fileData = await dataFileSystemReader.getData(fileId); + Array.prototype.push.apply(fileData.data, data); + + updateListAndEntry(fileList, fileId, fileData.data); + } + } +} + +module.exports = dataFileSystemWriter; diff --git a/utils/dataFileSystem/nodeFileReader.js b/utils/dataFileSystem/nodeFileReader.js new file mode 100644 index 000000000..e74277c59 --- /dev/null +++ b/utils/dataFileSystem/nodeFileReader.js @@ -0,0 +1,19 @@ +const fs = require('fs'); + +function nodeFileReader() { + return { + get(path) { + return new Promise((res, rej) => { + fs.readFile(path, (err, data) => { + if (err) { + return rej(err); + } + + res(JSON.parse(data)); + }); + }); + } + }; +} + +module.exports = nodeFileReader; diff --git a/utils/exec/execPromise.js b/utils/exec/execPromise.js new file mode 100644 index 000000000..8d75513bb --- /dev/null +++ b/utils/exec/execPromise.js @@ -0,0 +1,16 @@ +const exec = require('child_process').exec; + +function execPromise(command) { + return new Promise(function(resolve, reject) { + exec(command, (error, stdout) => { + if (error) { + reject({ error, stdout }); + return; + } + + resolve(stdout.trim()); + }); + }); +} + +module.exports = execPromise; diff --git a/utils/process/process.js b/utils/process/process.js new file mode 100644 index 000000000..1aabd1287 --- /dev/null +++ b/utils/process/process.js @@ -0,0 +1,40 @@ +function ProcessService(process) { + const argumentMap = getArguments(); + + return { + getArgument(argumentName) { + const argument = argumentMap[argumentName]; + + return argument === undefined ? '' : argument; + }, + ensureArgumentsValidity(acceptedArguments) { + const acceptedArgumentsMap = {}; + + for (let i = 0; i < acceptedArguments.length; i++) { + acceptedArgumentsMap[acceptedArguments[i]] = true; + } + + const passedArgumentNames = Object.keys(argumentMap); + for (let i = 0; i < passedArgumentNames.length; i++) { + if (!acceptedArgumentsMap[passedArgumentNames[i]]) { + throw new Error(`Argument ${passedArgumentNames[i]} is not accepted, only available arguments are ${acceptedArguments.join(', ')}`) + } + } + } + }; + + function getArguments() { + const processArguments = process.argv.slice(2); + const map = {}; + + for(let i = 0; i < processArguments.length; i++) { + const values = processArguments[i].split('='); + + map[values[0]] = values[1]; + } + + return map; + } +} + +module.exports = ProcessService; diff --git a/utils/uuid/uuid.js b/utils/uuid/uuid.js new file mode 100644 index 000000000..323afbf8d --- /dev/null +++ b/utils/uuid/uuid.js @@ -0,0 +1,8 @@ +function uuidv4() { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + const r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); +} + +module.exports = uuidv4;