From 72172ad6c2ac7f1dfbe5cc07ba652859141f225a Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 2 Mar 2020 16:30:24 -0800 Subject: [PATCH 01/15] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..975c52d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,21 @@ +# Node.js +# Build a general Node.js project with npm. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install + npm run build + displayName: 'npm install and build' From d6ccc68981ab5c617f88bb240e1c968f3b4346f4 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 3 Mar 2020 16:48:14 -0800 Subject: [PATCH 02/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 975c52d..ce95281 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,20 +2,33 @@ # Build a general Node.js project with npm. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript +jobs: +- job: testDtsCriticForDt + pool: + vmImage: 'ubuntu-latest' + demands: npm + + timeoutInMinutes: 360 + + steps: + - task: Npm@1 + displayName: 'npm install' + inputs: + verbose: false + + - script: '' + trigger: - master -pool: - vmImage: 'ubuntu-latest' - -steps: -- task: NodeTool@0 - inputs: - versionSpec: '10.x' - displayName: 'Install Node.js' +# steps: +# - task: NodeTool@0 +# inputs: +# versionSpec: '10.x' +# displayName: 'Install Node.js' -- script: | - npm install - npm run build - displayName: 'npm install and build' +# - script: | +# npm install +# npm run build +# displayName: 'npm install and build' From 05dca1134656a6a9bb29d36255ea14641206df1c Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 10:49:15 -0800 Subject: [PATCH 03/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ce95281..8d39a83 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,7 +3,7 @@ # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript jobs: -- job: testDtsCriticForDt +- job: testDtsCriticWithDt pool: vmImage: 'ubuntu-latest' demands: npm @@ -16,8 +16,11 @@ jobs: inputs: verbose: false - - script: '' - + - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + displayName: 'ln -s "$(pwd)" node_modules/dts_critic' + + - script: 'node node_modules/typescript/lib/tsc.js && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' + displayName: 'node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' trigger: - master From 3ef28c0e4f28506fcd3765bc82f67b8e21a78bb0 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 10:53:41 -0800 Subject: [PATCH 04/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8d39a83..cd03a10 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,16 +22,5 @@ jobs: - script: 'node node_modules/typescript/lib/tsc.js && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' displayName: 'node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' -trigger: +pr: - master - -# steps: -# - task: NodeTool@0 -# inputs: -# versionSpec: '10.x' -# displayName: 'Install Node.js' - -# - script: | -# npm install -# npm run build -# displayName: 'npm install and build' From de52f9356cccb68cbec37813f94e210f6a98e3ed Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 10:58:49 -0800 Subject: [PATCH 05/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cd03a10..112018a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: inputs: verbose: false - - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + - script: 'pwd && ls && rm -r ./node_modules/dts-critic && ln -s "$(pwd)" ./node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - script: 'node node_modules/typescript/lib/tsc.js && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' From d3f744ea711d400b672c8b36bd3361b2ded69cb7 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 11:02:43 -0800 Subject: [PATCH 06/15] Add dtslint-runner as dependency --- package-lock.json | 402 +++++++++++++++++++++++++++++++++++++++++++++- package.json | 3 +- 2 files changed, 403 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index b0807be..25972b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "dts-critic", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -872,6 +872,65 @@ "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==", "dev": true }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, "babel-jest": { "version": "24.9.0", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz", @@ -1075,6 +1134,12 @@ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", @@ -1239,6 +1304,12 @@ "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.8.tgz", "integrity": "sha512-PM54PkseWbiiD/mMsbvW351/u+dafwTJ0ye2qB60G1aGQP9j3xK2gmMDc+R34L3nDtx4qMCitXT75mkbkGJDLw==" }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, "comment-parser": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.6.2.tgz", @@ -1448,6 +1519,12 @@ "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=", "dev": true }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, "diff-sequences": { "version": "24.9.0", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", @@ -1472,6 +1549,218 @@ "webidl-conversions": "^4.0.2" } }, + "dts-critic": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dts-critic/-/dts-critic-3.0.1.tgz", + "integrity": "sha512-3y34qsytqwEgfoUcYwxVm9Lv54Q+MPEXCOtZpwhl4TNM1SN/yjolWXz7Xw2U0BQv/rGhIdM2ONNTaAxRfQdJ6g==", + "dev": true, + "requires": { + "command-exists": "^1.2.8", + "definitelytyped-header-parser": "^3.8.2", + "semver": "^6.2.0", + "typescript": "^3.7.5", + "yargs": "^12.0.5" + } + }, + "dtslint": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/dtslint/-/dtslint-3.3.0.tgz", + "integrity": "sha512-fQ1Q8Rvnz8ejiUe081qjYYeXi8XuNw8cR8dKv57FwZ5HG3KG541eOE3MeyBFbkZZAIZutl7KHcqhRXj0eaKg0g==", + "dev": true, + "requires": { + "definitelytyped-header-parser": "3.9.0", + "dts-critic": "^3.0.0", + "fs-extra": "^6.0.1", + "json-stable-stringify": "^1.0.1", + "strip-json-comments": "^2.0.1", + "tslint": "5.14.0", + "typescript": "^3.9.0-dev.20200303", + "yargs": "^15.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "fs-extra": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz", + "integrity": "sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "typescript": { + "version": "3.9.0-dev.20200303", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.0-dev.20200303.tgz", + "integrity": "sha512-Tw8o7nNMWUI1g6AGJKbpBx2R3jYX6rlpEycRHC+xiBAhPyM3AWldQ5No8VJHzi9zdZnbU4PCURpOAgH9eKICtQ==", + "dev": true + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "yargs": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz", + "integrity": "sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg==", + "dev": true, + "requires": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^16.1.0" + } + }, + "yargs-parser": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz", + "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + }, + "dtslint-runner": { + "version": "github:DefinitelyTyped/dtslint-runner#3efe458bc7eff2a42810fde290d491cb9c047ec3", + "from": "github:DefinitelyTyped/dtslint-runner#master", + "dev": true, + "requires": { + "dtslint": "^3.3.0", + "fs-extra": "^4.0.1", + "stats-lite": "^2.2.0" + } + }, "ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", @@ -2200,6 +2489,17 @@ "map-cache": "^0.2.2" } }, + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -2870,6 +3170,23 @@ "function-bind": "^1.1.1" } }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + } + } + }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -3325,6 +3642,12 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, + "isnumber": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isnumber/-/isnumber-1.0.0.tgz", + "integrity": "sha1-Dj+XWbWB2Z3YUIbw7Cp0kJz63QE=", + "dev": true + }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", @@ -4161,6 +4484,15 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "~0.0.0" + } + }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", @@ -4190,6 +4522,21 @@ } } }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -5640,6 +5987,15 @@ } } }, + "stats-lite": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/stats-lite/-/stats-lite-2.2.0.tgz", + "integrity": "sha512-/Kz55rgUIv2KP2MKphwYT/NCuSfAlbbMRv2ZWw7wyXayu230zdtzhxxuXXcvsc6EmmhS8bSJl3uS1wmMHFumbA==", + "dev": true, + "requires": { + "isnumber": "~1.0.0" + } + }, "stealthy-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", @@ -5955,6 +6311,44 @@ "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", "dev": true }, + "tslint": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.14.0.tgz", + "integrity": "sha512-IUla/ieHVnB8Le7LdQFRGlVJid2T/gaJe5VkjzRVSRR6pA2ODYrnfR1hmxi+5+au9l50jBwpbBL34txgv4NnTQ==", + "dev": true, + "requires": { + "babel-code-frame": "^6.22.0", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", + "diff": "^3.2.0", + "glob": "^7.1.1", + "js-yaml": "^3.7.0", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.1", + "resolve": "^1.3.2", + "semver": "^5.3.0", + "tslib": "^1.8.0", + "tsutils": "^2.29.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "tsutils": { + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + } + } + } + }, "tsutils": { "version": "3.17.1", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz", @@ -6011,6 +6405,12 @@ "set-value": "^2.0.1" } }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", diff --git a/package.json b/package.json index f03e5cc..e588ac6 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "eslint-plugin-jsdoc": "^15.9.9", "eslint-plugin-no-null": "^1.0.2", "jest": "^24.7.1", - "strip-json-comments": "^2.0.1" + "strip-json-comments": "^2.0.1", + "dtslint-runner": "github:DefinitelyTyped/dtslint-runner#master" }, "engines": { "node": ">=10.17.0" From 1177ee92b758ab5cdcf87fa4b2bc483336b8676c Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 11:04:08 -0800 Subject: [PATCH 07/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 112018a..cd03a10 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: inputs: verbose: false - - script: 'pwd && ls && rm -r ./node_modules/dts-critic && ln -s "$(pwd)" ./node_modules/dts-critic' + - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - script: 'node node_modules/typescript/lib/tsc.js && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' From 17233f1aeffced007d62d6904ea99dad788c9ed4 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 11:08:36 -0800 Subject: [PATCH 08/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cd03a10..8ab4f1d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,8 +18,8 @@ jobs: - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - - - script: 'node node_modules/typescript/lib/tsc.js && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' + + - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' displayName: 'node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' pr: From 58a5d24330b859af22ae4f790a43aaf62dba410d Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 13:16:37 -0800 Subject: [PATCH 09/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8ab4f1d..f5a2fcf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: inputs: verbose: false - - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + - script: 'ls node_modules && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' From 1590b9fae1477651b10652827425b35f11a1d6c6 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 13:24:21 -0800 Subject: [PATCH 10/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f5a2fcf..02b88b7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: inputs: verbose: false - - script: 'ls node_modules && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + - script: 'ls node_modules/@types && cat node/modules/dtslint-runner/package.json && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' From 7820e876504568b19283fcf5adee5803db998de5 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 13:26:49 -0800 Subject: [PATCH 11/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 02b88b7..f4ef037 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ jobs: inputs: verbose: false - - script: 'ls node_modules/@types && cat node/modules/dtslint-runner/package.json && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + - script: 'ls node_modules/@types && cat node_modules/dtslint-runner/package.json && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'ln -s "$(pwd)" node_modules/dts_critic' - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' From 7bf61874539ee1f0edfb566879fdcf939864e529 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 14:13:32 -0800 Subject: [PATCH 12/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f4ef037..5298123 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,11 +16,14 @@ jobs: inputs: verbose: false - - script: 'ls node_modules/@types && cat node_modules/dtslint-runner/package.json && rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' - displayName: 'ln -s "$(pwd)" node_modules/dts_critic' + - script: 'cat package-lock.json && ls node_modules/@types && cat node_modules/dtslint-runner/package.json' + displayName: 'Test' + + - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' + displayName: 'Replace dts-critic' - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' - displayName: 'node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' + displayName: 'Run dtslint-runner' pr: - master From d7f91f279466740896c0272d4c15504b0afa3c42 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 14:32:05 -0800 Subject: [PATCH 13/15] Update package-lock.json --- package-lock.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package-lock.json b/package-lock.json index 25972b0..0817d61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -508,6 +508,15 @@ "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", "dev": true }, + "@types/fs-extra": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.9.tgz", + "integrity": "sha512-dC9Y/GTlzrFRxoX3YMztrjcVQ6B8UAvMbx8pAa2B3hINuhB0hv++ufZVauZpG1l9U0rJznB25IFPvf5XtMcIvw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/istanbul-lib-coverage": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", @@ -1756,6 +1765,8 @@ "from": "github:DefinitelyTyped/dtslint-runner#master", "dev": true, "requires": { + "@types/fs-extra": "^4.0.0", + "@types/node": "^10.14.12", "dtslint": "^3.3.0", "fs-extra": "^4.0.1", "stats-lite": "^2.2.0" From e5e5cab82b780bce37d61a58206804954d6d3a1a Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 15:20:06 -0800 Subject: [PATCH 14/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5298123..4e8ec79 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,11 +16,8 @@ jobs: inputs: verbose: false - - script: 'cat package-lock.json && ls node_modules/@types && cat node_modules/dtslint-runner/package.json' - displayName: 'Test' - - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' - displayName: 'Replace dts-critic' + displayName: 'Replace dts-critic dependency' - script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext' displayName: 'Run dtslint-runner' From bb68d6bd795cd66583856cd211ec4ea5ddb2432a Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 4 Mar 2020 15:31:43 -0800 Subject: [PATCH 15/15] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4e8ec79..9f7cc32 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,9 @@ jobs: inputs: verbose: false + - script: 'npm run build' + displayName: 'Build dts-critic' + - script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic' displayName: 'Replace dts-critic dependency'