Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 49287f4

Browse files
Update samples to support Node 22 version - Typescript (#4033)
* Update node 22 TS Templates * Update tsconfig * Update linuxFxVersion Node 22 --------- Co-authored-by: German Anduquia <g.anduquia@utp.edu.co>
1 parent ab8a382 commit 49287f4

26 files changed

Lines changed: 30 additions & 30 deletions

File tree

samples/typescript_nodejs/00.empty-bot/deploymentTemplates/DeployUseExistResourceGroup/template-BotApp-with-rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"appSettings": [
159159
{
160160
"name": "WEBSITE_NODE_DEFAULT_VERSION",
161-
"value": "~20"
161+
"value": "~22"
162162
},
163163
{
164164
"name": "MicrosoftAppType",

samples/typescript_nodejs/00.empty-bot/deploymentTemplates/DeployWithNewResourceGroup/template-BotApp-new-rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"appSettings": [
176176
{
177177
"name": "WEBSITE_NODE_DEFAULT_VERSION",
178-
"value": "~20"
178+
"value": "~22"
179179
},
180180
{
181181
"name": "MicrosoftAppType",

samples/typescript_nodejs/00.empty-bot/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es2016",
5-
"module": "commonjs",
5+
"module": "NodeNext",
66
"outDir": "./lib",
77
"rootDir": "./src",
88
"sourceMap": true,

samples/typescript_nodejs/01.console-echo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"composite": true,
44
"declaration": true,
55
"target": "es2016",
6-
"module": "commonjs",
6+
"module": "NodeNext",
77
"outDir": "./lib",
88
"rootDir": "./src",
99
"sourceMap": true,

samples/typescript_nodejs/02.echo-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"appSettings": [
159159
{
160160
"name": "WEBSITE_NODE_DEFAULT_VERSION",
161-
"value": "~20"
161+
"value": "~22"
162162
},
163163
{
164164
"name": "MicrosoftAppType",

samples/typescript_nodejs/02.echo-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"appSettings": [
176176
{
177177
"name": "WEBSITE_NODE_DEFAULT_VERSION",
178-
"value": "~20"
178+
"value": "~22"
179179
},
180180
{
181181
"name": "MicrosoftAppType",

samples/typescript_nodejs/02.echo-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"linuxFxVersion": {
5353
"type": "string",
54-
"defaultValue": "NODE|20-LTS"
54+
"defaultValue": "NODE|22-LTS"
5555
},
5656
"appId": {
5757
"type": "string",
@@ -137,7 +137,7 @@
137137
"appSettings": [
138138
{
139139
"name": "WEBSITE_NODE_DEFAULT_VERSION",
140-
"value": "~20"
140+
"value": "~22"
141141
},
142142
{
143143
"name": "MicrosoftAppType",

samples/typescript_nodejs/02.echo-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"linuxFxVersion": {
5050
"type": "string",
51-
"defaultValue": "NODE|20-LTS"
51+
"defaultValue": "NODE|22-LTS"
5252
},
5353
"appId": {
5454
"type": "string",
@@ -156,7 +156,7 @@
156156
"appSettings": [
157157
{
158158
"name": "WEBSITE_NODE_DEFAULT_VERSION",
159-
"value": "~20"
159+
"value": "~22"
160160
},
161161
{
162162
"name": "MicrosoftAppType",

samples/typescript_nodejs/02.echo-bot/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"declaration": true,
44
"target": "es2016",
5-
"module": "commonjs",
5+
"module": "NodeNext",
66
"outDir": "./lib",
77
"rootDir": "./src",
88
"sourceMap": true,

samples/typescript_nodejs/03.welcome-users/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"appSettings": [
159159
{
160160
"name": "WEBSITE_NODE_DEFAULT_VERSION",
161-
"value": "~20"
161+
"value": "~22"
162162
},
163163
{
164164
"name": "MicrosoftAppType",

0 commit comments

Comments
 (0)