From e25833116992db0a5acb6a9cecd84c3980cfe82e Mon Sep 17 00:00:00 2001 From: Rouke Broersma Date: Fri, 17 Jan 2020 13:53:13 +0100 Subject: [PATCH] Fix various issues with passing of parameters to the CLI (#14) This fixes a couple of issues where parameters that were set on the Augurk CLI task were not being passed onto the Augurk CLI itself, causing them to not have any effect. Co-authored-by: Jonathan Mezach +semver: patch --- azure-pipelines.yml | 10 +++-- src/build-task/AugurkCLI/cli.ts | 4 +- src/build-task/AugurkCLI/package-lock.json | 24 +++++----- src/build-task/AugurkCLI/package.json | 8 ++-- src/build-task/AugurkCLI/publishCommand.ts | 13 ++++-- src/build-task/AugurkCLI/task.json | 2 +- src/build-task/AugurkCLI/tests/_suite.ts | 26 +++++++++++ .../tests/publish-additional-arguments.ts | 37 ++++++++++++++++ .../AugurkCLI/tests/publish-version.ts | 44 +++++++++++++++++++ .../AugurkCLIInstaller/package-lock.json | 18 ++++---- .../AugurkCLIInstaller/package.json | 6 +-- src/build-task/AugurkCLIInstaller/task.json | 2 +- .../AugurkCSharpAnalyzer/package-lock.json | 30 ++++++------- .../AugurkCSharpAnalyzer/package.json | 6 +-- src/build-task/AugurkCSharpAnalyzer/task.json | 2 +- .../package-lock.json | 18 ++++---- .../package.json | 6 +-- .../AugurkCSharpAnalyzerInstaller/task.json | 2 +- 18 files changed, 188 insertions(+), 70 deletions(-) create mode 100644 src/build-task/AugurkCLI/tests/publish-additional-arguments.ts create mode 100644 src/build-task/AugurkCLI/tests/publish-version.ts diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c1953ae..710ebe6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,13 +4,17 @@ # https://aka.ms/yaml pool: - vmImage: 'VS2017-Win2016' + vmImage: 'ubuntu-18.04' steps: -- task: GitVersion@4 +- task: GitVersion@5 + inputs: + useConfigFile: true + configFilePath: '$(Build.SourcesDirectory)/GitVersion.yml' + - task: NodeTool@0 inputs: - versionSpec: '8.x' + versionSpec: '10.x' - bash: | npm install -g typescript diff --git a/src/build-task/AugurkCLI/cli.ts b/src/build-task/AugurkCLI/cli.ts index 561870f..872f230 100644 --- a/src/build-task/AugurkCLI/cli.ts +++ b/src/build-task/AugurkCLI/cli.ts @@ -36,6 +36,7 @@ export function buildBaseToolRunner(command: string): ToolRunner { const augurkUrl = tl.getEndpointUrl(endpoint, false); const productName = tl.getInput("productName", true); const groupName = tl.getInput("groupName", false); + const additionalArguments = tl.getInput("additionalArguments", false); // Discover the location of the CLI and make sure it is available const cliPath = tl.which('augurk', true); @@ -45,7 +46,8 @@ export function buildBaseToolRunner(command: string): ToolRunner { .arg(command) .arg(["--url", augurkUrl]) .arg(["--productName", productName]) - .argIf(groupName, ["--groupName", groupName]); + .argIf(groupName, ["--groupName", groupName]) + .argIf(additionalArguments, additionalArguments); } run(); \ No newline at end of file diff --git a/src/build-task/AugurkCLI/package-lock.json b/src/build-task/AugurkCLI/package-lock.json index c76994d..ae5f4ff 100644 --- a/src/build-task/AugurkCLI/package-lock.json +++ b/src/build-task/AugurkCLI/package-lock.json @@ -5,15 +5,15 @@ "requires": true, "dependencies": { "@types/mocha": { - "version": "5.2.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.6.tgz", - "integrity": "sha512-1axi39YdtBI7z957vdqXI4Ac25e7YihYQtJa+Clnxg1zTJEaIRbndt71O3sP4GAMgiAm0pY26/b9BrY4MR/PMw==", + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", + "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==", "dev": true }, "@types/node": { - "version": "10.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.5.tgz", - "integrity": "sha512-Ja7d4s0qyGFxjGeDq5S7Si25OFibSAHUi6i17UWnwNnpitADN7hah9q0Tl25gxuV5R1u2Bx+np6w4LHXfHyj/g==", + "version": "10.17.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.13.tgz", + "integrity": "sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg==", "dev": true }, "@types/q": { @@ -73,9 +73,9 @@ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" }, "semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==" + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "shelljs": { "version": "0.3.0", @@ -83,9 +83,9 @@ "integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=" }, "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" } } } diff --git a/src/build-task/AugurkCLI/package.json b/src/build-task/AugurkCLI/package.json index 33d1844..c93ddd6 100644 --- a/src/build-task/AugurkCLI/package.json +++ b/src/build-task/AugurkCLI/package.json @@ -4,7 +4,7 @@ "description": "An Azure DevOps (Server) build task that invokes Augurk's CLI", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "tsc && mocha tests/_suite.js" }, "repository": { "type": "git", @@ -17,11 +17,11 @@ }, "homepage": "https://github.com/augurk/vsts-extension#readme", "dependencies": { - "azure-pipelines-task-lib": "^2.8.0" + "azure-pipelines-task-lib": "2.8.0" }, "devDependencies": { - "@types/mocha": "^5.2.6", - "@types/node": "^10.14.5", + "@types/mocha": "^5.2.7", + "@types/node": "^10.17.13", "@types/q": "^1.5.2" } } diff --git a/src/build-task/AugurkCLI/publishCommand.ts b/src/build-task/AugurkCLI/publishCommand.ts index e27752c..7444a28 100644 --- a/src/build-task/AugurkCLI/publishCommand.ts +++ b/src/build-task/AugurkCLI/publishCommand.ts @@ -3,6 +3,9 @@ import path = require('path'); import { buildBaseToolRunner } from './cli'; export async function publishCommand() { + // Get the configured version + const version = tl.getInput('version', false); + // Find the feature files we're going to publish const features = tl.getPathInput('features', true); const featureFiles = tl.findMatch(process.cwd(), features); @@ -22,13 +25,13 @@ export async function publishCommand() { // Check whether we should use the folder structure if (tl.getBoolInput('useFolderStructure', true)) { - await publishUsingFolderStructure(featureFiles, productDescription); + await publishUsingFolderStructure(version, featureFiles, productDescription); } else { - await publishIndividualGroup(featureFiles, productDescription); + await publishIndividualGroup(version, featureFiles, productDescription); } } -async function publishUsingFolderStructure(featureFiles: string[], productDescription: string | null) { +async function publishUsingFolderStructure(version: string | null, featureFiles: string[], productDescription: string | null) { // Group the found files by their parent directory const groupedFeatures = featureFiles.reduce<{ [index: string]: string[] }>((groups, item) => { const parent = path.dirname(item).split(path.sep).pop() as string; @@ -42,6 +45,7 @@ async function publishUsingFolderStructure(featureFiles: string[], productDescri const publishCommand = buildBaseToolRunner("publish"); publishCommand.arg(['--featureFiles', groupedFeatures[key].join(',')]); publishCommand.arg(['--groupName', key]); + publishCommand.argIf(version != null, ['--version', version]); publishCommand.argIf(productDescription != null, ['--productDesc', productDescription]); const publishResult = await publishCommand.exec(); @@ -54,9 +58,10 @@ async function publishUsingFolderStructure(featureFiles: string[], productDescri } } -async function publishIndividualGroup(featureFiles: string[], productDescription: string | null) { +async function publishIndividualGroup(version: string | null, featureFiles: string[], productDescription: string | null) { const publishCommand = buildBaseToolRunner('publish'); publishCommand.arg(['--featureFiles', featureFiles.join(',')]); + publishCommand.argIf(version != null, ['--version', version]); publishCommand.argIf(productDescription != null, ['--productDesc', productDescription]); const publishResult = await publishCommand.exec(); diff --git a/src/build-task/AugurkCLI/task.json b/src/build-task/AugurkCLI/task.json index f8e44d0..fdabe30 100644 --- a/src/build-task/AugurkCLI/task.json +++ b/src/build-task/AugurkCLI/task.json @@ -8,7 +8,7 @@ "version": { "Major": 0, "Minor": 3, - "Patch": 6 + "Patch": 8 }, "demands": [ "augurk-cli" diff --git a/src/build-task/AugurkCLI/tests/_suite.ts b/src/build-task/AugurkCLI/tests/_suite.ts index 327600f..30b5181 100644 --- a/src/build-task/AugurkCLI/tests/_suite.ts +++ b/src/build-task/AugurkCLI/tests/_suite.ts @@ -17,6 +17,19 @@ describe('Augurk CLI Task', function () { assert.equal(tr.errorIssues.length, 0, "should have no errors"); done(); }); + + it ('should succesfully publish with a version', function(done: MochaDone) { + this.timeout(1000); + + let tp = path.join(__dirname, 'publish-version.js'); + let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp); + + tr.run(); + assert.equal(tr.succeeded, true, "should have succeeded"); + assert.equal(tr.warningIssues.length, 0, "should have no warnings"); + assert.equal(tr.errorIssues.length, 0, "should have no errors"); + done(); + }); it('should succesfully publish an individual group', function(done: MochaDone) { this.timeout(1000); @@ -31,6 +44,19 @@ describe('Augurk CLI Task', function () { done(); }); + it('should succesfully publish with additional arguments', function() { + this.timeout(1000); + + let tp = path.join(__dirname, 'publish-additional-arguments.js'); + let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp); + + tr.run(); + assert.deepEqual(tr.errorIssues, []); + assert.equal(tr.succeeded, true, 'should have succeeded'); + assert.equal(tr.warningIssues.length, 0, "should have no warnings"); + assert.equal(tr.errorIssues.length, 0, "should have no errors"); + }); + it('logs warning if multiple product descriptions found', function(done: MochaDone) { this.timeout(1000); diff --git a/src/build-task/AugurkCLI/tests/publish-additional-arguments.ts b/src/build-task/AugurkCLI/tests/publish-additional-arguments.ts new file mode 100644 index 0000000..eaf92d7 --- /dev/null +++ b/src/build-task/AugurkCLI/tests/publish-additional-arguments.ts @@ -0,0 +1,37 @@ +import tmrm = require('azure-pipelines-task-lib/mock-run'); +import path = require('path'); + +let taskPath = path.join(__dirname, '..', 'cli.js'); +let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); + +tmr.setInput('command', 'publish'); +tmr.setInput('features', '**/*.feature'); +tmr.setInput('augurkInstance', 'SomeAugurkInstance'); +tmr.setInput('productName', 'Augurk'); +tmr.setInput('includeProductDescription', 'false'); +tmr.setInput('useFolderStructure', 'true'); + +tmr.setInput('additionalArguments', '--useIntegratedSecurity --compat-level 3 --productDesc product-description.md') + +process.env["ENDPOINT_URL_SomeAugurkInstance"] = "https://some.augurk.instance"; + +tmr.setAnswers({ + findMatch: { + "**/*.feature": [ + "Configuration/RetentionPolicy.feature" + ] + }, + which: { + "augurk": "/some/path/to/augurk" + }, + checkPath: { + "/some/path/to/augurk": true + }, + exec: { + "/some/path/to/augurk publish --url https://some.augurk.instance --productName Augurk --useIntegratedSecurity --compat-level 3 --productDesc product-description.md --featureFiles Configuration/RetentionPolicy.feature --groupName Configuration": { + code: 0, + } + } +}); + +tmr.run(); \ No newline at end of file diff --git a/src/build-task/AugurkCLI/tests/publish-version.ts b/src/build-task/AugurkCLI/tests/publish-version.ts new file mode 100644 index 0000000..966c1dd --- /dev/null +++ b/src/build-task/AugurkCLI/tests/publish-version.ts @@ -0,0 +1,44 @@ +import tmrm = require('azure-pipelines-task-lib/mock-run'); +import path = require('path'); + +let taskPath = path.join(__dirname, '..', 'cli.js'); +let tmr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath); + +tmr.setInput('command', 'publish'); +tmr.setInput('features', '**/*.feature'); +tmr.setInput('augurkInstance', 'SomeAugurkInstance'); +tmr.setInput('productName', 'Augurk'); +tmr.setInput('useFolderStructure', 'true'); +tmr.setInput('version', '1.0.0'); +tmr.setInput('includeProductDescription', 'true'); +tmr.setInput('productDescription', 'product-description.md'); + +process.env["ENDPOINT_URL_SomeAugurkInstance"] = "https://some.augurk.instance"; + +tmr.setAnswers({ + findMatch: { + "**/*.feature": [ + "Configuration/RetentionPolicy.feature", + "Gherkin/ChildOfTag.feature", + ], + "product-description.md": [ + "product-description.md" + ] + }, + which: { + "augurk": "/some/path/to/augurk" + }, + checkPath: { + "/some/path/to/augurk": true + }, + exec: { + "/some/path/to/augurk publish --url https://some.augurk.instance --productName Augurk --featureFiles Configuration/RetentionPolicy.feature --groupName Configuration --version 1.0.0 --productDesc product-description.md": { + code: 0, + }, + "/some/path/to/augurk publish --url https://some.augurk.instance --productName Augurk --featureFiles Gherkin/ChildOfTag.feature --groupName Gherkin --version 1.0.0 --productDesc product-description.md": { + code: 0, + }, + } +}); + +tmr.run(); \ No newline at end of file diff --git a/src/build-task/AugurkCLIInstaller/package-lock.json b/src/build-task/AugurkCLIInstaller/package-lock.json index a39a414..12d12bb 100644 --- a/src/build-task/AugurkCLIInstaller/package-lock.json +++ b/src/build-task/AugurkCLIInstaller/package-lock.json @@ -5,14 +5,14 @@ "requires": true, "dependencies": { "@types/node": { - "version": "10.12.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.15.tgz", - "integrity": "sha512-9kROxduaN98QghwwHmxXO2Xz3MaWf+I1sLVAA6KJDF5xix+IyXVhds0MAfdNwtcpSrzhaTsNB0/jnL86fgUhqA==" + "version": "13.1.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.7.tgz", + "integrity": "sha512-HU0q9GXazqiKwviVxg9SI/+t/nAsGkvLDkIdxz+ObejG2nX6Si00TeLqHMoS+a/1tjH7a8YpKVQwtgHuMQsldg==" }, "@types/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz", - "integrity": "sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", + "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==", "dev": true }, "@types/semver": { @@ -29,9 +29,9 @@ } }, "azure-pipelines-task-lib": { - "version": "2.7.7", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.7.7.tgz", - "integrity": "sha512-4KBPheFTxTDqvaY0bjs9/Ab5yb2c/Y5u8gd54UGL2xhGbv2eoahOZPerAUY/vKsUDu2mjlP/JAWTlDv7dghdRQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.8.0.tgz", + "integrity": "sha512-PR8oap9z2j+o455W3PwAfB4SX1p4GdJc9OHQaQV0V+iQS1IBY6dVgcNSQMkHAXb0V1bbuLOFBLanXPe5eSgGTQ==", "requires": { "minimatch": "3.0.4", "mockery": "^1.7.0", diff --git a/src/build-task/AugurkCLIInstaller/package.json b/src/build-task/AugurkCLIInstaller/package.json index e3e4d82..d756cf1 100644 --- a/src/build-task/AugurkCLIInstaller/package.json +++ b/src/build-task/AugurkCLIInstaller/package.json @@ -17,11 +17,11 @@ }, "homepage": "https://github.com/augurk/vsts-extension#readme", "dependencies": { - "azure-pipelines-task-lib": "^2.7.7", + "azure-pipelines-task-lib": "2.8.0", "vsts-task-tool-lib": "^0.10.0" }, "devDependencies": { - "@types/node": "^10.12.15", - "@types/q": "^1.5.1" + "@types/node": "^13.1.7", + "@types/q": "^1.5.2" } } diff --git a/src/build-task/AugurkCLIInstaller/task.json b/src/build-task/AugurkCLIInstaller/task.json index 8baacb3..edf869f 100644 --- a/src/build-task/AugurkCLIInstaller/task.json +++ b/src/build-task/AugurkCLIInstaller/task.json @@ -8,7 +8,7 @@ "version": { "Major": 0, "Minor": 1, - "Patch": 6 + "Patch": 7 }, "capabilities": [ "augurk-cli" diff --git a/src/build-task/AugurkCSharpAnalyzer/package-lock.json b/src/build-task/AugurkCSharpAnalyzer/package-lock.json index 0bdc267..c665a5b 100644 --- a/src/build-task/AugurkCSharpAnalyzer/package-lock.json +++ b/src/build-task/AugurkCSharpAnalyzer/package-lock.json @@ -5,21 +5,21 @@ "requires": true, "dependencies": { "@types/node": { - "version": "10.12.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.15.tgz", - "integrity": "sha512-9kROxduaN98QghwwHmxXO2Xz3MaWf+I1sLVAA6KJDF5xix+IyXVhds0MAfdNwtcpSrzhaTsNB0/jnL86fgUhqA==", + "version": "13.1.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.7.tgz", + "integrity": "sha512-HU0q9GXazqiKwviVxg9SI/+t/nAsGkvLDkIdxz+ObejG2nX6Si00TeLqHMoS+a/1tjH7a8YpKVQwtgHuMQsldg==", "dev": true }, "@types/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz", - "integrity": "sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", + "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==", "dev": true }, "azure-pipelines-task-lib": { - "version": "2.7.7", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.7.7.tgz", - "integrity": "sha512-4KBPheFTxTDqvaY0bjs9/Ab5yb2c/Y5u8gd54UGL2xhGbv2eoahOZPerAUY/vKsUDu2mjlP/JAWTlDv7dghdRQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.8.0.tgz", + "integrity": "sha512-PR8oap9z2j+o455W3PwAfB4SX1p4GdJc9OHQaQV0V+iQS1IBY6dVgcNSQMkHAXb0V1bbuLOFBLanXPe5eSgGTQ==", "requires": { "minimatch": "3.0.4", "mockery": "^1.7.0", @@ -67,9 +67,9 @@ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" }, "semver": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", - "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "shelljs": { "version": "0.3.0", @@ -77,9 +77,9 @@ "integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=" }, "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" } } } diff --git a/src/build-task/AugurkCSharpAnalyzer/package.json b/src/build-task/AugurkCSharpAnalyzer/package.json index aea1fe0..7c248e2 100644 --- a/src/build-task/AugurkCSharpAnalyzer/package.json +++ b/src/build-task/AugurkCSharpAnalyzer/package.json @@ -17,10 +17,10 @@ }, "homepage": "https://github.com/augurk/vsts-extension#readme", "dependencies": { - "azure-pipelines-task-lib": "^2.7.7" + "azure-pipelines-task-lib": "2.8.0" }, "devDependencies": { - "@types/node": "^10.12.15", - "@types/q": "^1.5.1" + "@types/node": "^13.1.7", + "@types/q": "^1.5.2" } } diff --git a/src/build-task/AugurkCSharpAnalyzer/task.json b/src/build-task/AugurkCSharpAnalyzer/task.json index 9c1c80f..f80def0 100644 --- a/src/build-task/AugurkCSharpAnalyzer/task.json +++ b/src/build-task/AugurkCSharpAnalyzer/task.json @@ -8,7 +8,7 @@ "version": { "Major": 0, "Minor": 1, - "Patch": 4 + "Patch": 5 }, "demands": [ "augurk-csharpanalyzer" diff --git a/src/build-task/AugurkCSharpAnalyzerInstaller/package-lock.json b/src/build-task/AugurkCSharpAnalyzerInstaller/package-lock.json index 964e14d..1d2bbaf 100644 --- a/src/build-task/AugurkCSharpAnalyzerInstaller/package-lock.json +++ b/src/build-task/AugurkCSharpAnalyzerInstaller/package-lock.json @@ -5,14 +5,14 @@ "requires": true, "dependencies": { "@types/node": { - "version": "10.12.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.15.tgz", - "integrity": "sha512-9kROxduaN98QghwwHmxXO2Xz3MaWf+I1sLVAA6KJDF5xix+IyXVhds0MAfdNwtcpSrzhaTsNB0/jnL86fgUhqA==" + "version": "13.1.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.7.tgz", + "integrity": "sha512-HU0q9GXazqiKwviVxg9SI/+t/nAsGkvLDkIdxz+ObejG2nX6Si00TeLqHMoS+a/1tjH7a8YpKVQwtgHuMQsldg==" }, "@types/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz", - "integrity": "sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", + "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==", "dev": true }, "@types/semver": { @@ -29,9 +29,9 @@ } }, "azure-pipelines-task-lib": { - "version": "2.7.7", - "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.7.7.tgz", - "integrity": "sha512-4KBPheFTxTDqvaY0bjs9/Ab5yb2c/Y5u8gd54UGL2xhGbv2eoahOZPerAUY/vKsUDu2mjlP/JAWTlDv7dghdRQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.8.0.tgz", + "integrity": "sha512-PR8oap9z2j+o455W3PwAfB4SX1p4GdJc9OHQaQV0V+iQS1IBY6dVgcNSQMkHAXb0V1bbuLOFBLanXPe5eSgGTQ==", "requires": { "minimatch": "3.0.4", "mockery": "^1.7.0", diff --git a/src/build-task/AugurkCSharpAnalyzerInstaller/package.json b/src/build-task/AugurkCSharpAnalyzerInstaller/package.json index 1062a07..0c5f9f7 100644 --- a/src/build-task/AugurkCSharpAnalyzerInstaller/package.json +++ b/src/build-task/AugurkCSharpAnalyzerInstaller/package.json @@ -17,11 +17,11 @@ }, "homepage": "https://github.com/augurk/vsts-extension#readme", "dependencies": { - "azure-pipelines-task-lib": "^2.7.7", + "azure-pipelines-task-lib": "2.8.0", "vsts-task-tool-lib": "^0.10.0" }, "devDependencies": { - "@types/node": "^10.12.15", - "@types/q": "^1.5.1" + "@types/node": "^13.1.7", + "@types/q": "^1.5.2" } } diff --git a/src/build-task/AugurkCSharpAnalyzerInstaller/task.json b/src/build-task/AugurkCSharpAnalyzerInstaller/task.json index 8be0528..3f1419d 100644 --- a/src/build-task/AugurkCSharpAnalyzerInstaller/task.json +++ b/src/build-task/AugurkCSharpAnalyzerInstaller/task.json @@ -8,7 +8,7 @@ "version": { "Major": 0, "Minor": 1, - "Patch": 5 + "Patch": 6 }, "capabilities": [ "augurk-csharpanalyzer"