Skip to content

Commit 73a438e

Browse files
authored
fix: allow tasks to run with node16 (#551)
1 parent dffc4f3 commit 73a438e

File tree

23 files changed

+89
-1
lines changed

23 files changed

+89
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Support Node16"
4+
}

build-scripts/packageExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function packagePlugin(options: CommandLineOptions) {
116116
entryPoints: [inputFilename],
117117
bundle: true,
118118
platform: 'node',
119-
target: ['node10'],
119+
target: ['node10', 'node16'],
120120
minify: true,
121121
outfile: `${taskPackageFolder}/${taskName}.js`
122122
})

src/tasks/AWSCLI/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
"Node10": {
7777
"target": "AWSCLI.js",
7878
"argumentFormat": ""
79+
},
80+
"Node16": {
81+
"target": "AWSCLI.js",
82+
"argumentFormat": ""
7983
}
8084
},
8185
"messages": {

src/tasks/AWSShellScript/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@
115115
"Node10": {
116116
"target": "AWSShellScript.js",
117117
"argumentFormat": ""
118+
},
119+
"Node16": {
120+
"target": "AWSShellScript.js",
121+
"argumentFormat": ""
118122
}
119123
},
120124
"messages": {

src/tasks/BeanstalkCreateApplicationVersion/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@
143143
"Node10": {
144144
"target": "BeanstalkCreateApplicationVersion.js",
145145
"argumentFormat": ""
146+
},
147+
"Node16": {
148+
"target": "BeanstalkCreateApplicationVersion.js",
149+
"argumentFormat": ""
146150
}
147151
},
148152
"messages": {

src/tasks/BeanstalkDeployApplication/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@
160160
"Node10": {
161161
"target": "BeanstalkDeployApplication.js",
162162
"argumentFormat": ""
163+
},
164+
"Node16": {
165+
"target": "BeanstalkDeployApplication.js",
166+
"argumentFormat": ""
163167
}
164168
},
165169
"messages": {

src/tasks/CloudFormationCreateOrUpdateStack/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,10 @@
380380
"Node10": {
381381
"target": "CloudFormationCreateOrUpdateStack.js",
382382
"argumentFormat": ""
383+
},
384+
"Node16": {
385+
"target": "CloudFormationCreateOrUpdateStack.js",
386+
"argumentFormat": ""
383387
}
384388
},
385389
"messages": {

src/tasks/CloudFormationDeleteStack/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070
"Node10": {
7171
"target": "CloudFormationDeleteStack.js",
7272
"argumentFormat": ""
73+
},
74+
"Node16": {
75+
"target": "CloudFormationDeleteStack.js",
76+
"argumentFormat": ""
7377
}
7478
},
7579
"messages": {

src/tasks/CloudFormationExecuteChangeSet/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@
133133
"Node10": {
134134
"target": "CloudFormationExecuteChangeSet.js",
135135
"argumentFormat": ""
136+
},
137+
"Node16": {
138+
"target": "CloudFormationExecuteChangeSet.js",
139+
"argumentFormat": ""
136140
}
137141
},
138142
"messages": {

src/tasks/CodeDeployDeployApplication/task.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@
207207
"Node10": {
208208
"target": "CodeDeployDeployApplication.js",
209209
"argumentFormat": ""
210+
},
211+
"Node16": {
212+
"target": "CodeDeployDeployApplication.js",
213+
"argumentFormat": ""
210214
}
211215
},
212216
"messages": {

0 commit comments

Comments
 (0)