[#4009] Update samples to support latest Node version - JavaScript (#4010)

* JS - Update samples and ARM templates to support latest LTS Node version

* Use Node 20 as default in ARM templates

* Update default value for Stack en linux

* Update README files

* Update botbuilder version in JS samples

* Fix Node version in linux templates

---------

Co-authored-by: Ivan K Berlot <ivanberlot@gmail.com>
This commit is contained in:
Cecilia Avila 2024-09-25 16:36:15 -03:00 коммит произвёл GitHub
Родитель e5b6d01b01
Коммит baf38f484d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
135 изменённых файлов: 204 добавлений и 204 удалений

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder-core": "~4.17.0",
"botbuilder-core": "~4.23.0",
"dotenv": "^8.2.0",
"path": "^0.12.7",
"readline": "^1.3.0"

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -51,7 +51,7 @@
},
"linuxFxVersion": {
"type": "string",
"defaultValue": "NODE|16"
"defaultValue": "NODE|20-LTS"
},
"appId": {
"type": "string",
@ -137,7 +137,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -48,7 +48,7 @@
},
"linuxFxVersion": {
"type": "string",
"defaultValue": "NODE|16"
"defaultValue": "NODE|20-LTS"
},
"appId": {
"type": "string",
@ -156,7 +156,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -29,4 +29,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -29,4 +29,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"path": "^0.12.7",
"restify": "~10.0.0"
@ -31,4 +31,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -29,4 +29,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -29,4 +29,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -9,7 +9,7 @@ This bot has been created using the [Bot Framework SDK][BF], it shows how to cre
## Prerequisites
- This project requires a [Language service resource](https://aka.ms/create-language-resource) with Custom question answering enabled.
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version
@ -92,4 +92,4 @@ If you are new to Microsoft Azure, please refer to [Getting started with Azure][
[BF]: https://dev.botframework.com/
[Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk
[Azure]: https://portal.azure.com
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-ai": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-ai": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -17,7 +17,7 @@ This sample **requires** prerequisites in order to run.
This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding.
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -51,7 +51,7 @@
},
"linuxFxVersion": {
"type": "string",
"defaultValue": "NODE|16"
"defaultValue": "NODE|20-LTS"
},
"appId": {
"type": "string",
@ -137,7 +137,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -48,7 +48,7 @@
},
"linuxFxVersion": {
"type": "string",
"defaultValue": "NODE|16"
"defaultValue": "NODE|20-LTS"
},
"appId": {
"type": "string",
@ -156,7 +156,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -17,10 +17,10 @@
},
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "~4.22.1",
"botbuilder-ai": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder-testing": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-ai": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"botbuilder-testing": "~4.23.0",
"dotenv": "^8.2.0",
"moment-timezone": "~0.5.33",
"restify": "~10.0.0"
@ -36,4 +36,4 @@
"nodemon": "~2.0.4",
"nyc": "^15.0.1"
}
}
}

Просмотреть файл

@ -9,7 +9,7 @@ upload files to Teams from a bot and how to receive a file sent to a bot as an a
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -17,7 +17,7 @@
},
"dependencies": {
"axios": "^0.21.2",
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -15,7 +15,7 @@ all users who have previously messaged the bot.
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"fetch-ponyfill": "^7.0.0",
"moment": "^2.29.1",
@ -33,4 +33,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -21,7 +21,7 @@ The API uses the most modern neural machine translation technology, as well as o
This sample **requires** prerequisites in order to run.
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"node-fetch": "^2.6.0",
"restify": "~10.0.0"
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -10,7 +10,7 @@ NOTE: Microsoft Teams currently differs slightly in the way auth is integrated w
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -8,7 +8,7 @@ BotFramework provides a built-in base class called `Dialog`. By subclassing `Dia
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -19,7 +19,7 @@ This sample **requires** prerequisites in order to run.
This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding
and [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices), an extensible Application Performance Management (APM) service for web developers on multiple platforms.
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -17,10 +17,10 @@
"license": "MIT",
"dependencies": {
"@microsoft/recognizers-text-data-types-timex-expression": "1.1.4",
"botbuilder": "~4.22.1",
"botbuilder-ai": "~4.22.1",
"botbuilder-applicationinsights": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-ai": "~4.23.0",
"botbuilder-applicationinsights": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"path": "^0.12.7",
"restify": "~10.0.0"
@ -37,4 +37,4 @@
"path": "^0.12.7",
"restify": "^8.6.0"
}
}
}

Просмотреть файл

@ -8,7 +8,7 @@ More information about configuring a bot for Facebook Messenger can be found her
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -11,7 +11,7 @@ application setup for use in Azure Bot Service. The [scopes](https://developer.m
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -17,8 +17,8 @@
},
"dependencies": {
"@microsoft/microsoft-graph-client": "~2.0.0",
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"isomorphic-fetch": "^3.0.0",
"restify": "~10.0.0"

Просмотреть файл

@ -4,7 +4,7 @@ This sample creates a complex conversation with dialogs.
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version
@ -52,4 +52,4 @@ This sample creates a complex conversation with dialogs.
## Further reading
- [Azure Bot Service](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Bot Storage](https://docs.microsoft.com/azure/bot-service/dotnet/bot-builder-dotnet-state?view=azure-bot-service-3.0&viewFallbackFrom=azure-bot-service-4.0)
- [Bot Storage](https://docs.microsoft.com/azure/bot-service/dotnet/bot-builder-dotnet-state?view=azure-bot-service-3.0&viewFallbackFrom=azure-bot-service-4.0)

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -12,8 +12,8 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -26,4 +26,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ The bot maintains user state to track the user's answers.
## Prerequisites
- Node.js version 16.16.0 or higher.
- Node.js version 18 or higher.
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -13,7 +13,7 @@
},
"dependencies": {
"@microsoft/recognizers-text-suite": "1.1.4",
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -26,4 +26,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ The bot maintains user state to track the user's answers.
## Prerequisites
- Node.js version 16.16.0 or higher.
- Node.js version 18 or higher.
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -12,7 +12,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -25,4 +25,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -12,7 +12,7 @@ More details are available [here](https://github.com/microsoft/BotFramework-Emul
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,7 +16,7 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -29,4 +29,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -13,7 +13,7 @@ This bot was created using [Bot Framework][BF].
## Prerequisites
- This project requires a [Language resource](https://aka.ms/create-language-resource) with Custom question answering enabled.
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version
@ -187,4 +187,4 @@ If you are new to Microsoft Azure, please refer to [Getting started with Azure][
[BF]: https://dev.botframework.com/
[Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk
[Azure]: https://portal.azure.com/
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases
[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,9 +16,9 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botbuilder-ai": "~4.22.1",
"botbuilder-dialogs": "~4.22.1",
"botbuilder": "~4.23.0",
"botbuilder-ai": "~4.23.0",
"botbuilder-dialogs": "~4.23.0",
"dotenv": "^8.2.0",
"restify": "~10.0.0"
},
@ -31,4 +31,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher
- [Node.js](https://nodejs.org) version 18 or higher
```bash
# determine node version

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botframework-connector": "~4.22.1",
"botbuilder": "~4.23.0",
"botframework-connector": "~4.23.0",
"dotenv": "~8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -16,8 +16,8 @@
"url": "https://github.com"
},
"dependencies": {
"botbuilder": "~4.22.1",
"botframework-connector": "~4.22.1",
"botbuilder": "~4.23.0",
"botframework-connector": "~4.23.0",
"dotenv": "~8.2.0",
"restify": "~10.0.0"
},
@ -30,4 +30,4 @@
"eslint-plugin-standard": "^4.0.1",
"nodemon": "~2.0.4"
}
}
}

Просмотреть файл

@ -6,7 +6,7 @@ This bot has been created using the [Bot Framework](https://dev.botframework.com
## Prerequisites
- [Node.js](https://nodejs.org) version 16.16.0 or higher.
- [Node.js](https://nodejs.org) version 18 or higher.
```bash
# Determine node version.

Просмотреть файл

@ -158,7 +158,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Просмотреть файл

@ -175,7 +175,7 @@
"appSettings": [
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~16"
"value": "~20"
},
{
"name": "MicrosoftAppType",

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше