@microsoft/teamsfx-core 2.0.2-alpha.8828ab140.0 → 2.0.2-alpha.be4f5dfbf.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.
Files changed (176) hide show
  1. package/build/common/samples-config-v3.json +0 -15
  2. package/build/component/constants.d.ts +0 -80
  3. package/build/component/constants.d.ts.map +1 -1
  4. package/build/component/constants.js +2 -90
  5. package/build/component/constants.js.map +1 -1
  6. package/build/component/coordinator/index.js +1 -1
  7. package/build/component/coordinator/index.js.map +1 -1
  8. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +1 -1
  9. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  10. package/build/component/feature/sso.d.ts.map +1 -1
  11. package/build/component/feature/sso.js +1 -1
  12. package/build/component/feature/sso.js.map +1 -1
  13. package/build/component/generator/utils.d.ts +1 -0
  14. package/build/component/generator/utils.d.ts.map +1 -1
  15. package/build/component/generator/utils.js +16 -1
  16. package/build/component/generator/utils.js.map +1 -1
  17. package/build/component/messages.d.ts +0 -61
  18. package/build/component/messages.d.ts.map +1 -1
  19. package/build/component/messages.js +1 -91
  20. package/build/component/messages.js.map +1 -1
  21. package/build/component/resource/aadApp/aadApp.d.ts +2 -56
  22. package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
  23. package/build/component/resource/aadApp/aadApp.js +0 -115
  24. package/build/component/resource/aadApp/aadApp.js.map +1 -1
  25. package/build/component/resource/aadApp/aadAppClient.d.ts +1 -17
  26. package/build/component/resource/aadApp/aadAppClient.d.ts.map +1 -1
  27. package/build/component/resource/aadApp/aadAppClient.js +0 -253
  28. package/build/component/resource/aadApp/aadAppClient.js.map +1 -1
  29. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts +1 -17
  30. package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -1
  31. package/build/component/resource/aadApp/aadAppForTeamsImpl.js +4 -368
  32. package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -1
  33. package/build/component/resource/aadApp/constants.d.ts +0 -94
  34. package/build/component/resource/aadApp/constants.d.ts.map +1 -1
  35. package/build/component/resource/aadApp/constants.js +1 -185
  36. package/build/component/resource/aadApp/constants.js.map +1 -1
  37. package/build/component/resource/aadApp/errors.d.ts +0 -38
  38. package/build/component/resource/aadApp/errors.d.ts.map +1 -1
  39. package/build/component/resource/aadApp/errors.js +1 -234
  40. package/build/component/resource/aadApp/errors.js.map +1 -1
  41. package/build/component/resource/aadApp/graph.d.ts +0 -6
  42. package/build/component/resource/aadApp/graph.d.ts.map +1 -1
  43. package/build/component/resource/aadApp/graph.js +0 -69
  44. package/build/component/resource/aadApp/graph.js.map +1 -1
  45. package/build/component/resource/aadApp/permissions/index.d.ts +0 -4
  46. package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -1
  47. package/build/component/resource/aadApp/permissions/index.js +1 -32
  48. package/build/component/resource/aadApp/permissions/index.js.map +1 -1
  49. package/build/component/resource/aadApp/utils/configs.d.ts +0 -82
  50. package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -1
  51. package/build/component/resource/aadApp/utils/configs.js +1 -560
  52. package/build/component/resource/aadApp/utils/configs.js.map +1 -1
  53. package/build/component/resource/aadApp/utils/telemetry.d.ts +0 -11
  54. package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -1
  55. package/build/component/resource/aadApp/utils/telemetry.js +0 -14
  56. package/build/component/resource/aadApp/utils/telemetry.js.map +1 -1
  57. package/build/component/resource/aadApp/utils/tokenProvider.d.ts +1 -2
  58. package/build/component/resource/aadApp/utils/tokenProvider.d.ts.map +1 -1
  59. package/build/component/resource/aadApp/utils/tokenProvider.js +1 -26
  60. package/build/component/resource/aadApp/utils/tokenProvider.js.map +1 -1
  61. package/build/component/resource/aadApp/utils.d.ts +2 -4
  62. package/build/component/resource/aadApp/utils.d.ts.map +1 -1
  63. package/build/component/resource/aadApp/utils.js +11 -169
  64. package/build/component/resource/aadApp/utils.js.map +1 -1
  65. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  66. package/build/component/resource/botService/appStudio/appStudioClient.js +1 -3
  67. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  68. package/build/component/resource/botService/errors.d.ts +4 -0
  69. package/build/component/resource/botService/errors.d.ts.map +1 -1
  70. package/build/component/resource/botService/errors.js +16 -1
  71. package/build/component/resource/botService/errors.js.map +1 -1
  72. package/build/component/resource/botService/messages.d.ts +0 -3
  73. package/build/component/resource/botService/messages.d.ts.map +1 -1
  74. package/build/component/resource/botService/messages.js +0 -3
  75. package/build/component/resource/botService/messages.js.map +1 -1
  76. package/build/component/resource/botService/resourceNameFactory.d.ts.map +1 -1
  77. package/build/component/resource/botService/resourceNameFactory.js +2 -2
  78. package/build/component/resource/botService/resourceNameFactory.js.map +1 -1
  79. package/build/component/utils/common.d.ts +0 -10
  80. package/build/component/utils/common.d.ts.map +1 -1
  81. package/build/component/utils/common.js +1 -11
  82. package/build/component/utils/common.js.map +1 -1
  83. package/build/component/utils/fileOperation.d.ts +0 -7
  84. package/build/component/utils/fileOperation.d.ts.map +1 -1
  85. package/build/component/utils/fileOperation.js +1 -26
  86. package/build/component/utils/fileOperation.js.map +1 -1
  87. package/build/index.d.ts +0 -1
  88. package/build/index.d.ts.map +1 -1
  89. package/build/index.js +0 -1
  90. package/build/index.js.map +1 -1
  91. package/package.json +4 -4
  92. package/resource/package.nls.json +0 -85
  93. package/templates/fallback/common.zip +0 -0
  94. package/templates/fallback/csharp.zip +0 -0
  95. package/templates/fallback/js.zip +0 -0
  96. package/templates/fallback/ts.zip +0 -0
  97. package/build/common/template-utils/templates.d.ts +0 -8
  98. package/build/common/template-utils/templates.d.ts.map +0 -1
  99. package/build/common/template-utils/templates.js +0 -27
  100. package/build/common/template-utils/templates.js.map +0 -1
  101. package/build/common/template-utils/templatesActions.d.ts +0 -42
  102. package/build/common/template-utils/templatesActions.d.ts.map +0 -1
  103. package/build/common/template-utils/templatesActions.js +0 -167
  104. package/build/common/template-utils/templatesActions.js.map +0 -1
  105. package/build/common/template-utils/templatesUtils.d.ts +0 -15
  106. package/build/common/template-utils/templatesUtils.d.ts.map +0 -1
  107. package/build/common/template-utils/templatesUtils.js +0 -120
  108. package/build/common/template-utils/templatesUtils.js.map +0 -1
  109. package/build/component/code/utils.d.ts +0 -2
  110. package/build/component/code/utils.d.ts.map +0 -1
  111. package/build/component/code/utils.js +0 -23
  112. package/build/component/code/utils.js.map +0 -1
  113. package/build/component/debugHandler/appManifest.d.ts +0 -24
  114. package/build/component/debugHandler/appManifest.d.ts.map +0 -1
  115. package/build/component/debugHandler/appManifest.js +0 -172
  116. package/build/component/debugHandler/appManifest.js.map +0 -1
  117. package/build/component/debugHandler/bot.d.ts +0 -28
  118. package/build/component/debugHandler/bot.d.ts.map +0 -1
  119. package/build/component/debugHandler/bot.js +0 -257
  120. package/build/component/debugHandler/bot.js.map +0 -1
  121. package/build/component/debugHandler/common.d.ts +0 -6
  122. package/build/component/debugHandler/common.d.ts.map +0 -1
  123. package/build/component/debugHandler/common.js +0 -5
  124. package/build/component/debugHandler/common.js.map +0 -1
  125. package/build/component/debugHandler/error.d.ts +0 -8
  126. package/build/component/debugHandler/error.d.ts.map +0 -1
  127. package/build/component/debugHandler/error.js +0 -31
  128. package/build/component/debugHandler/error.js.map +0 -1
  129. package/build/component/debugHandler/index.d.ts +0 -8
  130. package/build/component/debugHandler/index.d.ts.map +0 -1
  131. package/build/component/debugHandler/index.js +0 -13
  132. package/build/component/debugHandler/index.js.map +0 -1
  133. package/build/component/debugHandler/localEnvProvider.d.ts +0 -85
  134. package/build/component/debugHandler/localEnvProvider.d.ts.map +0 -1
  135. package/build/component/debugHandler/localEnvProvider.js +0 -172
  136. package/build/component/debugHandler/localEnvProvider.js.map +0 -1
  137. package/build/component/debugHandler/sso.d.ts +0 -29
  138. package/build/component/debugHandler/sso.d.ts.map +0 -1
  139. package/build/component/debugHandler/sso.js +0 -347
  140. package/build/component/debugHandler/sso.js.map +0 -1
  141. package/build/component/debugHandler/tab.d.ts +0 -22
  142. package/build/component/debugHandler/tab.d.ts.map +0 -1
  143. package/build/component/debugHandler/tab.js +0 -122
  144. package/build/component/debugHandler/tab.js.map +0 -1
  145. package/build/component/debugHandler/utils.d.ts +0 -3
  146. package/build/component/debugHandler/utils.d.ts.map +0 -1
  147. package/build/component/debugHandler/utils.js +0 -47
  148. package/build/component/debugHandler/utils.js.map +0 -1
  149. package/build/component/error.d.ts +0 -22
  150. package/build/component/error.d.ts.map +0 -1
  151. package/build/component/error.js +0 -64
  152. package/build/component/error.js.map +0 -1
  153. package/build/component/resource/aadApp/aadAppManifestManager.d.ts +0 -12
  154. package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +0 -1
  155. package/build/component/resource/aadApp/aadAppManifestManager.js +0 -151
  156. package/build/component/resource/aadApp/aadAppManifestManager.js.map +0 -1
  157. package/build/component/resource/aadApp/appStudio.d.ts +0 -9
  158. package/build/component/resource/aadApp/appStudio.d.ts.map +0 -1
  159. package/build/component/resource/aadApp/appStudio.js +0 -83
  160. package/build/component/resource/aadApp/appStudio.js.map +0 -1
  161. package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts +0 -14
  162. package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts.map +0 -1
  163. package/build/component/resource/aadApp/interfaces/IAADApplication.js +0 -5
  164. package/build/component/resource/aadApp/interfaces/IAADApplication.js.map +0 -1
  165. package/build/component/resource/aadApp/interfaces/IPermission.d.ts +0 -8
  166. package/build/component/resource/aadApp/interfaces/IPermission.d.ts.map +0 -1
  167. package/build/component/resource/aadApp/interfaces/IPermission.js +0 -5
  168. package/build/component/resource/aadApp/interfaces/IPermission.js.map +0 -1
  169. package/build/component/resource/aadApp/interfaces/models.d.ts +0 -11
  170. package/build/component/resource/aadApp/interfaces/models.d.ts.map +0 -1
  171. package/build/component/resource/aadApp/interfaces/models.js +0 -12
  172. package/build/component/resource/aadApp/interfaces/models.js.map +0 -1
  173. package/build/component/resource/aadApp/utils/format.d.ts +0 -7
  174. package/build/component/resource/aadApp/utils/format.d.ts.map +0 -1
  175. package/build/component/resource/aadApp/utils/format.js +0 -68
  176. package/build/component/resource/aadApp/utils/format.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT license.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getAbsolutePath = exports.isKvPairEqual = exports.getEnvironmentVariables = exports.expandEnvironmentVariable = exports.wrapSummaryWithArgs = exports.wrapSummary = exports.wrapRun = exports.asFactory = exports.asString = exports.asBoolean = exports.asOptional = exports.checkMissingArgs = void 0;
5
+ exports.getAbsolutePath = exports.getEnvironmentVariables = exports.expandEnvironmentVariable = exports.wrapSummaryWithArgs = exports.wrapSummary = exports.wrapRun = exports.asFactory = exports.asString = exports.asBoolean = exports.asOptional = exports.checkMissingArgs = void 0;
6
6
  const tslib_1 = require("tslib");
7
7
  const componentError_1 = require("../error/componentError");
8
8
  const teamsfx_api_1 = require("@microsoft/teamsfx-api");
@@ -136,16 +136,6 @@ function getEnvironmentVariables(content) {
136
136
  return [];
137
137
  }
138
138
  exports.getEnvironmentVariables = getEnvironmentVariables;
139
- /**
140
- * compare two key-value pairs, return true if they are exactly same
141
- * @param kv1 parameter the first key-value pair
142
- * @param kv2 parameter the first key-value pair
143
- */
144
- function isKvPairEqual(kv1, kv2) {
145
- const _compare = (l, r) => !Object.keys(l).some((key) => r[key] !== l[key]);
146
- return _compare(kv1, kv2) && _compare(kv2, kv1);
147
- }
148
- exports.isKvPairEqual = isKvPairEqual;
149
139
  function getAbsolutePath(relativeOrAbsolutePath, projectPath) {
150
140
  relativeOrAbsolutePath = relativeOrAbsolutePath || "";
151
141
  projectPath = projectPath || "";
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/component/utils/common.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,k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,UAAU,CAAC,sBAAsB,CAAC;QAC5C,CAAC,CAAC,sBAAsB;QACxB,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,WAAW,EAAE,sBAAsB,CAAC,CAAC;AACrD,CAAC;AAND,0CAMC"}
@@ -9,11 +9,4 @@ import { Ignore } from "ignore";
9
9
  */
10
10
  export declare function zipFolderAsync(sourceDir: string, cache: string, notIncluded: Ignore): Promise<Buffer>;
11
11
  export declare function forEachFileAndDir(root: string, callback: (itemPath: string, stats: fs.Stats) => boolean | void, filter?: (itemPath: string) => boolean): Promise<void>;
12
- /**
13
- * Recursively list all files that match a naming pattern in a specified directory
14
- * @param directoryPath base dir
15
- * @param matchPattern filename pattern
16
- * @param ignorePattern filename ignore pattern
17
- */
18
- export declare function listFilePaths(directoryPath: string, matchPattern?: string, ignorePattern?: string): Promise<string[]>;
19
12
  //# sourceMappingURL=fileOperation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileOperation.d.ts","sourceRoot":"","sources":["../../../src/component/utils/fileOperation.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAe,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMxC;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAyEjB;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,GAAG,IAAI,EAC/D,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GACrC,OAAO,CAAC,IAAI,CAAC,CAaf;AAqBD;;;;;GAKG;AACH,wBAAsB,aAAa,CACjC,aAAa,EAAE,MAAM,EACrB,YAAY,SAAO,EACnB,aAAa,CAAC,EAAE,MAAM,GACrB,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBnB"}
1
+ {"version":3,"file":"fileOperation.d.ts","sourceRoot":"","sources":["../../../src/component/utils/fileOperation.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAe,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMxC;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAyEjB;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,GAAG,IAAI,EAC/D,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GACrC,OAAO,CAAC,IAAI,CAAC,CAaf"}
@@ -2,14 +2,13 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT license.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.listFilePaths = exports.forEachFileAndDir = exports.zipFolderAsync = void 0;
5
+ exports.forEachFileAndDir = exports.zipFolderAsync = void 0;
6
6
  const tslib_1 = require("tslib");
7
7
  const fs = tslib_1.__importStar(require("fs-extra"));
8
8
  const klaw_1 = tslib_1.__importDefault(require("klaw"));
9
9
  const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
10
10
  const ignore_1 = tslib_1.__importDefault(require("ignore"));
11
11
  const path_1 = tslib_1.__importDefault(require("path"));
12
- const glob_1 = tslib_1.__importDefault(require("glob"));
13
12
  const deployConstant_1 = require("../constant/deployConstant");
14
13
  const deploy_1 = require("../../error/deploy");
15
14
  /**
@@ -107,28 +106,4 @@ async function readZip(cache) {
107
106
  }
108
107
  return undefined;
109
108
  }
110
- /**
111
- * Recursively list all files that match a naming pattern in a specified directory
112
- * @param directoryPath base dir
113
- * @param matchPattern filename pattern
114
- * @param ignorePattern filename ignore pattern
115
- */
116
- async function listFilePaths(directoryPath, matchPattern = "**", ignorePattern) {
117
- return new Promise((resolve, reject) => {
118
- const ignore = ignorePattern ? path_1.default.join(directoryPath, ignorePattern) : "";
119
- glob_1.default(path_1.default.join(directoryPath, matchPattern), {
120
- dot: true,
121
- nodir: true,
122
- ignore,
123
- }, (error, filePaths) => {
124
- if (error) {
125
- reject(error);
126
- }
127
- else {
128
- resolve(filePaths);
129
- }
130
- });
131
- });
132
- }
133
- exports.listFilePaths = listFilePaths;
134
109
  //# sourceMappingURL=fileOperation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileOperation.js","sourceRoot":"","sources":["../../../src/component/utils/fileOperation.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,qDAA+B;AAC/B,wDAAwB;AACxB,8DAA8C;AAC9C,4DAAwC;AACxC,wDAAwB;AACxB,wDAAwB;AACxB,+DAA4D;AAC5D,+CAA4D;AAE5D;;;;;GAKG;AACI,KAAK,UAAU,cAAc,CAClC,SAAiB,EACjB,KAAa,EACb,WAAmB;IAEnB,MAAM,aAAa,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,+BAAc,CAAC,uBAAuB,CAAC,CAAC;IAE5F,MAAM,KAAK,GAAoB,EAAE,CAAC;IAClC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;IACnC,MAAM,EAAE,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,gBAAM,EAAE,CAAC;IACnC,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC;IACvC,MAAM,GAAG,GAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,IAAI,iBAAM,EAAE,CAAC;IAEtC,MAAM,cAAc,GAAG,KAA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C,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACpF,cAAI,CACF,cAAI,CAAC,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC,EACtC;YACE,GAAG,EAAE,IAAI;YACT,KAAK,EAAE,IAAI;YACX,MAAM;SACP,EACD,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE;YACnB,IAAI,KAAK,EAAE;gBACT,MAAM,CAAC,KAAK,CAAC,CAAC;aACf;iBAAM;gBACL,OAAO,CAAC,SAAS,CAAC,CAAC;aACpB;QACH,CAAC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAvBD,sCAuBC"}
1
+ {"version":3,"file":"fileOperation.js","sourceRoot":"","sources":["../../../src/component/utils/fileOperation.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,qDAA+B;AAC/B,wDAAwB;AACxB,8DAA8C;AAC9C,4DAAwC;AACxC,wDAAwB;AAExB,+DAA4D;AAC5D,+CAA4D;AAE5D;;;;;GAKG;AACI,KAAK,UAAU,cAAc,CAClC,SAAiB,EACjB,KAAa,EACb,WAAmB;IAEnB,MAAM,aAAa,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,+BAAc,CAAC,uBAAuB,CAAC,CAAC;IAE5F,MAAM,KAAK,GAAoB,EAAE,CAAC;IAClC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;IACnC,MAAM,EAAE,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,gBAAM,EAAE,CAAC;IACnC,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC;IACvC,MAAM,GAAG,GAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,IAAI,iBAAM,EAAE,CAAC;IAEtC,MAAM,cAAc,GAAG,KAAK,EAC1B,EAAU,EACV,QAAgB,EAChB,OAAe,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AI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE;gBACnC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACtB;QACH,CAAC,CAAC;aACD,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;aAC5B,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aACjC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC;AAjBD,8CAiBC;AAED,SAAS,qBAAqB,CAAC,GAAW,EAAE,cAA2B;IACrE,GAAG;SACA,UAAU,EAAE;SACZ,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAClD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACjB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC;AAED,KAAK,UAAU,OAAO,CAAC,KAAa;IAClC,IAAI;QACF,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACzC,OAAO,IAAI,iBAAM,CAAC,OAAO,CAAC,CAAC;KAC5B;IAAC,WAAM;QACN,qDAAqD;KACtD;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
package/build/index.d.ts CHANGED
@@ -4,7 +4,6 @@ export * from "./common/tools";
4
4
  export * from "./common/correlator";
5
5
  export * from "./common/local";
6
6
  export * from "./common/deps-checker";
7
- export * from "./component/debugHandler";
8
7
  export * from "./common/samples";
9
8
  export * from "./core/error";
10
9
  export * from "./common/globalState";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.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kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,8CAA8C,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
package/build/index.js CHANGED
@@ -10,7 +10,6 @@ tslib_1.__exportStar(require("./common/tools"), exports);
10
10
  tslib_1.__exportStar(require("./common/correlator"), exports);
11
11
  tslib_1.__exportStar(require("./common/local"), exports);
12
12
  tslib_1.__exportStar(require("./common/deps-checker"), exports);
13
- tslib_1.__exportStar(require("./component/debugHandler"), exports);
14
13
  tslib_1.__exportStar(require("./common/samples"), exports);
15
14
  tslib_1.__exportStar(require("./core/error"), exports);
16
15
  tslib_1.__exportStar(require("./common/globalState"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;;AAEb,4BAA0B;AAC1B,wDAA8B;AAC9B,yDAA+B;AAC/B,8DAAoC;AACpC,yDAA+B;AAC/B,gEAAsC;AACtC,mEAAyC;AACzC,2DAAiC;AACjC,uDAA6B;AAC7B,+DAAqC;AACrC,uEAA6C;AAC7C,gEAAsC;AACtC,8DAAoC;AACpC,2EAAiD;AACjD,gEAAsC;AACtC,uFAA6D;AAC7D,qDAAoD;AAA3C,kGAAA,OAAO,OAAA;AAChB,kDAAuE;AAA9D,iHAAA,kBAAkB,OAAA;AAC3B,wEAAkF;AAAzE,uHAAA,cAAc,OAAA;AAAE,yHAAA,gBAAgB,OAAA;AACzC,uEAAiF;AAAxE,yGAAA,gBAAgB,OAAA;AACzB,oFAAmF;AAA1E,kHAAA,eAAe,OAAA;AAExB,oDAA6D;AAApD,sHAAA,sBAAsB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;;AAEb,4BAA0B;AAC1B,wDAA8B;AAC9B,yDAA+B;AAC/B,8DAAoC;AACpC,yDAA+B;AAC/B,gEAAsC;AACtC,2DAAiC;AACjC,uDAA6B;AAC7B,+DAAqC;AACrC,uEAA6C;AAC7C,gEAAsC;AACtC,8DAAoC;AACpC,2EAAiD;AACjD,gEAAsC;AACtC,uFAA6D;AAC7D,qDAAoD;AAA3C,kGAAA,OAAO,OAAA;AAChB,kDAAuE;AAA9D,iHAAA,kBAAkB,OAAA;AAC3B,wEAAkF;AAAzE,uHAAA,cAAc,OAAA;AAAE,yHAAA,gBAAgB,OAAA;AACzC,uEAAiF;AAAxE,yGAAA,gBAAgB,OAAA;AACzB,oFAAmF;AAA1E,kHAAA,eAAe,OAAA;AAExB,oDAA6D;AAApD,sHAAA,sBAAsB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "2.0.2-alpha.8828ab140.0",
3
+ "version": "2.0.2-alpha.be4f5dfbf.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -76,7 +76,7 @@
76
76
  "@azure/msal-node": "^1.14.6",
77
77
  "@azure/storage-blob": "^12.7.0",
78
78
  "@feathersjs/hooks": "^0.6.5",
79
- "@microsoft/teamsfx-api": "0.22.4-alpha.8828ab140.0",
79
+ "@microsoft/teamsfx-api": "0.22.4-alpha.be4f5dfbf.0",
80
80
  "@npmcli/arborist": "^4.2.0",
81
81
  "@types/proper-lockfile": "^4.1.1",
82
82
  "adm-zip": "^0.5.5",
@@ -125,7 +125,7 @@
125
125
  "devDependencies": {
126
126
  "@azure/storage-blob": "^12.5.0",
127
127
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
128
- "@microsoft/eslint-plugin-teamsfx": "0.0.4-alpha.8828ab140.0",
128
+ "@microsoft/eslint-plugin-teamsfx": "0.0.4-alpha.be4f5dfbf.0",
129
129
  "@types/adm-zip": "^0.4.33",
130
130
  "@types/chai": "^4.2.14",
131
131
  "@types/chai-as-promised": "^7.1.3",
@@ -193,7 +193,7 @@
193
193
  "resource/**/*",
194
194
  "templates/**/*"
195
195
  ],
196
- "gitHead": "d9049fe82ccc849545d2ce8427b6c42fdbe3e168",
196
+ "gitHead": "ef96f9fda688a40ef9ab6a0038d177f515064af1",
197
197
  "publishConfig": {
198
198
  "access": "public"
199
199
  },
@@ -18,37 +18,16 @@
18
18
  "core.option.learnMore": "Learn more",
19
19
  "core.option.upgrade": "Upgrade",
20
20
  "core.option.moreInfo": "More Info",
21
- "core.progress.scaffoldTab": "Scaffolding Tab",
22
- "core.progress.scaffoldTab.detail": "Scaffolding tab app.",
23
- "core.progress.scaffoldBot": "Scaffolding Bot",
24
- "core.progress.scaffoldBot.detail": "Retrieving templates.",
25
- "core.progress.scaffoldApi": "Scaffolding Functions",
26
- "core.progress.scaffoldApi.detail": "Scaffolding Functions project.",
27
- "core.progress.buildingTab": "Building Tab",
28
- "core.progress.buildingTab.detail": "Building tab app",
29
- "core.progress.buildingApi": "Building Functions",
30
- "core.progress.buildingApi.detail": "Building Functions project.",
31
- "core.progress.buildingBot": "Building Bot",
32
- "core.progress.buildingBot.detail": "Installing dependencies.",
33
- "core.progress.provisionBot": "Registering Bot",
34
21
  "core.progress.generateTemplate": "Generating Template",
35
22
  "core.progress.generateTemplate.detail": "Downloading Template %s",
36
23
  "core.progress.generateSample": "Generating Sample",
37
24
  "core.progress.generateSample.detail": "Downloading Sample %s",
38
- "core.progress.configureStorage": "Configuring Tab",
39
- "core.progress.packingCode": "Creating application package.",
40
25
  "core.progress.deploy": "Deploy",
41
26
  "core.progress.publish": "Publish",
42
27
  "core.progress.provision": "Provision",
43
- "core.progress.enableStaticWebsite": "Enabling Azure Storage account static website.",
44
- "core.progress.getDeploymentSrcAndDest": "Retrieving deployment source and destination.",
45
- "core.progress.clearStorageAccount": "Cleaning up Azure Storage account.",
46
- "core.progress.uploadTabToStorage": "Uploading Tab front end to Azure Storage account.",
47
28
  "core.progress.configureAzureStorage": "Configuring Azure Storage, enable static website setting.",
48
29
  "core.progress.runCommand": "Run command %s at %s",
49
30
  "core.progress.deployToAzure": "Deploying %s to %s.",
50
- "core.log.updateFunctionAppSettings": "Updating Azure Functions app settings.",
51
- "core.error.programmingLanguageInvalid": "Invalid programming language found in project settings.",
52
31
  "core.Notification.ReadMore": "Read more",
53
32
  "core.localDebug.tenantConfirmNoticeWhenAllowSwitchAccount": "You already run debug for the Teams app in another tenant '%s'. If you really want to switch tenant for debug, you can delete the local file(s) (%s) and re-run debug.",
54
33
  "core.migrationV3.confirmOnly.Message": "Please confirm the upgrade",
@@ -128,7 +107,6 @@
128
107
  "plugins.frontend.checkFsPermissionsTip": "Check if you have Read/Write permissions to your file system.",
129
108
  "plugins.frontend.checkStoragePermissionsTip": "Check if you have permissions to your Azure Storage Account.",
130
109
  "plugins.frontend.checkSystemTimeTip": "You may get expired credentials, check if your system time is correct.",
131
- "plugins.baseErrorMessage": "%s Suggestions: %s",
132
110
  "suggestions.retryTheCurrentStep": "Retry the current step.",
133
111
  "plugins.appstudio.buildSucceedNotice": "Teams package is successfully built at [local address](%s).",
134
112
  "plugins.appstudio.buildSucceedNotice.fallback": "Teams package is successfully built at %s.",
@@ -183,7 +161,6 @@
183
161
  "plugins.bot.triggers.timer-functions.detail": "A running function hosted on Azure Functions can respond based on a specific schedule.",
184
162
  "plugins.bot.triggers.timer-functions.label": "Timer Trigger",
185
163
  "error.NoProjectOpenedError": "No project opened, you can create a new project or open an existing one.",
186
- "error.InvalidProjectSettingsFileError": "The projectSettings.json file is invalid: %s.",
187
164
  "error.InvalidEnvNameError": "Environment name can only contain letters, digits, _ and -.",
188
165
  "error.UpgradeV3CanceledError": "If you are not ready to upgrade, please continue to use the old version of Teams Toolkit",
189
166
  "error.InvalidInputError": "Invalid inputs: %s",
@@ -195,8 +172,6 @@
195
172
  "error.TrustCertificateCancelError": "User canceled. For Teams to trust the self-signed SSL certificate used by the toolkit, a self-signed certificate must be added to your certificate store.",
196
173
  "error.BicepGenerationError": "Unable to generate Bicep file %s. Reason: %s",
197
174
  "error.VideoFilterAppNotRemoteSupported": "Video filter app in remote is not supported by Teams Toolkit. Check the README.md file in project root folder.",
198
- "error.frontend.FailedSaveEnv": "Unable to save environment variables to %s. Your App may not work.",
199
- "error.frontend.FailedLoadEnv": "Unable to load environment variables from %s. Your App may not work.",
200
175
  "error.appstudio.teamsAppCreateFailed": "Unable to create Teams app in Developer Portal, due to %s",
201
176
  "error.appstudio.teamsAppUpdateFailed": "Unable to update Teams app with ID %s.",
202
177
  "error.appstudio.apiFailed": "API call to Developer Portal failed. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
@@ -226,7 +201,6 @@
226
201
  "_error.appstudio.BotProvisionReturnsForbiddenResult.comment": "This is to describe API call, no need to translate 'Botframework'.",
227
202
  "error.appstudio.BotProvisionReturnsConflictResult": "Botframework provisioning returns conflict result from attempting to create bot registration.",
228
203
  "_error.appstudio.BotProvisionReturnsConflictResult.comment": "This is to describe API call, no need to translate 'Botframework'.",
229
- "error.function.FindAppError": "Unable to find the function app.",
230
204
  "error.generator.TemplateZipFallbackError": "Unable to download zip package and open local zip package.",
231
205
  "error.generator.FetchZipFromUrlError": "Unable to download zip package from %s.",
232
206
  "error.generator.UnzipError": "Unable to unzip templates and write to disk.",
@@ -234,11 +208,6 @@
234
208
  "error.generator.DownloadSampleApiLimitError": "Unable to download sample due to throttling. Retry later after rate limit reset (This may take up to 1 hour). Alternatively, you can go to %s to git clone the repo manually",
235
209
  "error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and retry. Alternatively, you can go to %s to git clone the repo manually",
236
210
  "error.generator.ParseUrlError": "Unable to parse url %s",
237
- "error.debugHandler.InvalidAppManifestPackageFileFormatError": "manifestPackagePath must be .zip file path.",
238
- "error.debugHandler.InvalidExistingAADArgsError": "objectId, clientId and clientSecret are all required if you use existing AAD app for SSO.",
239
- "error.debugHandler.InvalidExistingBotArgsError": "botId and botPassword need to be set together if you use existing bot.",
240
- "error.debugHandler.DebugArgumentEmptyError": "Debug argument '%s' is empty.",
241
- "error.debugHandler.InvalidTabBaseUrlError": "baseUrl must be a valid https url.",
242
211
  "error.m365.NotExtendedToM365Error": "Unable to extend Teams app to Microsoft 365. Use 'teamsApp/extendToM365' action to extend your Teams app to Microsoft 365.",
243
212
  "core.QuestionAppName.validation.pattern": "Application name must start with letters and contain at least two letters or digits. It can not contain some special characters.",
244
213
  "core.QuestionAppName.validation.maxlength": "Application name is longer than the maximum length of 30.",
@@ -396,49 +365,18 @@
396
365
  "core.summary.actionFailed": "%s failed.",
397
366
  "core.summary.actionSucceeded": "%s was executed successfully.",
398
367
  "core.summary.createdEnvFile": "Environment file was created at",
399
- "error.aad.GetAppError": "Unable to get AAD app with Object Id \"%s\" in tenant \"%s\". Please make sure the object id is valid, or delete 'objectId' under %s in %s and try again.",
400
- "error.aad.GetAppConfigError": "Unable to get %s from Azure AD app settings. Please make sure Azure AD app is correctly configured, or delete 'objectId' under %s in %s and try again.",
401
- "error.aad.GetSkipAppConfigError": "Unable to get all necessary info. You need to set %s, %s, %s, %s under%s in %s.",
402
368
  "error.aad.CreateAppError": "Unable to create an app in Azure Active Directory.",
403
- "error.aad.CreateAppForbiddenError": "Unable to create an app in Azure Active Directory. This problem can be resolved by login using a Microsoft 365 developer account, you can apply for a free account by joining Microsoft 365 Developer Program(https://developer.microsoft.com/en-us/microsoft-365/dev-program).",
404
369
  "error.aad.CreateSecretError": "`Unable to create an application secret in Azure Active Directory.`",
405
- "error.aad.UpdateRedirectUriError": "Unable to update application redirect URI in Azure Active Directory.",
406
- "error.aad.UpdateAppIdUriError": "Unable to update Application ID URI in Azure Active Directory. %s",
407
- "error.aad.UpdatePermissionError": "Unable to update application permission in Azure Active Directory.",
408
- "error.aad.AppIdUriInvalidError": "Invalid Application ID URI. Provision your application before continuing.",
409
- "error.aad.CannotGenerateIdentifierUris": "Cannot generate identifierUris because no botId or front end domain found, you need to specified at least one of them in config file",
410
- "error.aad.InvalidSelectedPlugins": "Invalid selected plugins. %s",
411
- "error.aad.ParsePermissionError": "Unable to parse permission request.",
412
- "error.aad.UnknownPermissionName": "Unable to find resource: %s. %s",
413
- "error.aad.UnknownPermissionRole": "Unable to find role \"%s\" for resource \"%s\". %s",
414
- "error.aad.UnknownPermissionScope": "Unable to find scope \"%s\" for resource \"%s\". %s",
415
370
  "error.aad.GetTokenError": "Unable to get user login information for %s.",
416
371
  "error.aad.TenantNotExistError": "Unable to get tenant information from user login.",
417
- "error.aad.MissingPermissionsRequestProvider": "permissionRequestProvider is missing in plugin context",
418
372
  "error.aad.CheckPermissionError": "Unable to check permission.",
419
373
  "error.aad.GrantPermissionError": "%s: %s. Unable to grant permission.",
420
374
  "error.aad.ListCollaboratorError": "Unable to list collaborator.",
421
- "error.aad.AadManifestLoadError": "Unable to load manifest file from %s, due to %s",
422
- "error.aad.AadManifestMissingName": "name property is empty or invalid in AAD manifest file",
423
- "error.aad.AadManifestMissingScopeIdForTeamsApp": "oauth2Permissions property missing item which value should be access_as_user",
424
- "error.aad.AadManifestMissingObjectId": "id property is missing or invalid in AAD manifest file, you need to run provision or debug first",
425
- "error.aad.AadManifestMissingReplyUrlsWithType": "replyUrlsWithType property is missing or invalid in AAD manifest file, you need to run provision or debug first",
426
- "error.aad.AadManifestMissingIdentifierUris": "identifierUris property is missing or invalid in AAD manifest file, you need to run provision or debug first",
427
- "error.aad.AadManifestNotProvisioned": "Unable to generate AAD manifest because the resources have not been provisioned yet. You need to run provision or debug first. Click Get Help to learn more about why you need to provision or debug.",
428
- "error.aad.UpdateAadAppError": "Unable to update application in Azure Active Directory: %s",
429
- "error.aad.UpdateAadAppUsingManifestError": "Unable to update application in Azure Active Directory. Please make sure 'templates/appPackage/aad.template.json' is valid: %s",
430
- "error.aad.GetDisplayNameError": "Unable to get display name.",
431
375
  "error.aad.GetConfigError": "Unable to get configuration value \"%s\" for %s.",
432
376
  "error.aad.FormatError": "Invalid format for %s. Value: %s.",
433
- "error.aad.client.CreateFailed": "Unable to create an application registration in Azure Active Directory.",
434
- "error.aad.client.UpdateFailed": "Unable to update application registration in Azure Active Directory.",
435
- "error.aad.client.CreateSecretFailed": "Unable to create an application secret in Azure Active Directory.",
436
- "error.aad.client.GetFailed": "Unable to retrieve Azure Active Directory application registration.",
437
377
  "error.aad.client.CheckPermissionFailed": "Unable to check permission in Azure Active Directory.",
438
378
  "error.aad.client.GrantPermissionFailed": "Unable to grant permission in Azure Active Directory.",
439
- "error.aad.client.AppDefinitionIsNull": "Missing application definition.",
440
379
  "error.aad.client.AppObjectIdIsNull": "Missing Object ID.",
441
- "error.aad.client.EmptyResponse": "Missing response.",
442
380
  "error.aad.client.ReachRetryLimit": "Exceeded retry limit.",
443
381
  "error.aad.manifest.NameIsMissing": "name is missing\n",
444
382
  "error.aad.manifest.SignInAudienceIsMissing": "signInAudience is missing\n",
@@ -452,16 +390,7 @@
452
390
  "error.aad.manifest.UnknownResourceAppId": "Unknown resourceAppId %s",
453
391
  "error.aad.manifest.UnknownResourceAccessType": "Unknown resourceAccess: %s",
454
392
  "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, if you're using permission as resourceAccess id, please try to use permission id instead.",
455
- "plugins.aad.NoSelection": "No Azure AD app found. Will not update permissions. You need to run provision or debug first.",
456
- "plugins.aad.UserCancelled": "Selection is cancelled by user.",
457
- "plugins.aad.UpdatePermissionSuccessMessage": "Successfully updated permission for Azure AD app. You can go to Azure Portal to check the permission or grant admin consent.",
458
- "plugins.aad.SkipProvision": "Azure AD app provision skipped. You need to manually provision and config Azure AD app.",
459
393
  "plugins.aad.OwnerAlreadyAdded": "User %s is already added as owner of Azure AD app %s.",
460
- "plugins.aad.StepFailedAndSkipped": "Failed in step: %s. You need to go to Azure Portal and manually %s for the provided Azure AD app.",
461
- "plugins.aad.UpdatePermissionHelpMessage": "update the permission under \"API permissions\"",
462
- "plugins.aad.UpdateAppIdUriHelpMessage": "set \"%s\" as \"Application ID URI\" under \"Expose an API\"",
463
- "plugins.aad.UpdateRedirectUriHelpMessage": "set \"%s\" as \"Redirect URIs\" under \"Authentication\"",
464
- "plugins.aad.UpdateAadHelpMessage": "update Azure AD app manifest",
465
394
  "plugins.apim.QuestionConstants.VSCode.OpenApiDocument.description": "Select Open API document.",
466
395
  "plugins.apim.QuestionConstants.VSCode.ApiPrefix.description": "Input the API name prefix.",
467
396
  "plugins.apim.QuestionConstants.VSCode.ApiPrefix.prompt": "The unique name of the API will be '{api-prefix}-{resource-suffix}-{api-version}'.",
@@ -510,39 +439,26 @@
510
439
  "core.addSso.ssoEnabled": "SSO is already enabled",
511
440
  "core.addSsoFiles.emptyProjectPath": "Project path is empty",
512
441
  "core.addSsoFiles.FailedToCreateAuthFiles": "Unable to create files for add sso. Detail error: %s.",
513
- "core.addSsoFiles.invalidLanguage": "Invalid language. Please make sure '.fx/projectSettings.json' is not modified and try again.",
514
442
  "core.getUserEmailQuestion.validation3": "Email address is not valid",
515
443
  "plugins.bot.ErrorSuggestions": "Suggestions: %s",
516
444
  "plugins.bot.InvalidValue": "%s is invalid with value: %s",
517
445
  "plugins.bot.SomethingIsMissing": "%s is missing.",
518
- "plugins.bot.SomethingNotExisting": "%s is not existing.",
519
446
  "plugins.bot.FailedToGetAlreadyCreatedBot": "Cannot create bot with id %s which may be taken by an existing bot. Visit %s to learn more.\nOr API call to Developer Portal failed: Error, Request failed with status code 500, API name: create-bot, X-Correlation-ID: undefined. This may come from some intermittent service error. Please wait for a few minutes and retry.",
520
447
  "_plugins.bot.FailedToGetAlreadyCreatedBot.comment": " This is to describe API call, no need to translate 'X-Correlation-ID'.",
521
448
  "plugins.bot.FailedToProvision": "Unable to provision %s.",
522
449
  "plugins.bot.FailedToUpdateConfigs": "Unable to update configs for %s",
523
450
  "plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to learn more about how to check bot registrations.",
524
- "plugins.bot.FailedUpdateMessageEndpoint": "Unable to update message endpoint with %s.",
525
- "plugins.bot.FailToCallAppStudioApi": "Unable to call Developer Portal's API to check AAD application's existence.",
526
451
  "plugins.bot.BotResourceExists": "Bot resource already existed on %s, skip creating Bot resource.",
527
- "plugins.bot.WorkingDirMissing": "Working directory is missing.",
528
452
  "plugins.bot.FailRetrieveAzureCredentials": "Unable to retrieve Azure credentials.",
529
- "plugins.bot.CreateBotAADSuccess": "Successfully created bot AAD app.",
530
453
  "plugins.bot.ProvisionBotRegistration": "Provisioning bot registration.",
531
454
  "plugins.bot.ProvisionBotRegistrationSuccess": "Successfully provisioned bot registration.",
532
- "plugins.bot.RecreateProject": "Please recreate the project.",
533
455
  "plugins.bot.CheckCommandOutput": "Please check the command output and try to fix it.",
534
456
  "plugins.bot.RunFailedCommand": "Please run failed command '%s' in the folder: '%s'.",
535
457
  "plugins.bot.CheckLogAndFix": "Please check log in Output panel and try to fix this issue.",
536
- "plugins.bot.CheckPathWriteAccess": "Please check whether the path %s exists and you have write access to it, if no, please move the project to a valid path.",
537
458
  "plugins.bot.AadApp": "AAD app",
538
459
  "plugins.bot.AadClientSecret": "AAD client secret",
539
460
  "plugins.bot.AppStudioBotRegistration": "Developer Portal bot registration",
540
- "plugins.function.askFunctionName": "Provide a function name.",
541
- "plugins.function.getTemplateFrom": "Retrieving template from '%s'.",
542
461
  "plugins.function.getTemplateFromLocal": "Unable to get newest template from github, trying to use the local template.",
543
- "plugins.function.projectScaffoldAt": "Project scaffolded at '%s'.",
544
- "plugins.function.invalidFunctionName": "Invalid function name. Function names can only contain alphanumerical characters. The max length is 127 characters.",
545
- "plugins.function.functionAlreadyExists": "Function already exists.",
546
462
  "error.depChecker.DefaultErrorMessage": "Install the required dependencies manually.",
547
463
  "depChecker.learnMoreButtonText": "Learn more",
548
464
  "depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.",
@@ -569,7 +485,6 @@
569
485
  "depChecker.failToDownloadFromUrl": "Unable to download file from '@Url', HTTP status '@Status'.",
570
486
  "depChecker.failToValidateVxTestAppInstallOptions": "Invalid argument for video extensibility test app prerequisites checker. Please check tasks.json file.",
571
487
  "depChecker.failToValidateVxTestApp": "Unable to validate video extensibility test app after installation.",
572
- "error.BadComponent": "Component '%s' lacks of property: %s.",
573
488
  "error.UpdateAadManifest.MissingEnvHint": "If you are developing with a new project created with Teams Toolkit, running provision or debug will register correct values for these environment variables.",
574
489
  "error.driver.outputEnvironmentVariableUndefined": "The output environment variable name(s) are not defined.",
575
490
  "driver.aadApp.description.create": "Create an Azure Active Directory app to authenticate users",
Binary file
Binary file
Binary file
Binary file
@@ -1,8 +0,0 @@
1
- export declare const templatesVersion: string;
2
- export declare const tagPrefix: string;
3
- export declare const preRelease: string;
4
- export declare const tagListURL: string;
5
- export declare const alphaVersion = "templates-0.0.0-alpha";
6
- export declare function selectTag(tags: string[]): string | undefined;
7
- export declare const templateURL: (tag: string, templateName: string) => string;
8
- //# sourceMappingURL=templates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/common/template-utils/templates.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,QAAiB,CAAC;AAC/C,eAAO,MAAM,SAAS,QAAmB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAAgD,CAAC;AACxE,eAAO,MAAM,UAAU,QAAoB,CAAC;AAC5C,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAU5D;AAED,eAAO,MAAM,WAAW,QAAS,MAAM,gBAAgB,MAAM,KAAG,MACA,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.templateURL = exports.selectTag = exports.alphaVersion = exports.tagListURL = exports.preRelease = exports.tagPrefix = exports.templatesVersion = void 0;
6
- const tslib_1 = require("tslib");
7
- const semver_1 = tslib_1.__importDefault(require("semver"));
8
- const templates_config_json_1 = tslib_1.__importDefault(require("../templates-config.json"));
9
- exports.templatesVersion = templates_config_json_1.default.version;
10
- exports.tagPrefix = templates_config_json_1.default.tagPrefix;
11
- exports.preRelease = process.env.TEAMSFX_TEMPLATE_PRERELEASE || "";
12
- exports.tagListURL = templates_config_json_1.default.tagListURL;
13
- exports.alphaVersion = "templates-0.0.0-alpha";
14
- function selectTag(tags) {
15
- // To avoid incompatible, alpha release does not download latest template.
16
- if (exports.tagPrefix + exports.templatesVersion === exports.alphaVersion) {
17
- return undefined;
18
- }
19
- const versionPattern = exports.preRelease ? `0.0.0-${exports.preRelease}` : exports.templatesVersion;
20
- const versionList = tags.map((tag) => tag.replace(exports.tagPrefix, ""));
21
- const selectedVersion = semver_1.default.maxSatisfying(versionList, versionPattern);
22
- return selectedVersion ? exports.tagPrefix + selectedVersion : undefined;
23
- }
24
- exports.selectTag = selectTag;
25
- const templateURL = (tag, templateName) => `${templates_config_json_1.default.templateDownloadBaseURL}/${tag}/${templateName}.zip`;
26
- exports.templateURL = templateURL;
27
- //# sourceMappingURL=templates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/common/template-utils/templates.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,4DAA4B;AAC5B,6FAA8C;AAEjC,QAAA,gBAAgB,GAAG,+BAAM,CAAC,OAAO,CAAC;AAClC,QAAA,SAAS,GAAG,+BAAM,CAAC,SAAS,CAAC;AAC7B,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,EAAE,CAAC;AAC3D,QAAA,UAAU,GAAG,+BAAM,CAAC,UAAU,CAAC;AAC/B,QAAA,YAAY,GAAG,uBAAuB,CAAC;AAEpD,SAAgB,SAAS,CAAC,IAAc;IACtC,0EAA0E;IAC1E,IAAI,iBAAS,GAAG,wBAAgB,KAAK,oBAAY,EAAE;QACjD,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,cAAc,GAAG,kBAAU,CAAC,CAAC,CAAC,SAAS,kBAAU,EAAE,CAAC,CAAC,CAAC,wBAAgB,CAAC;IAC7E,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,iBAAS,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1E,MAAM,eAAe,GAAG,gBAAM,CAAC,aAAa,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAC1E,OAAO,eAAe,CAAC,CAAC,CAAC,iBAAS,GAAG,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;AACnE,CAAC;AAVD,8BAUC;AAEM,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,YAAoB,EAAU,EAAE,CACvE,GAAG,+BAAM,CAAC,uBAAuB,IAAI,GAAG,IAAI,YAAY,MAAM,CAAC;AADpD,QAAA,WAAW,eACyC"}
@@ -1,42 +0,0 @@
1
- /// <reference types="node" />
2
- import AdmZip from "adm-zip";
3
- export interface ScaffoldContext {
4
- group?: string;
5
- lang?: string;
6
- scenario?: string;
7
- dst?: string;
8
- zip?: AdmZip;
9
- zipUrl?: string;
10
- tryLimits?: number;
11
- timeoutInMs?: number;
12
- templatesFolderPath?: string;
13
- fallback?: boolean;
14
- fileNameReplaceFn?: (name: string, data: Buffer) => string;
15
- fileDataReplaceFn?: (name: string, data: Buffer) => string | Buffer;
16
- onActionStart?: (action: ScaffoldAction, context: ScaffoldContext) => Promise<void>;
17
- onActionEnd?: (action: ScaffoldAction, context: ScaffoldContext) => Promise<void>;
18
- onActionError?: (action: ScaffoldAction, context: ScaffoldContext, error: Error) => Promise<void>;
19
- }
20
- export interface ScaffoldAction {
21
- name: string;
22
- run: (context: ScaffoldContext) => Promise<void>;
23
- }
24
- export declare enum ScaffoldActionName {
25
- FetchTemplateZipFromSourceCode = "FetchTemplateZipFromSourceCode",
26
- FetchTemplatesUrlWithTag = "FetchTemplatesUrlWithTag",
27
- FetchTemplatesZipFromUrl = "FetchTemplatesZipFromUrl",
28
- FetchTemplateZipFromLocal = "FetchTemplateZipFromLocal",
29
- Unzip = "Unzip"
30
- }
31
- export declare const fetchTemplateZipFromSourceCodeAction: ScaffoldAction;
32
- export declare const fetchTemplatesUrlWithTagAction: ScaffoldAction;
33
- export declare const fetchTemplatesZipFromUrlAction: ScaffoldAction;
34
- export declare const fetchTemplateZipFromLocalAction: ScaffoldAction;
35
- export declare const unzipAction: ScaffoldAction;
36
- export declare const defaultActionSeq: ScaffoldAction[];
37
- export declare function genTemplateRenderReplaceFn(variable: {
38
- [key: string]: string;
39
- }): (name: string, data: Buffer) => string | Buffer;
40
- export declare function removeTemplateExtReplaceFn(name: string, data: Buffer): string;
41
- export declare function scaffoldFromTemplates(context: ScaffoldContext, actions?: ScaffoldAction[]): Promise<void>;
42
- //# sourceMappingURL=templatesActions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templatesActions.d.ts","sourceRoot":"","sources":["../../../src/common/template-utils/templatesActions.ts"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,SAAS,CAAC;AAc7B,MAAM,WAAW,eAAe;IAE9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,GAAG,CAAC,EAAE,MAAM,CAAC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