@microsoft/teamsfx-core 1.3.1-alpha.e749ebc2.0 → 1.4.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/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +1 -5
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +4 -2
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/util/extensionInstaller.d.ts.map +1 -1
- package/build/common/deps-checker/util/extensionInstaller.js +4 -4
- package/build/common/deps-checker/util/extensionInstaller.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/core/index.d.ts +2 -2
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +2 -3
- package/build/core/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.js +6 -6
- package/build/plugins/resource/appstudio/v3/plugin.js.map +1 -1
- package/build/plugins/resource/bot/errors.d.ts +0 -1
- package/build/plugins/resource/bot/errors.d.ts.map +1 -1
- package/build/plugins/resource/bot/errors.js +41 -39
- package/build/plugins/resource/bot/errors.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +7 -2
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js +270 -0
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js +43 -10
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +1 -1
- package/package.json +3 -3
- package/templates/plugins/resource/bot/bot-msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot-msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.js.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.ts.HTTPTrigger.zip +0 -0
|
@@ -9,24 +9,27 @@ const constants_1 = require("../../../../../common/local/constants");
|
|
|
9
9
|
function generateTasks(includeFrontend, includeBackend, includeBot, programmingLanguage) {
|
|
10
10
|
/**
|
|
11
11
|
* Referenced by launch.json
|
|
12
|
-
* - Pre Debug Check
|
|
13
|
-
* - Start Frontend
|
|
14
|
-
* - Start Backend
|
|
15
|
-
* - Start Bot
|
|
12
|
+
* - Pre Debug Check & Start All
|
|
16
13
|
*
|
|
17
14
|
* Referenced inside tasks.json
|
|
18
15
|
* - validate local prerequisites
|
|
19
16
|
* - start ngrok
|
|
20
17
|
* - prepare local environment
|
|
18
|
+
* - Start All
|
|
19
|
+
* - Start Frontend
|
|
20
|
+
* - Start Backend
|
|
21
|
+
* - Watch Backend
|
|
22
|
+
* - Start Bot
|
|
21
23
|
*/
|
|
22
24
|
const tasks = [
|
|
23
|
-
|
|
25
|
+
preDebugCheckAndStartAll(includeBot),
|
|
24
26
|
validateLocalPrerequisites(),
|
|
25
27
|
];
|
|
26
28
|
if (includeBot) {
|
|
27
29
|
tasks.push(startNgrok());
|
|
28
30
|
}
|
|
29
31
|
tasks.push(prepareLocalEnvironment());
|
|
32
|
+
tasks.push(startAll(includeFrontend, includeBackend, includeBot));
|
|
30
33
|
if (includeFrontend) {
|
|
31
34
|
tasks.push(startFrontend());
|
|
32
35
|
if (includeBackend) {
|
|
@@ -42,12 +45,12 @@ function generateTasks(includeFrontend, includeBackend, includeBot, programmingL
|
|
|
42
45
|
return tasks;
|
|
43
46
|
}
|
|
44
47
|
exports.generateTasks = generateTasks;
|
|
45
|
-
function
|
|
48
|
+
function preDebugCheckAndStartAll(includeBot) {
|
|
46
49
|
return {
|
|
47
|
-
label: "Pre Debug Check",
|
|
50
|
+
label: "Pre Debug Check & Start All",
|
|
48
51
|
dependsOn: includeBot
|
|
49
|
-
? ["validate local prerequisites", "start ngrok", "prepare local environment"]
|
|
50
|
-
: ["validate local prerequisites", "prepare local environment"],
|
|
52
|
+
? ["validate local prerequisites", "start ngrok", "prepare local environment", "Start All"]
|
|
53
|
+
: ["validate local prerequisites", "prepare local environment", "Start All"],
|
|
51
54
|
dependsOrder: "sequence",
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -126,7 +129,21 @@ function startBot(includeFrontend) {
|
|
|
126
129
|
type: "shell",
|
|
127
130
|
command: "npm run dev:teamsfx",
|
|
128
131
|
isBackground: true,
|
|
129
|
-
problemMatcher:
|
|
132
|
+
problemMatcher: {
|
|
133
|
+
pattern: [
|
|
134
|
+
{
|
|
135
|
+
regexp: "^.*$",
|
|
136
|
+
file: 0,
|
|
137
|
+
location: 1,
|
|
138
|
+
message: 2,
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
background: {
|
|
142
|
+
activeOnStart: true,
|
|
143
|
+
beginsPattern: "[nodemon] starting",
|
|
144
|
+
endsPattern: "restify listening to|Bot/ME service listening at|[nodemon] app crashed",
|
|
145
|
+
},
|
|
146
|
+
},
|
|
130
147
|
options: {
|
|
131
148
|
cwd: "${workspaceFolder}/bot",
|
|
132
149
|
},
|
|
@@ -142,4 +159,20 @@ function startNgrok() {
|
|
|
142
159
|
dependsOn: `${teamsfx_api_1.ProductName}: ngrok start`,
|
|
143
160
|
};
|
|
144
161
|
}
|
|
162
|
+
function startAll(includeFrontend, includeBackend, includeBot) {
|
|
163
|
+
const dependsOn = [];
|
|
164
|
+
if (includeFrontend) {
|
|
165
|
+
dependsOn.push("Start Frontend");
|
|
166
|
+
}
|
|
167
|
+
if (includeBackend) {
|
|
168
|
+
dependsOn.push("Start Backend");
|
|
169
|
+
}
|
|
170
|
+
if (includeBot) {
|
|
171
|
+
dependsOn.push("Start Bot");
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
label: "Start All",
|
|
175
|
+
dependsOn,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
145
178
|
//# sourceMappingURL=tasksNext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasksNext.js","sourceRoot":"","sources":["../../../../../../src/plugins/solution/fx-solution/debug/util/tasksNext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,wDAAqD;AACrD,qEAA4E;AAE5E,2DAA2D;AAC3D,SAAgB,aAAa,CAC3B,eAAwB,EACxB,cAAuB,EACvB,UAAmB,EACnB,mBAA2B;IAE3B
|
|
1
|
+
{"version":3,"file":"tasksNext.js","sourceRoot":"","sources":["../../../../../../src/plugins/solution/fx-solution/debug/util/tasksNext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,wDAAqD;AACrD,qEAA4E;AAE5E,2DAA2D;AAC3D,SAAgB,aAAa,CAC3B,eAAwB,EACxB,cAAuB,EACvB,UAAmB,EACnB,mBAA2B;IAE3B;;;;;;;;;;;;;OAaG;IACH,MAAM,KAAK,GAA8B;QACvC,wBAAwB,CAAC,UAAU,CAAC;QACpC,0BAA0B,EAAE;KAC7B,CAAC;IAEF,IAAI,UAAU,EAAE;QACd,KAAK,CA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,EAAE,MAAM;oBACd,IAAI,EAAE,CAAC;oBACP,QAAQ,EAAE,CAAC;oBACX,OAAO,EAAE,CAAC;iBACX;aACF;YACD,UAAU,EAAE;gBACV,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,oBAAoB;gBACnC,WAAW,EAAE,wEAAwE;aACtF;SACF;QACD,OAAO,EAAE;YACP,GAAG,EAAE,wBAAwB;SAC9B;KACyB,CAAC;IAE7B,IAAI,eAAe,EAAE;QACnB,MAAM,CAAC,YAAY,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;KAC5C;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,UAAU;IACjB,OAAO;QACL,KAAK,EAAE,aAAa;QACpB,SAAS,EAAE,GAAG,yBAAW,eAAe;KACzC,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CACf,eAAwB,EACxB,cAAuB,EACvB,UAAmB;IAEnB,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,IAAI,eAAe,EAAE;QACnB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KAClC;IACD,IAAI,cAAc,EAAE;QAClB,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KACjC;IACD,IAAI,UAAU,EAAE;QACd,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC7B;IACD,OAAO;QACL,KAAK,EAAE,WAAW;QAClB,SAAS;KACV,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@azure/storage-blob": "^12.7.0",
|
|
60
60
|
"@dbpiper/timer": "1.0.0-beta.2",
|
|
61
61
|
"@feathersjs/hooks": "^0.6.5",
|
|
62
|
-
"@microsoft/teamsfx-api": "0.
|
|
62
|
+
"@microsoft/teamsfx-api": "^0.15.0",
|
|
63
63
|
"@npmcli/arborist": "^4.2.0",
|
|
64
64
|
"@npmcli/package-json": "^1.0.1",
|
|
65
65
|
"@types/jwt-decode": "3.1.0",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"resource/**/*",
|
|
182
182
|
"templates/**/*"
|
|
183
183
|
],
|
|
184
|
-
"gitHead": "
|
|
184
|
+
"gitHead": "b0bab4f74d78f91214e2712f3fb19b0e48936846",
|
|
185
185
|
"publishConfig": {
|
|
186
186
|
"access": "public"
|
|
187
187
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|