Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate NuGetInstallerV0 to Node10 #15828

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Tasks/NuGetInstallerV0/Tests/L0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('NuGetInstaller Suite', function () {

after(() => {
});
it('restore single solution', (done: MochaDone) => {
it('restore single solution', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singlesln.js')
Expand All @@ -24,7 +24,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution with CredentialProvider', (done: MochaDone) => {
it('restore single solution with CredentialProvider', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnCredentialProvider.js')
Expand All @@ -42,7 +42,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore packages.config', (done: MochaDone) => {
it('restore packages.config', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'pkgconfig.js')
Expand All @@ -58,7 +58,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution with noCache', (done: MochaDone) => {
it('restore single solution with noCache', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnNoCache.js')
Expand All @@ -74,7 +74,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution with extra args', (done: MochaDone) => {
it('restore single solution with extra args', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnExtraArgs.js')
Expand All @@ -90,7 +90,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution with nuget config', (done: MochaDone) => {
it('restore single solution with nuget config', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnConfigFile.js')
Expand All @@ -107,7 +107,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution, custom NuGet path, hosted', (done: MochaDone) => {
it('restore single solution, custom NuGet path, hosted', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnCustomPath.js');
Expand All @@ -123,7 +123,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore multiple solutions', (done: MochaDone) => {
it('restore multiple solutions', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'multiplesln.js')
Expand All @@ -140,7 +140,7 @@ describe('NuGetInstaller Suite', function () {
done();
});

it('restore single solution mono', (done: MochaDone) => {
it('restore single solution mono', (done: Mocha.Done) => {
this.timeout(1000);

let tp = path.join(__dirname, 'singleslnMono.js')
Expand Down
93 changes: 47 additions & 46 deletions Tasks/NuGetInstallerV0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Tasks/NuGetInstallerV0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
},
"homepage": "https://github.com/Microsoft/azure-pipelines-tasks#readme",
"dependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.0",
"@types/uuid": "^8.3.0",
"packaging-common": "file:../../_build/Tasks/Common/packaging-common-1.0.1.tgz",
"utility-common": "file:../../_build/Tasks/Common/utility-common-1.0.2.tgz",
"xmlreader": "^0.2.3"
},
"devDependencies": {
"typescript": "4.0.2"
}
}
6 changes: 3 additions & 3 deletions Tasks/NuGetInstallerV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 198,
"Minor": 200,
"Patch": 0
},
"runsOn": [
"Agent",
"DeploymentGroup"
],
"minimumAgentVersion": "2.115.0",
"minimumAgentVersion": "2.144.0",
"groups": [
{
"name": "advanced",
Expand Down Expand Up @@ -111,7 +111,7 @@
}
],
"execution": {
"Node": {
"Node10": {
"target": "nugetinstaller.js",
"argumentFormat": ""
}
Expand Down
6 changes: 3 additions & 3 deletions Tasks/NuGetInstallerV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 198,
"Minor": 200,
"Patch": 0
},
"runsOn": [
"Agent",
"DeploymentGroup"
],
"minimumAgentVersion": "2.115.0",
"minimumAgentVersion": "2.144.0",
"groups": [
{
"name": "advanced",
Expand Down Expand Up @@ -111,7 +111,7 @@
}
],
"execution": {
"Node": {
"Node10": {
"target": "nugetinstaller.js",
"argumentFormat": ""
}
Expand Down
7 changes: 0 additions & 7 deletions Tasks/NuGetInstallerV0/typings.json

This file was deleted.

Loading