@microsoft/teamsfx 3.0.0-alpha.dc2ed64c9.0 → 3.0.0-alpha.ee7099d29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -648,7 +648,24 @@ From `botbuilder@4.16.0`, `BotFrameworkAdapter` is deprecated, and `CloudAdapter
|
|
648
648
|
});
|
649
649
|
```
|
650
650
|
|
651
|
-
4. If the project
|
651
|
+
4. If the project is using `express` to create a server, please add the following line after `express()`.
|
652
|
+
|
653
|
+
```ts
|
654
|
+
expressApp.use(express.json());
|
655
|
+
```
|
656
|
+
|
657
|
+
The complete code will be like
|
658
|
+
|
659
|
+
```ts
|
660
|
+
// Create HTTP server.
|
661
|
+
const expressApp = express();
|
662
|
+
expressApp.use(express.json());
|
663
|
+
const server = expressApp.listen(process.env.port || process.env.PORT || 3978, () => {
|
664
|
+
console.log(`\nBot Started, ${expressApp.name} listening to`, server.address());
|
665
|
+
});
|
666
|
+
```
|
667
|
+
|
668
|
+
5. If the project has `responseWrapper.ts`, please update the class `responseWrapper` to the class below.
|
652
669
|
|
653
670
|
```ts
|
654
671
|
import { Response } from "botbuilder";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@microsoft/teamsfx",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.ee7099d29.0",
|
4
4
|
"description": "Microsoft Teams Framework for Node.js and browser.",
|
5
5
|
"main": "dist/index.node.cjs.js",
|
6
6
|
"browser": "dist/index.esm2017.js",
|
@@ -140,7 +140,7 @@
|
|
140
140
|
"webpack": "^5.62.1",
|
141
141
|
"yargs": "^17.2.1"
|
142
142
|
},
|
143
|
-
"gitHead": "
|
143
|
+
"gitHead": "cf9fe4dbf07a47e13dc9f2e05d787ea9c43a7bbd",
|
144
144
|
"publishConfig": {
|
145
145
|
"access": "public"
|
146
146
|
},
|