Skip to content

Commit

Permalink
Migrate AzureRmWebAppDeploymentV4 and IISWebAppDeploymentOnMachineGro…
Browse files Browse the repository at this point in the history
…upV0 to Node20 (#19371)

* Migrate 2 tasks

* merge _generated node16 tasks to base
  • Loading branch information
qianz2 authored Jan 15, 2024
1 parent 336d467 commit b5b4b7d
Show file tree
Hide file tree
Showing 257 changed files with 627 additions and 18,832 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
"homepage": "https://github.com/Microsoft/azure-pipelines-tasks#readme",
"dependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^16.11.39",
"@types/node": "^20.3.1",
"@types/q": "1.0.7",
"agent-base": "^6.0.2",
"azure-pipelines-task-lib": "4.4.0",
"azure-pipelines-task-lib": "^3.4.0",
"azure-pipelines-tasks-azure-arm-rest": "3.223.5",
"azure-pipelines-tasks-webdeployment-common": "4.230.6",
"moment": "^2.29.4",
Expand All @@ -30,6 +29,6 @@
"xml2js": "^0.6.0"
},
"devDependencies": {
"typescript": "4.0.2"
"typescript": "5.1.6"
}
}
3 changes: 2 additions & 1 deletion Tasks/AzureRmWebAppDeploymentV4/make.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
{
"items": [
"node_modules/azure-pipelines-tasks-azure-arm-rest/node_modules/azure-pipelines-task-lib",
"node_modules/azure-pipelines-tasks-webdeployment-common/node_modules/azure-pipelines-task-lib"
"node_modules/azure-pipelines-tasks-webdeployment-common/node_modules/azure-pipelines-task-lib",
"node_modules/https-proxy-agent/node_modules/agent-base"
],
"options": "-Rf"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,9 @@ export class PublishProfileUtility {
outStream: process.stdout,
failOnStdErr: true,
windowsVerbatimArguments: true,
#if NODE16
// shell should be true, otherwise see https://github.com/microsoft/azure-pipelines-tasks/issues/17634
// workaround https://github.com/nodejs/node/issues/7367#issuecomment-229728704
shell: true
#elseif NODE20
// shell should be true, otherwise see https://github.com/microsoft/azure-pipelines-tasks/issues/17634
// workaround https://github.com/nodejs/node/issues/7367#issuecomment-229728704
shell: true
#endif
});
} catch (error) {
cmdError = error;
Expand Down
Loading

0 comments on commit b5b4b7d

Please sign in to comment.