chore: Update NodeJs Engine compat to v14, add pre-reqs to Composer readme (#8225)

* Update node to v14, add pre-req to Composer readme

* special m1 note
This commit is contained in:
taicchoumsft 2021-07-01 07:39:51 -07:00 коммит произвёл GitHub
Родитель dde2158e1e
Коммит 9f061f9d97
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
12 изменённых файлов: 52 добавлений и 59 удалений

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

@ -27,7 +27,7 @@
"ejs": "^3.1.6"
},
"engines": {
"node": ">=12"
"node": "14.x"
},
"workspaces": {
"packages": [

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

@ -4,7 +4,7 @@
"description": "BotFramework Adaptive Form",
"main": "lib/index.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"files": [
"css",

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

@ -5,7 +5,7 @@
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=12"
"node": "14.x"
},
"scripts": {
"start": "node --max_old_space_size=6114 --max-http-header-size=16000 scripts/start.js",

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

@ -6,7 +6,7 @@
"description": "Electron wrapper around Composer that launches Composer as a desktop application.",
"main": "./build/main.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"scripts": {
"build": "tsc -b tsconfig.build.json && ncp src/preload.js build/preload.js",

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

@ -4,7 +4,7 @@
"description": "Code editor component that is shared in composer packages",
"main": "lib/index.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"repository": "https://github.com/microsoft/BotFramework-Composer",
"license": "MIT",

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

@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "src/index.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"devDependencies": {
"lodash": "^4.17.19"

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

@ -4,7 +4,7 @@
"description": "<description>",
"main": "lib/index.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"repository": "https://github.com/microsoft/BotFramework-Composer",
"license": "MIT",

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

@ -6,7 +6,7 @@
"repository": "https://github.com/microsoft/BotFramework-Composer",
"license": "MIT",
"engines": {
"node": ">=12"
"node": "14.x"
},
"scripts": {
"build": "yarn clean && yarn build:ts",

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

@ -5,7 +5,7 @@
"description": "",
"main": "build/server.js",
"engines": {
"node": ">=12"
"node": "14.x"
},
"scripts": {
"analyze": "source-map-explorer 'build/public/static/js/*.js'",

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

@ -35,15 +35,21 @@ The Bot Framework Composer is an open source tool based on the Bot Framework SDK
To build and run the Composer project locally as a web application, clone the source code from Github and build the application using the instructions below.
Please see [supported NodeJS versions][205] before building.
### Prerequisites
- [Git](https://git-scm.com/downloads).
- [Node.js](https://nodejs.org/) LTS 14.x.
- [Yarn](https://yarnpkg.com/en/docs/install).
- [.NET Core SDK 3.1](https://dotnet.microsoft.com/download/dotnet-core) or later.
- On Windows, install the latest [Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019](https://support.microsoft.com/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0).
- [List of recommended OS versions][205].
```
$ git clone https://github.com/microsoft/BotFramework-Composer.git
$ cd BotFramework-Composer
$ cd Composer // switch to Composer folder
$ yarn install // install dependencies
$ yarn build // build extensions and libs
$ yarn startall // start client and server at the same time
```bash
git clone https://github.com/microsoft/BotFramework-Composer.git
cd BotFramework-Composer
cd Composer # switch to Composer folder
yarn install # install dependencies
yarn build # build extensions and libs
yarn startall # start client and server at the same time
```
## Extend Composer with Extensions

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

@ -1,42 +0,0 @@
# Composer - Recommended OS versions
The tables below provide recommended OS information for Composer 1.3 and later.
For this release, the Composer application will **only run on x64**. We will support more architectures in upcoming releases.
You can continue to publish your bot to a 32-bit platform (for instance on an Azure Web Application B1 tier).
If you are using Orchestrator, you will need to run on an x64 platform. Please read [this document](preview%20features/orchestrator.md)
## Windows
OS | Version | Architectures
------------------|--------------------|---------------
Windows 10 | Version 1607+ | x64
Windows Server | 2012 R2+ | x64
Nano Server | Version 1803+ | x64
## macOS
OS | Version | Architectures
------------------|--------------------|---------------
Mac OS X | 10.14+ | x64
## Linux
OS | Version | Architectures
------------------|--------------------|---------------
Ubuntu | 18.04, 20.04 | x64
Debian | 9+ | x64
## Supported Node.js versions
If you are building Composer from source, the table below shows the Node.js versions that Composer will run on.
Node.js | Version | Architectures
--------|----------------------------|---------------
LTS | v10, v12, v14 | x64

29
docs/supported-os.md Normal file
Просмотреть файл

@ -0,0 +1,29 @@
# Composer - Recommended OS versions
The tables below provide recommended OS information for Composer 2.0+.
## Windows
OS | Version | Architectures
------------------|--------------------|---------------
Windows 10 | Version 1607+ | x32, x64
Windows Server | 2012 R2+ | x32, x64
Nano Server | Version 1803+ | x32, x64
## macOS
OS | Version | Architectures
------------------|--------------------|---------------
Mac OS X | 10.14+ | x64
Note: Composer does **not** run on Apple M1 hardware.
## Linux
OS | Version | Architectures
------------------|--------------------|---------------
Ubuntu | 18.04, 20.04 | x64
Debian | 9+ | x64