@microsoft/teamsfx-core 2.0.0-alpha.2c2e7a109.0 → 2.0.0-alpha.34e31d6eb.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 (718) hide show
  1. package/build/common/deps-checker/constant/helpLink.d.ts +6 -6
  2. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  3. package/build/common/deps-checker/constant/helpLink.js +14 -7
  4. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  5. package/build/common/deps-checker/constant/message.d.ts +6 -8
  6. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/message.js +13 -12
  8. package/build/common/deps-checker/constant/message.js.map +1 -1
  9. package/build/common/deps-checker/constant/telemetry.d.ts +12 -1
  10. package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
  11. package/build/common/deps-checker/constant/telemetry.js +11 -0
  12. package/build/common/deps-checker/constant/telemetry.js.map +1 -1
  13. package/build/common/deps-checker/depsChecker.d.ts +6 -1
  14. package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
  15. package/build/common/deps-checker/depsChecker.js.map +1 -1
  16. package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
  17. package/build/common/deps-checker/internal/dotnetChecker.js +5 -10
  18. package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
  19. package/build/common/deps-checker/internal/funcToolChecker.d.ts +20 -40
  20. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  21. package/build/common/deps-checker/internal/funcToolChecker.js +208 -294
  22. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  23. package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -1
  24. package/build/common/deps-checker/internal/ngrokChecker.js +2 -1
  25. package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -1
  26. package/build/common/deps-checker/internal/nodeChecker.d.ts +3 -3
  27. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  28. package/build/common/deps-checker/internal/nodeChecker.js +4 -6
  29. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  30. package/build/common/deps-checker/internal/vxTestAppChecker.d.ts +0 -1
  31. package/build/common/deps-checker/internal/vxTestAppChecker.d.ts.map +1 -1
  32. package/build/common/deps-checker/internal/vxTestAppChecker.js +3 -21
  33. package/build/common/deps-checker/internal/vxTestAppChecker.js.map +1 -1
  34. package/build/common/deps-checker/util/fileHelper.d.ts +4 -0
  35. package/build/common/deps-checker/util/fileHelper.d.ts.map +1 -0
  36. package/build/common/deps-checker/util/fileHelper.js +45 -0
  37. package/build/common/deps-checker/util/fileHelper.js.map +1 -0
  38. package/build/common/local/constants.d.ts +8 -2
  39. package/build/common/local/constants.d.ts.map +1 -1
  40. package/build/common/local/constants.js +8 -2
  41. package/build/common/local/constants.js.map +1 -1
  42. package/build/common/local/localEnvManager.d.ts.map +1 -1
  43. package/build/common/local/localEnvManager.js +2 -3
  44. package/build/common/local/localEnvManager.js.map +1 -1
  45. package/build/common/m365/constants.d.ts +6 -0
  46. package/build/common/m365/constants.d.ts.map +1 -0
  47. package/build/common/m365/constants.js +12 -0
  48. package/build/common/m365/constants.js.map +1 -0
  49. package/build/common/m365/errors.d.ts +5 -0
  50. package/build/common/m365/errors.d.ts.map +1 -0
  51. package/build/common/m365/errors.js +20 -0
  52. package/build/common/m365/errors.js.map +1 -0
  53. package/build/common/m365/launchHelper.d.ts +12 -0
  54. package/build/common/m365/launchHelper.d.ts.map +1 -0
  55. package/build/common/m365/launchHelper.js +109 -0
  56. package/build/common/m365/launchHelper.js.map +1 -0
  57. package/build/common/projectSettingsHelperV3.d.ts +0 -1
  58. package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
  59. package/build/common/projectSettingsHelperV3.js +1 -8
  60. package/build/common/projectSettingsHelperV3.js.map +1 -1
  61. package/build/common/samples-config-v3.json +3 -3
  62. package/build/common/samples.js +1 -1
  63. package/build/common/samples.js.map +1 -1
  64. package/build/common/telemetry.d.ts +1 -0
  65. package/build/common/telemetry.d.ts.map +1 -1
  66. package/build/common/telemetry.js +1 -0
  67. package/build/common/telemetry.js.map +1 -1
  68. package/build/common/tools.d.ts +1 -0
  69. package/build/common/tools.d.ts.map +1 -1
  70. package/build/common/tools.js +6 -2
  71. package/build/common/tools.js.map +1 -1
  72. package/build/common/versionMetadata.d.ts +5 -0
  73. package/build/common/versionMetadata.d.ts.map +1 -1
  74. package/build/common/versionMetadata.js +11 -0
  75. package/build/common/versionMetadata.js.map +1 -1
  76. package/build/component/arm.d.ts +3 -1
  77. package/build/component/arm.d.ts.map +1 -1
  78. package/build/component/arm.js +31 -42
  79. package/build/component/arm.js.map +1 -1
  80. package/build/component/code/api/apiCode.d.ts +1 -1
  81. package/build/component/code/api/apiCode.d.ts.map +1 -1
  82. package/build/component/code/api/apiCode.js +2 -1
  83. package/build/component/code/api/apiCode.js.map +1 -1
  84. package/build/component/code/spfxTabCode.d.ts.map +1 -1
  85. package/build/component/code/spfxTabCode.js +4 -3
  86. package/build/component/code/spfxTabCode.js.map +1 -1
  87. package/build/component/code/utils.d.ts +3 -0
  88. package/build/component/code/utils.d.ts.map +1 -1
  89. package/build/component/code/utils.js +19 -8
  90. package/build/component/code/utils.js.map +1 -1
  91. package/build/component/configManager/diagnostic.d.ts +9 -0
  92. package/build/component/configManager/diagnostic.d.ts.map +1 -0
  93. package/build/component/configManager/diagnostic.js +47 -0
  94. package/build/component/configManager/diagnostic.js.map +1 -0
  95. package/build/component/configManager/interface.d.ts +1 -1
  96. package/build/component/configManager/interface.d.ts.map +1 -1
  97. package/build/component/configManager/parser.d.ts +1 -1
  98. package/build/component/configManager/parser.d.ts.map +1 -1
  99. package/build/component/configManager/parser.js +25 -6
  100. package/build/component/configManager/parser.js.map +1 -1
  101. package/build/component/constant/commonConstant.d.ts +1 -0
  102. package/build/component/constant/commonConstant.d.ts.map +1 -1
  103. package/build/component/constant/commonConstant.js +1 -0
  104. package/build/component/constant/commonConstant.js.map +1 -1
  105. package/build/component/constant/deployConstant.d.ts +0 -5
  106. package/build/component/constant/deployConstant.d.ts.map +1 -1
  107. package/build/component/constant/deployConstant.js +1 -19
  108. package/build/component/constant/deployConstant.js.map +1 -1
  109. package/build/component/constants.d.ts +4 -0
  110. package/build/component/constants.d.ts.map +1 -1
  111. package/build/component/constants.js +49 -26
  112. package/build/component/constants.js.map +1 -1
  113. package/build/component/coordinator/index.d.ts +3 -3
  114. package/build/component/coordinator/index.d.ts.map +1 -1
  115. package/build/component/coordinator/index.js +110 -88
  116. package/build/component/coordinator/index.js.map +1 -1
  117. package/build/component/debug/util/ngrok.js +1 -1
  118. package/build/component/debugHandler/appManifest.js +2 -1
  119. package/build/component/debugHandler/appManifest.js.map +1 -1
  120. package/build/component/debugHandler/error.d.ts +0 -1
  121. package/build/component/debugHandler/error.d.ts.map +1 -1
  122. package/build/component/debugHandler/error.js +1 -5
  123. package/build/component/debugHandler/error.js.map +1 -1
  124. package/build/component/developerPortalScaffoldUtils.d.ts +4 -1
  125. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  126. package/build/component/developerPortalScaffoldUtils.js +7 -5
  127. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  128. package/build/component/driver/aad/create.d.ts +1 -3
  129. package/build/component/driver/aad/create.d.ts.map +1 -1
  130. package/build/component/driver/aad/create.js +55 -63
  131. package/build/component/driver/aad/create.js.map +1 -1
  132. package/build/component/driver/aad/interface/createAadAppArgs.d.ts +2 -0
  133. package/build/component/driver/aad/interface/createAadAppArgs.d.ts.map +1 -1
  134. package/build/component/driver/aad/interface/createAadAppOutput.d.ts +16 -8
  135. package/build/component/driver/aad/interface/createAadAppOutput.d.ts.map +1 -1
  136. package/build/component/driver/aad/interface/createAadAppOutput.js +10 -0
  137. package/build/component/driver/aad/interface/createAadAppOutput.js.map +1 -1
  138. package/build/component/driver/aad/interface/signInAudience.d.ts +7 -0
  139. package/build/component/driver/aad/interface/signInAudience.d.ts.map +1 -0
  140. package/build/component/driver/aad/interface/signInAudience.js +13 -0
  141. package/build/component/driver/aad/interface/signInAudience.js.map +1 -0
  142. package/build/component/driver/aad/update.d.ts +0 -1
  143. package/build/component/driver/aad/update.d.ts.map +1 -1
  144. package/build/component/driver/aad/update.js +29 -25
  145. package/build/component/driver/aad/update.js.map +1 -1
  146. package/build/component/driver/aad/utility/aadAppClient.d.ts +2 -1
  147. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  148. package/build/component/driver/aad/utility/aadAppClient.js +3 -2
  149. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  150. package/build/component/driver/aad/utility/buildAadManifest.js +1 -1
  151. package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
  152. package/build/component/driver/add/utility/constants.d.ts +1 -1
  153. package/build/component/driver/add/utility/constants.d.ts.map +1 -1
  154. package/build/component/driver/add/utility/constants.js +1 -1
  155. package/build/component/driver/add/utility/constants.js.map +1 -1
  156. package/build/component/driver/arm/deploy.d.ts.map +1 -1
  157. package/build/component/driver/arm/deploy.js +8 -0
  158. package/build/component/driver/arm/deploy.js.map +1 -1
  159. package/build/component/driver/arm/deployImpl.d.ts +1 -1
  160. package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
  161. package/build/component/driver/arm/deployImpl.js +12 -10
  162. package/build/component/driver/arm/deployImpl.js.map +1 -1
  163. package/build/component/driver/arm/util/util.d.ts.map +1 -1
  164. package/build/component/driver/arm/util/util.js +2 -2
  165. package/build/component/driver/arm/util/util.js.map +1 -1
  166. package/build/component/driver/arm/validator.d.ts.map +1 -1
  167. package/build/component/driver/arm/validator.js +0 -15
  168. package/build/component/driver/arm/validator.js.map +1 -1
  169. package/build/component/driver/botAadApp/create.d.ts +2 -3
  170. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  171. package/build/component/driver/botAadApp/create.js +43 -37
  172. package/build/component/driver/botAadApp/create.js.map +1 -1
  173. package/build/component/driver/botAadApp/error/unexpectedEmptyBotPasswordError.d.ts +5 -0
  174. package/build/component/driver/botAadApp/error/unexpectedEmptyBotPasswordError.d.ts.map +1 -0
  175. package/build/component/driver/{m365/error/FileNotFoundUserError.js → botAadApp/error/unexpectedEmptyBotPasswordError.js} +9 -9
  176. package/build/component/driver/botAadApp/error/unexpectedEmptyBotPasswordError.js.map +1 -0
  177. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.d.ts +4 -4
  178. package/build/component/driver/botAadApp/interface/createBotAadAppOutput.d.ts.map +1 -1
  179. package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
  180. package/build/component/driver/botFramework/createOrUpdateBot.js +20 -13
  181. package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
  182. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js +1 -1
  183. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js.map +1 -1
  184. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js +1 -1
  185. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js.map +1 -1
  186. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts +2 -4
  187. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts.map +1 -1
  188. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js +10 -23
  189. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -1
  190. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts +2 -8
  191. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts.map +1 -1
  192. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +6 -20
  193. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
  194. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts +3 -7
  195. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts.map +1 -1
  196. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +27 -33
  197. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  198. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts +2 -3
  199. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
  200. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +9 -19
  201. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  202. package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts +2 -3
  203. package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts.map +1 -1
  204. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js +13 -5
  205. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js.map +1 -1
  206. package/build/component/driver/deploy/spfx/deployDriver.d.ts.map +1 -1
  207. package/build/component/driver/deploy/spfx/deployDriver.js +72 -83
  208. package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -1
  209. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js +2 -2
  210. package/build/component/driver/deploy/spfx/error/insufficientPermissionError.js.map +1 -1
  211. package/build/component/driver/deploy/spfx/utility/constants.d.ts +1 -0
  212. package/build/component/driver/deploy/spfx/utility/constants.d.ts.map +1 -1
  213. package/build/component/driver/deploy/spfx/utility/constants.js +1 -0
  214. package/build/component/driver/deploy/spfx/utility/constants.js.map +1 -1
  215. package/build/component/driver/devTool/constant.d.ts.map +1 -0
  216. package/build/component/driver/devTool/constant.js.map +1 -0
  217. package/build/component/driver/devTool/error/dotnetInstallationUserError.d.ts.map +1 -0
  218. package/build/component/driver/devTool/error/dotnetInstallationUserError.js.map +1 -0
  219. package/build/component/driver/devTool/error/funcInstallationUserError.d.ts.map +1 -0
  220. package/build/component/driver/devTool/error/funcInstallationUserError.js.map +1 -0
  221. package/build/component/driver/{prerequisite → devTool}/installDriver.d.ts +5 -7
  222. package/build/component/driver/devTool/installDriver.d.ts.map +1 -0
  223. package/build/component/driver/{prerequisite → devTool}/installDriver.js +111 -55
  224. package/build/component/driver/devTool/installDriver.js.map +1 -0
  225. package/build/component/driver/{prerequisite → devTool}/interfaces/InstallToolArgs.d.ts +5 -1
  226. package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts.map +1 -0
  227. package/build/component/driver/devTool/interfaces/InstallToolArgs.js.map +1 -0
  228. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.d.ts +5 -0
  229. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.d.ts.map +1 -0
  230. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js +22 -0
  231. package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js.map +1 -0
  232. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
  233. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +15 -3
  234. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  235. package/build/component/driver/file/createOrUpdateJsonFile.d.ts.map +1 -1
  236. package/build/component/driver/file/createOrUpdateJsonFile.js +15 -3
  237. package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
  238. package/build/component/driver/index.d.ts +2 -3
  239. package/build/component/driver/index.d.ts.map +1 -1
  240. package/build/component/driver/index.js +2 -3
  241. package/build/component/driver/index.js.map +1 -1
  242. package/build/component/driver/interface/buildAndDeployArgs.d.ts +2 -1
  243. package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
  244. package/build/component/driver/interface/commonArgs.d.ts +2 -1
  245. package/build/component/driver/interface/commonArgs.d.ts.map +1 -1
  246. package/build/component/driver/m365/acquire.d.ts +2 -1
  247. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  248. package/build/component/driver/m365/acquire.js +39 -22
  249. package/build/component/driver/m365/acquire.js.map +1 -1
  250. package/build/component/driver/middleware/addStartAndEndTelemetry.d.ts.map +1 -1
  251. package/build/component/driver/middleware/addStartAndEndTelemetry.js +14 -6
  252. package/build/component/driver/middleware/addStartAndEndTelemetry.js.map +1 -1
  253. package/build/component/driver/middleware/updateProgress.d.ts +6 -0
  254. package/build/component/driver/middleware/updateProgress.d.ts.map +1 -0
  255. package/build/component/driver/middleware/updateProgress.js +15 -0
  256. package/build/component/driver/middleware/updateProgress.js.map +1 -0
  257. package/build/component/driver/script/baseBuildDriver.d.ts +1 -8
  258. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  259. package/build/component/driver/script/baseBuildDriver.js +4 -16
  260. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  261. package/build/component/driver/script/dotnetBuildDriver.d.ts +0 -2
  262. package/build/component/driver/script/dotnetBuildDriver.d.ts.map +1 -1
  263. package/build/component/driver/script/dotnetBuildDriver.js +0 -2
  264. package/build/component/driver/script/dotnetBuildDriver.js.map +1 -1
  265. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  266. package/build/component/driver/script/scriptDriver.js +7 -2
  267. package/build/component/driver/script/scriptDriver.js.map +1 -1
  268. package/build/component/driver/teamsApp/configure.d.ts +5 -6
  269. package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
  270. package/build/component/driver/teamsApp/configure.js +16 -24
  271. package/build/component/driver/teamsApp/configure.js.map +1 -1
  272. package/build/component/driver/teamsApp/copyAppPackageToSPFx.d.ts.map +1 -1
  273. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js +5 -1
  274. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js.map +1 -1
  275. package/build/component/driver/teamsApp/create.d.ts +5 -2
  276. package/build/component/driver/teamsApp/create.d.ts.map +1 -1
  277. package/build/component/driver/teamsApp/create.js +27 -25
  278. package/build/component/driver/teamsApp/create.js.map +1 -1
  279. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  280. package/build/component/driver/teamsApp/createAppPackage.js +6 -14
  281. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  282. package/build/component/driver/teamsApp/interfaces/ValidateAppPackageArgs.d.ts +5 -0
  283. package/build/component/driver/teamsApp/interfaces/ValidateAppPackageArgs.d.ts.map +1 -1
  284. package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts +5 -0
  285. package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts.map +1 -1
  286. package/build/component/driver/teamsApp/publishAppPackage.d.ts +2 -2
  287. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  288. package/build/component/driver/teamsApp/publishAppPackage.js +20 -31
  289. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  290. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  291. package/build/component/driver/teamsApp/validate.js +35 -16
  292. package/build/component/driver/teamsApp/validate.js.map +1 -1
  293. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  294. package/build/component/driver/teamsApp/validateAppPackage.js +151 -25
  295. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  296. package/build/component/driver/util/utils.d.ts +3 -0
  297. package/build/component/driver/util/utils.d.ts.map +1 -0
  298. package/build/component/driver/util/utils.js +26 -0
  299. package/build/component/driver/util/utils.js.map +1 -0
  300. package/build/component/driver/util/wrapUtil.js +1 -1
  301. package/build/component/driver/util/wrapUtil.js.map +1 -1
  302. package/build/component/error/componentError.js +2 -2
  303. package/build/component/error/componentError.js.map +1 -1
  304. package/build/component/error/deployError.d.ts +1 -32
  305. package/build/component/error/deployError.d.ts.map +1 -1
  306. package/build/component/error/deployError.js +1 -108
  307. package/build/component/error/deployError.js.map +1 -1
  308. package/build/component/error.d.ts +0 -6
  309. package/build/component/error.d.ts.map +1 -1
  310. package/build/component/error.js +1 -21
  311. package/build/component/error.js.map +1 -1
  312. package/build/component/feature/apiconnector/errors.d.ts +0 -4
  313. package/build/component/feature/apiconnector/errors.d.ts.map +1 -1
  314. package/build/component/feature/apiconnector/errors.js +12 -16
  315. package/build/component/feature/apiconnector/errors.js.map +1 -1
  316. package/build/component/feature/bot/bot.js +8 -8
  317. package/build/component/feature/bot/bot.js.map +1 -1
  318. package/build/component/feature/bot/question.d.ts +6 -6
  319. package/build/component/feature/bot/question.d.ts.map +1 -1
  320. package/build/component/feature/bot/question.js +69 -38
  321. package/build/component/feature/bot/question.js.map +1 -1
  322. package/build/component/feature/spfx.d.ts +2 -2
  323. package/build/component/feature/spfx.d.ts.map +1 -1
  324. package/build/component/feature/spfx.js +14 -7
  325. package/build/component/feature/spfx.js.map +1 -1
  326. package/build/component/generator/constant.d.ts +3 -0
  327. package/build/component/generator/constant.d.ts.map +1 -1
  328. package/build/component/generator/constant.js +5 -2
  329. package/build/component/generator/constant.js.map +1 -1
  330. package/build/component/generator/error.d.ts +9 -0
  331. package/build/component/generator/error.d.ts.map +1 -1
  332. package/build/component/generator/error.js +19 -1
  333. package/build/component/generator/error.js.map +1 -1
  334. package/build/component/generator/generator.d.ts +1 -1
  335. package/build/component/generator/generator.d.ts.map +1 -1
  336. package/build/component/generator/generator.js +25 -8
  337. package/build/component/generator/generator.js.map +1 -1
  338. package/build/component/generator/generatorAction.d.ts +5 -2
  339. package/build/component/generator/generatorAction.d.ts.map +1 -1
  340. package/build/component/generator/generatorAction.js +20 -10
  341. package/build/component/generator/generatorAction.js.map +1 -1
  342. package/build/component/generator/officeAddin/question.d.ts.map +1 -1
  343. package/build/component/generator/officeAddin/question.js +3 -3
  344. package/build/component/generator/officeAddin/question.js.map +1 -1
  345. package/build/component/generator/spfxGenerator.d.ts.map +1 -1
  346. package/build/component/generator/spfxGenerator.js +6 -0
  347. package/build/component/generator/spfxGenerator.js.map +1 -1
  348. package/build/component/generator/utils.d.ts +3 -0
  349. package/build/component/generator/utils.d.ts.map +1 -1
  350. package/build/component/generator/utils.js +90 -4
  351. package/build/component/generator/utils.js.map +1 -1
  352. package/build/component/messages.d.ts +4 -15
  353. package/build/component/messages.d.ts.map +1 -1
  354. package/build/component/messages.js +4 -15
  355. package/build/component/messages.js.map +1 -1
  356. package/build/component/middleware/envMW.d.ts +8 -2
  357. package/build/component/middleware/envMW.d.ts.map +1 -1
  358. package/build/component/middleware/envMW.js +13 -7
  359. package/build/component/middleware/envMW.js.map +1 -1
  360. package/build/component/middleware/logger.d.ts +1 -0
  361. package/build/component/middleware/logger.d.ts.map +1 -1
  362. package/build/component/middleware/logger.js +3 -0
  363. package/build/component/middleware/logger.js.map +1 -1
  364. package/build/component/provisionUtils.d.ts.map +1 -1
  365. package/build/component/provisionUtils.js +8 -6
  366. package/build/component/provisionUtils.js.map +1 -1
  367. package/build/component/question.d.ts +1 -0
  368. package/build/component/question.d.ts.map +1 -1
  369. package/build/component/question.js +8 -1
  370. package/build/component/question.js.map +1 -1
  371. package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +1 -1
  372. package/build/component/resource/aadApp/aadAppManifestManager.js +2 -1
  373. package/build/component/resource/aadApp/aadAppManifestManager.js.map +1 -1
  374. package/build/component/resource/aadApp/errors.d.ts +0 -1
  375. package/build/component/resource/aadApp/errors.d.ts.map +1 -1
  376. package/build/component/resource/aadApp/errors.js +3 -10
  377. package/build/component/resource/aadApp/errors.js.map +1 -1
  378. package/build/component/resource/aadApp/utils.d.ts +1 -1
  379. package/build/component/resource/aadApp/utils.d.ts.map +1 -1
  380. package/build/component/resource/aadApp/utils.js +6 -5
  381. package/build/component/resource/aadApp/utils.js.map +1 -1
  382. package/build/component/resource/apim/error.d.ts +0 -1
  383. package/build/component/resource/apim/error.d.ts.map +1 -1
  384. package/build/component/resource/apim/error.js +1 -9
  385. package/build/component/resource/apim/error.js.map +1 -1
  386. package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
  387. package/build/component/resource/appManifest/appManifest.js +3 -4
  388. package/build/component/resource/appManifest/appManifest.js.map +1 -1
  389. package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
  390. package/build/component/resource/appManifest/appStudio.js +23 -40
  391. package/build/component/resource/appManifest/appStudio.js.map +1 -1
  392. package/build/component/resource/appManifest/appStudioClient.d.ts.map +1 -1
  393. package/build/component/resource/appManifest/appStudioClient.js +16 -1
  394. package/build/component/resource/appManifest/appStudioClient.js.map +1 -1
  395. package/build/component/resource/appManifest/constants.d.ts +1 -0
  396. package/build/component/resource/appManifest/constants.d.ts.map +1 -1
  397. package/build/component/resource/appManifest/constants.js +1 -0
  398. package/build/component/resource/appManifest/constants.js.map +1 -1
  399. package/build/component/resource/appManifest/errors.d.ts +0 -12
  400. package/build/component/resource/appManifest/errors.d.ts.map +1 -1
  401. package/build/component/resource/appManifest/errors.js +3 -26
  402. package/build/component/resource/appManifest/errors.js.map +1 -1
  403. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +2 -1
  404. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
  405. package/build/component/resource/appManifest/utils/ManifestUtils.js +30 -22
  406. package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
  407. package/build/component/resource/appManifest/utils/telemetry.d.ts +2 -0
  408. package/build/component/resource/appManifest/utils/telemetry.d.ts.map +1 -1
  409. package/build/component/resource/appManifest/utils/telemetry.js +2 -0
  410. package/build/component/resource/appManifest/utils/telemetry.js.map +1 -1
  411. package/build/component/resource/appManifest/utils/utils.d.ts.map +1 -1
  412. package/build/component/resource/appManifest/utils/utils.js +5 -1
  413. package/build/component/resource/appManifest/utils/utils.js.map +1 -1
  414. package/build/component/resource/azureSql/errors.js +28 -28
  415. package/build/component/resource/azureSql/errors.js.map +1 -1
  416. package/build/component/resource/azureStorage/configs.d.ts +1 -1
  417. package/build/component/resource/botService/errors.d.ts +0 -6
  418. package/build/component/resource/botService/errors.d.ts.map +1 -1
  419. package/build/component/resource/botService/errors.js +8 -15
  420. package/build/component/resource/botService/errors.js.map +1 -1
  421. package/build/component/resource/simpleAuth/errors.js +2 -2
  422. package/build/component/resource/simpleAuth/errors.js.map +1 -1
  423. package/build/component/resource/spfx/error.d.ts +0 -1
  424. package/build/component/resource/spfx/error.d.ts.map +1 -1
  425. package/build/component/resource/spfx/error.js +2 -6
  426. package/build/component/resource/spfx/error.js.map +1 -1
  427. package/build/component/resource/spfx/utils/constants.d.ts +1 -0
  428. package/build/component/resource/spfx/utils/constants.d.ts.map +1 -1
  429. package/build/component/resource/spfx/utils/constants.js +1 -0
  430. package/build/component/resource/spfx/utils/constants.js.map +1 -1
  431. package/build/component/resource/spfx/utils/question-helper.d.ts +3 -2
  432. package/build/component/resource/spfx/utils/question-helper.d.ts.map +1 -1
  433. package/build/component/resource/spfx/utils/question-helper.js +13 -3
  434. package/build/component/resource/spfx/utils/question-helper.js.map +1 -1
  435. package/build/component/resource/spfx/utils/questions.d.ts +1 -1
  436. package/build/component/resource/spfx/utils/questions.d.ts.map +1 -1
  437. package/build/component/resource/spfx/utils/questions.js +1 -1
  438. package/build/component/resource/spfx/utils/questions.js.map +1 -1
  439. package/build/component/resource/spfx/utils/telemetryEvents.d.ts +2 -1
  440. package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +1 -1
  441. package/build/component/resource/spfx/utils/telemetryEvents.js +1 -0
  442. package/build/component/resource/spfx/utils/telemetryEvents.js.map +1 -1
  443. package/build/component/utils/ResourceGroupHelper.d.ts +1 -6
  444. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  445. package/build/component/utils/ResourceGroupHelper.js +65 -131
  446. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  447. package/build/component/utils/azureSdkErrorHandler.d.ts +2 -1
  448. package/build/component/utils/azureSdkErrorHandler.d.ts.map +1 -1
  449. package/build/component/utils/azureSdkErrorHandler.js.map +1 -1
  450. package/build/component/utils/depsChecker/bicepChecker.d.ts.map +1 -1
  451. package/build/component/utils/depsChecker/bicepChecker.js +10 -23
  452. package/build/component/utils/depsChecker/bicepChecker.js.map +1 -1
  453. package/build/component/utils/depsChecker/common.d.ts +0 -4
  454. package/build/component/utils/depsChecker/common.d.ts.map +1 -1
  455. package/build/component/utils/depsChecker/common.js +0 -4
  456. package/build/component/utils/depsChecker/common.js.map +1 -1
  457. package/build/component/utils/envUtil.d.ts.map +1 -1
  458. package/build/component/utils/envUtil.js +5 -6
  459. package/build/component/utils/envUtil.js.map +1 -1
  460. package/build/component/utils/fileOperation.js +3 -3
  461. package/build/component/utils/fileOperation.js.map +1 -1
  462. package/build/component/utils/metadataUtil.js +1 -1
  463. package/build/component/utils/metadataUtil.js.map +1 -1
  464. package/build/component/utils/settingsUtil.d.ts.map +1 -1
  465. package/build/component/utils/settingsUtil.js +3 -3
  466. package/build/component/utils/settingsUtil.js.map +1 -1
  467. package/build/component/utils.d.ts.map +1 -1
  468. package/build/component/utils.js +1 -0
  469. package/build/component/utils.js.map +1 -1
  470. package/build/core/FxCore.d.ts +83 -9
  471. package/build/core/FxCore.d.ts.map +1 -1
  472. package/build/core/FxCore.js +158 -68
  473. package/build/core/FxCore.js.map +1 -1
  474. package/build/core/FxCoreImplementV3.d.ts +7 -2
  475. package/build/core/FxCoreImplementV3.d.ts.map +1 -1
  476. package/build/core/FxCoreImplementV3.js +182 -65
  477. package/build/core/FxCoreImplementV3.js.map +1 -1
  478. package/build/core/collaborator.d.ts.map +1 -1
  479. package/build/core/collaborator.js +4 -8
  480. package/build/core/collaborator.js.map +1 -1
  481. package/build/core/environment.d.ts.map +1 -1
  482. package/build/core/environment.js +9 -19
  483. package/build/core/environment.js.map +1 -1
  484. package/build/core/error.d.ts +2 -23
  485. package/build/core/error.d.ts.map +1 -1
  486. package/build/core/error.js +5 -91
  487. package/build/core/error.js.map +1 -1
  488. package/build/core/globalVars.d.ts +1 -0
  489. package/build/core/globalVars.d.ts.map +1 -1
  490. package/build/core/globalVars.js.map +1 -1
  491. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  492. package/build/core/middleware/concurrentLocker.js +4 -11
  493. package/build/core/middleware/concurrentLocker.js.map +1 -1
  494. package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
  495. package/build/core/middleware/envInfoLoaderV3.js +2 -1
  496. package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
  497. package/build/core/middleware/projectMigratorV3.d.ts +3 -1
  498. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  499. package/build/core/middleware/projectMigratorV3.js +85 -35
  500. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  501. package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
  502. package/build/core/middleware/projectSettingsLoader.js +2 -1
  503. package/build/core/middleware/projectSettingsLoader.js.map +1 -1
  504. package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
  505. package/build/core/middleware/projectVersionChecker.js +24 -12
  506. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  507. package/build/core/middleware/questionModel.d.ts +0 -1
  508. package/build/core/middleware/questionModel.d.ts.map +1 -1
  509. package/build/core/middleware/questionModel.js +142 -60
  510. package/build/core/middleware/questionModel.js.map +1 -1
  511. package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
  512. package/build/core/middleware/utils/MigrationUtils.js +2 -0
  513. package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
  514. package/build/core/middleware/utils/appYmlGenerator.d.ts +1 -2
  515. package/build/core/middleware/utils/appYmlGenerator.d.ts.map +1 -1
  516. package/build/core/middleware/utils/appYmlGenerator.js +17 -6
  517. package/build/core/middleware/utils/appYmlGenerator.js.map +1 -1
  518. package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts +1 -1
  519. package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts.map +1 -1
  520. package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts +2 -0
  521. package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +1 -1
  522. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +10 -6
  523. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +1 -1
  524. package/build/core/middleware/utils/debug/taskMigrator.d.ts +1 -0
  525. package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +1 -1
  526. package/build/core/middleware/utils/debug/taskMigrator.js +139 -42
  527. package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
  528. package/build/core/middleware/utils/migrationContext.d.ts +1 -0
  529. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  530. package/build/core/middleware/utils/migrationContext.js +1 -0
  531. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  532. package/build/core/middleware/utils/v3MigrationUtils.d.ts +8 -1
  533. package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
  534. package/build/core/middleware/utils/v3MigrationUtils.js +38 -28
  535. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  536. package/build/core/question.d.ts +16 -4
  537. package/build/core/question.d.ts.map +1 -1
  538. package/build/core/question.js +246 -92
  539. package/build/core/question.js.map +1 -1
  540. package/build/error/arm.d.ts +32 -0
  541. package/build/error/arm.d.ts.map +1 -0
  542. package/build/error/arm.js +87 -0
  543. package/build/error/arm.js.map +1 -0
  544. package/build/error/azure.d.ts +30 -0
  545. package/build/error/azure.d.ts.map +1 -1
  546. package/build/error/azure.js +81 -1
  547. package/build/error/azure.js.map +1 -1
  548. package/build/error/common.d.ts +17 -2
  549. package/build/error/common.d.ts.map +1 -1
  550. package/build/error/common.js +79 -18
  551. package/build/error/common.js.map +1 -1
  552. package/build/error/deploy.d.ts +36 -0
  553. package/build/error/deploy.d.ts.map +1 -0
  554. package/build/error/deploy.js +126 -0
  555. package/build/error/deploy.js.map +1 -0
  556. package/build/error/m365.d.ts +20 -0
  557. package/build/error/m365.d.ts.map +1 -0
  558. package/build/error/m365.js +56 -0
  559. package/build/error/m365.js.map +1 -0
  560. package/build/error/script.d.ts +14 -0
  561. package/build/error/script.d.ts.map +1 -0
  562. package/build/error/script.js +38 -0
  563. package/build/error/script.js.map +1 -0
  564. package/build/error/upgrade.d.ts +5 -0
  565. package/build/error/upgrade.d.ts.map +1 -0
  566. package/build/error/upgrade.js +16 -0
  567. package/build/error/upgrade.js.map +1 -0
  568. package/build/error/yml.d.ts +5 -2
  569. package/build/error/yml.d.ts.map +1 -1
  570. package/build/error/yml.js +14 -4
  571. package/build/error/yml.js.map +1 -1
  572. package/package.json +19 -9
  573. package/resource/package.nls.cs.json +62 -42
  574. package/resource/package.nls.de.json +62 -42
  575. package/resource/package.nls.es.json +62 -42
  576. package/resource/package.nls.fr.json +62 -42
  577. package/resource/package.nls.it.json +62 -42
  578. package/resource/package.nls.ja.json +62 -42
  579. package/resource/package.nls.json +283 -335
  580. package/resource/package.nls.ko.json +62 -42
  581. package/resource/package.nls.pl.json +62 -42
  582. package/resource/package.nls.pt-BR.json +62 -42
  583. package/resource/package.nls.ru.json +62 -42
  584. package/resource/package.nls.tr.json +62 -42
  585. package/resource/package.nls.zh-Hans.json +62 -42
  586. package/resource/package.nls.zh-Hant.json +62 -42
  587. package/resource/package.nls.zh-cn.json +200 -329
  588. package/resource/package.nls.zh-tw.json +200 -329
  589. package/resource/yaml.schema.json +1458 -0
  590. package/templates/core/v3Migration/csharp.app.local.yml +28 -36
  591. package/templates/core/v3Migration/csharp.app.yml +44 -29
  592. package/templates/core/v3Migration/js.ts.app.local.yml +75 -56
  593. package/templates/core/v3Migration/js.ts.app.yml +100 -79
  594. package/templates/core/v3Migration/spfx.app.yml +16 -11
  595. package/templates/core/v3Migration/upgradeReport.md +3 -1
  596. package/templates/fallback/common.zip +0 -0
  597. package/templates/fallback/csharp.zip +0 -0
  598. package/templates/fallback/js.zip +0 -0
  599. package/templates/fallback/ts.zip +0 -0
  600. package/templates/plugins/resource/aad/auth/V3/Bot/SSO/SsoOperations.cs +23 -8
  601. package/templates/plugins/resource/aad/auth/V3/Tab/GetUserProfile.razor +2 -1
  602. package/build/component/configManager/error.d.ts +0 -21
  603. package/build/component/configManager/error.d.ts.map +0 -1
  604. package/build/component/configManager/error.js +0 -84
  605. package/build/component/configManager/error.js.map +0 -1
  606. package/build/component/driver/aad/error/invalidParameterUserError.d.ts +0 -5
  607. package/build/component/driver/aad/error/invalidParameterUserError.d.ts.map +0 -1
  608. package/build/component/driver/aad/error/invalidParameterUserError.js +0 -29
  609. package/build/component/driver/aad/error/invalidParameterUserError.js.map +0 -1
  610. package/build/component/driver/aad/error/unhandledError.d.ts +0 -8
  611. package/build/component/driver/aad/error/unhandledError.d.ts.map +0 -1
  612. package/build/component/driver/aad/error/unhandledError.js +0 -33
  613. package/build/component/driver/aad/error/unhandledError.js.map +0 -1
  614. package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts +0 -5
  615. package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts.map +0 -1
  616. package/build/component/driver/botAadApp/error/invalidParameterUserError.js +0 -29
  617. package/build/component/driver/botAadApp/error/invalidParameterUserError.js.map +0 -1
  618. package/build/component/driver/botAadApp/error/unhandledError.d.ts +0 -8
  619. package/build/component/driver/botAadApp/error/unhandledError.d.ts.map +0 -1
  620. package/build/component/driver/botAadApp/error/unhandledError.js +0 -33
  621. package/build/component/driver/botAadApp/error/unhandledError.js.map +0 -1
  622. package/build/component/driver/botFramework/error/invalidParameterUserError.d.ts +0 -5
  623. package/build/component/driver/botFramework/error/invalidParameterUserError.d.ts.map +0 -1
  624. package/build/component/driver/botFramework/error/invalidParameterUserError.js +0 -29
  625. package/build/component/driver/botFramework/error/invalidParameterUserError.js.map +0 -1
  626. package/build/component/driver/botFramework/error/unhandledError.d.ts +0 -5
  627. package/build/component/driver/botFramework/error/unhandledError.d.ts.map +0 -1
  628. package/build/component/driver/botFramework/error/unhandledError.js +0 -25
  629. package/build/component/driver/botFramework/error/unhandledError.js.map +0 -1
  630. package/build/component/driver/deploy/azure/impl/progressBarHelper.d.ts +0 -3
  631. package/build/component/driver/deploy/azure/impl/progressBarHelper.d.ts.map +0 -1
  632. package/build/component/driver/deploy/azure/impl/progressBarHelper.js +0 -15
  633. package/build/component/driver/deploy/azure/impl/progressBarHelper.js.map +0 -1
  634. package/build/component/driver/file/error/invalidParameterUserError.d.ts +0 -5
  635. package/build/component/driver/file/error/invalidParameterUserError.d.ts.map +0 -1
  636. package/build/component/driver/file/error/invalidParameterUserError.js +0 -29
  637. package/build/component/driver/file/error/invalidParameterUserError.js.map +0 -1
  638. package/build/component/driver/file/error/unhandledError.d.ts +0 -5
  639. package/build/component/driver/file/error/unhandledError.d.ts.map +0 -1
  640. package/build/component/driver/file/error/unhandledError.js +0 -25
  641. package/build/component/driver/file/error/unhandledError.js.map +0 -1
  642. package/build/component/driver/file/updateEnv.d.ts +0 -17
  643. package/build/component/driver/file/updateEnv.d.ts.map +0 -1
  644. package/build/component/driver/file/updateEnv.js +0 -129
  645. package/build/component/driver/file/updateEnv.js.map +0 -1
  646. package/build/component/driver/file/updateJson.d.ts +0 -16
  647. package/build/component/driver/file/updateJson.d.ts.map +0 -1
  648. package/build/component/driver/file/updateJson.js +0 -124
  649. package/build/component/driver/file/updateJson.js.map +0 -1
  650. package/build/component/driver/m365/error/FileNotFoundUserError.d.ts +0 -5
  651. package/build/component/driver/m365/error/FileNotFoundUserError.d.ts.map +0 -1
  652. package/build/component/driver/m365/error/FileNotFoundUserError.js.map +0 -1
  653. package/build/component/driver/m365/error/invalidParameterUserError.d.ts +0 -5
  654. package/build/component/driver/m365/error/invalidParameterUserError.d.ts.map +0 -1
  655. package/build/component/driver/m365/error/invalidParameterUserError.js +0 -29
  656. package/build/component/driver/m365/error/invalidParameterUserError.js.map +0 -1
  657. package/build/component/driver/m365/error/unhandledError.d.ts +0 -5
  658. package/build/component/driver/m365/error/unhandledError.d.ts.map +0 -1
  659. package/build/component/driver/m365/error/unhandledError.js +0 -25
  660. package/build/component/driver/m365/error/unhandledError.js.map +0 -1
  661. package/build/component/driver/prerequisite/constant.d.ts.map +0 -1
  662. package/build/component/driver/prerequisite/constant.js.map +0 -1
  663. package/build/component/driver/prerequisite/error/dotnetInstallationUserError.d.ts.map +0 -1
  664. package/build/component/driver/prerequisite/error/dotnetInstallationUserError.js.map +0 -1
  665. package/build/component/driver/prerequisite/error/funcInstallationUserError.d.ts.map +0 -1
  666. package/build/component/driver/prerequisite/error/funcInstallationUserError.js.map +0 -1
  667. package/build/component/driver/prerequisite/error/invalidParameterUserError.d.ts +0 -5
  668. package/build/component/driver/prerequisite/error/invalidParameterUserError.d.ts.map +0 -1
  669. package/build/component/driver/prerequisite/error/invalidParameterUserError.js +0 -29
  670. package/build/component/driver/prerequisite/error/invalidParameterUserError.js.map +0 -1
  671. package/build/component/driver/prerequisite/installDriver.d.ts.map +0 -1
  672. package/build/component/driver/prerequisite/installDriver.js.map +0 -1
  673. package/build/component/driver/prerequisite/interfaces/InstallToolArgs.d.ts.map +0 -1
  674. package/build/component/driver/prerequisite/interfaces/InstallToolArgs.js.map +0 -1
  675. package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
  676. package/templates/fallback/bot.csharp.default.zip +0 -0
  677. package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
  678. package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
  679. package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
  680. package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
  681. package/templates/fallback/bot.csharp.workflow.zip +0 -0
  682. package/templates/fallback/bot.js.command-and-response.zip +0 -0
  683. package/templates/fallback/bot.js.default.zip +0 -0
  684. package/templates/fallback/bot.js.m365.zip +0 -0
  685. package/templates/fallback/bot.js.notification-function-base.zip +0 -0
  686. package/templates/fallback/bot.js.notification-restify.zip +0 -0
  687. package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
  688. package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
  689. package/templates/fallback/bot.js.workflow.zip +0 -0
  690. package/templates/fallback/bot.ts.command-and-response.zip +0 -0
  691. package/templates/fallback/bot.ts.default.zip +0 -0
  692. package/templates/fallback/bot.ts.m365.zip +0 -0
  693. package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
  694. package/templates/fallback/bot.ts.notification-restify.zip +0 -0
  695. package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
  696. package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
  697. package/templates/fallback/bot.ts.workflow.zip +0 -0
  698. package/templates/fallback/function-base.js.default.zip +0 -0
  699. package/templates/fallback/function-base.ts.default.zip +0 -0
  700. package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
  701. package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
  702. package/templates/fallback/tab.csharp.default.zip +0 -0
  703. package/templates/fallback/tab.csharp.non-sso.zip +0 -0
  704. package/templates/fallback/tab.js.dashboard.zip +0 -0
  705. package/templates/fallback/tab.js.default.zip +0 -0
  706. package/templates/fallback/tab.js.m365.zip +0 -0
  707. package/templates/fallback/tab.js.non-sso.zip +0 -0
  708. package/templates/fallback/tab.ts.dashboard.zip +0 -0
  709. package/templates/fallback/tab.ts.default.zip +0 -0
  710. package/templates/fallback/tab.ts.m365.zip +0 -0
  711. package/templates/fallback/tab.ts.non-sso.zip +0 -0
  712. /package/build/component/driver/{prerequisite → devTool}/constant.d.ts +0 -0
  713. /package/build/component/driver/{prerequisite → devTool}/constant.js +0 -0
  714. /package/build/component/driver/{prerequisite → devTool}/error/dotnetInstallationUserError.d.ts +0 -0
  715. /package/build/component/driver/{prerequisite → devTool}/error/dotnetInstallationUserError.js +0 -0
  716. /package/build/component/driver/{prerequisite → devTool}/error/funcInstallationUserError.d.ts +0 -0
  717. /package/build/component/driver/{prerequisite → devTool}/error/funcInstallationUserError.js +0 -0
  718. /package/build/component/driver/{prerequisite → devTool}/interfaces/InstallToolArgs.js +0 -0
@@ -1,34 +1,38 @@
1
+ # yaml-language-server: $schema=https://aka.ms/teams-toolkit/1.0.0/yaml.schema.json
2
+ # Visit https://aka.ms/teamsfx-v5.0-guide for details on this file
3
+ # Visit https://aka.ms/teamsfx-actions for details on actions
1
4
  version: 1.0.0
2
5
 
3
- registerApp:
6
+ provision:
4
7
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
5
- - uses: aadApp/create # Creates a new AAD app to authenticate users if AAD_APP_CLIENT_ID environment variable is empty
8
+ - uses: aadApp/create # Creates a new Azure Active Directory (AAD) app to authenticate users if the environment variable that stores clientId is empty
6
9
  with:
7
- name: {{aadAppName}} # Note: when you run configure/aadApp, the AAD app name will be updated based on the definition of manifest. If you don't want to change the name, ensure the name in AAD manifest is same with the name defined here.
10
+ name: {{aadAppName}} # Note: when you run aadApp/update, the AAD app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in AAD manifest is the same with the name defined here.
8
11
  generateClientSecret: true # If the value is false, the action will not generate client secret for you
9
- # Output: following environment variable will be persisted in current environment's .env file.
10
- # AAD_APP_CLIENT_ID: the client id of AAD app
11
- # AAD_APP_CLIENT_SECRET: the client secret of AAD app
12
- # AAD_APP_OBJECT_ID: the object id of AAD app
13
- # AAD_APP_TENANT_ID: the tenant id of AAD app
14
- # AAD_APP_OAUTH_AUTHORITY_HOST: the host of OAUTH authority of AAD app
15
- # AAD_APP_OAUTH_AUTHORITY: the OAUTH authority of AAD app
12
+ signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Azure AD tenant (for example, single tenant).
13
+ writeToEnvironmentFile: # Write the information of created resources into environment file for the specified environment variable(s).
14
+ clientId: AAD_APP_CLIENT_ID
15
+ clientSecret: SECRET_AAD_APP_CLIENT_SECRET # Environment variable that starts with `SECRET_` will be stored to the .env.{envName}.user environment file
16
+ objectId: AAD_APP_OBJECT_ID
17
+ tenantId: AAD_APP_TENANT_ID
18
+ authority: AAD_APP_OAUTH_AUTHORITY
19
+ authorityHost: AAD_APP_OAUTH_AUTHORITY_HOST
16
20
  {{/if}}
17
21
  - uses: teamsApp/create # Creates a Teams app
18
22
  with:
19
23
  name: {{teamsAppName}} # Teams app name
20
- # Output: following environment variable will be persisted in current environment's .env file.
21
- # TEAMS_APP_ID: the id of Teams app
22
-
24
+ writeToEnvironmentFile:
25
+ # Write the information of created resources into environment file for the specified environment variable(s).
26
+ teamsAppId: TEAMS_APP_ID
23
27
  {{#if activePlugins.fx-resource-bot}}
24
- provision:
25
28
  - uses: botAadApp/create # Creates a new AAD app for Bot Registration.
26
29
  with:
27
30
  name: {{appName}}
28
- # Output: following environment variable will be persisted in current environment's .env file.
29
- # BOT_ID: the AAD app client id created for Bot Registration.
30
- # SECRET_BOT_PASSWORD: the AAD app client secret created for Bot Registration.
31
- - uses: botFramework/create # Create or update the bot registration on dev.botframework.com
31
+ writeToEnvironmentFile:
32
+ botId: BOT_ID
33
+ botPassword: SECRET_BOT_PASSWORD
34
+ # Create or update the bot registration on dev.botframework.com
35
+ - uses: botFramework/create
32
36
  with:
33
37
  botId: $\{{BOT_ID}}
34
38
  name: {{appName}}
@@ -48,21 +52,13 @@ provision:
48
52
  OAuthAuthority: $\{{AAD_APP_OAUTH_AUTHORITY}}
49
53
  {{/if}}
50
54
  {{/if}}
51
-
52
- configureApp:
53
55
  {{#if activePlugins.fx-resource-frontend-hosting}}
54
56
  - uses: script # Set env for local launch
55
- name: Set {{placeholderMappings.tabDomain}} for local launch
56
- with:
57
- run: echo "::set-output {{placeholderMappings.tabDomain}}=localhost:44302"
58
- - uses: script # Set env for local launch
59
- name: Set {{placeholderMappings.tabEndpoint}} for local launch
60
- with:
61
- run: echo "::set-output {{placeholderMappings.tabEndpoint}}=https://localhost:44302"
62
- - uses: script # Set env for local launch
63
- name: Set {{placeholderMappings.tabIndexPath}} for local launch
64
57
  with:
65
- run: echo "::set-output {{placeholderMappings.tabIndexPath}}=#"
58
+ run:
59
+ echo "::set-teamsfx-env {{placeholderMappings.tabDomain}}=localhost:44302";
60
+ echo "::set-teamsfx-env {{placeholderMappings.tabEndpoint}}=https://localhost:44302";
61
+ echo "::set-teamsfx-env {{placeholderMappings.tabIndexPath}}=#";
66
62
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
67
63
  - uses: file/createOrUpdateJsonFile
68
64
  with:
@@ -79,15 +75,13 @@ configureApp:
79
75
  - uses: script # Set env for local launch
80
76
  name: Set {{placeholderMappings.botDomain}} for local launch
81
77
  with:
82
- run: echo "::set-output {{placeholderMappings.botDomain}}=$\{{BOT_DOMAIN}}"
78
+ run: echo "::set-teamsfx-env {{placeholderMappings.botDomain}}=$\{{BOT_DOMAIN}}"
83
79
  {{/if}}
84
80
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
85
81
  - uses: aadApp/update # Apply the AAD manifest to an existing AAD app. Will use the object id in manifest file to determine which AAD app to update.
86
82
  with:
87
83
  manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to AAD app
88
84
  outputFilePath : ./build/aad.manifest.$\{{TEAMSFX_ENV}}.json
89
- # Output: following environment variable will be persisted in current environment's .env file.
90
- # AAD_APP_ACCESS_AS_USER_PERMISSION_ID: the id of access_as_user permission which is used to enable SSO
91
85
  {{/if}}
92
86
  - uses: teamsApp/validateManifest # Validate using manifest schema
93
87
  with:
@@ -99,6 +93,4 @@ configureApp:
99
93
  outputJsonPath: ./build/appPackage/manifest.$\{{TEAMSFX_ENV}}.json
100
94
  - uses: teamsApp/update # Apply the Teams app manifest to an existing Teams app in Teams Developer Portal. Will use the app id in manifest file to determine which Teams app to update.
101
95
  with:
102
- appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip # Relative path to this file. This is the path for built zip file.
103
- # Output: following environment variable will be persisted in current environment's .env file.
104
- # TEAMS_APP_ID: the id of Teams app
96
+ appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip # Relative path to this file. This is the path for built zip file.
@@ -1,3 +1,6 @@
1
+ # yaml-language-server: $schema=https://aka.ms/teams-toolkit/1.0.0/yaml.schema.json
2
+ # Visit https://aka.ms/teamsfx-v5.0-guide for details on this file
3
+ # Visit https://aka.ms/teamsfx-actions for details on actions
1
4
  version: 1.0.0
2
5
 
3
6
  projectId: {{projectId}}
@@ -6,30 +9,32 @@ environmentFolderPath: ./ {{~environmentFolder}}
6
9
 
7
10
  provision:
8
11
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
9
- - uses: aadApp/create # Creates a new AAD app to authenticate users if AAD_APP_CLIENT_ID environment variable is empty
12
+ - uses: aadApp/create # Creates a new Azure Active Directory (AAD) app to authenticate users if the environment variable that stores clientId is empty
10
13
  with:
11
- name: {{aadAppName}} # Note: when you run configure/aadApp, the AAD app name will be updated based on the definition of manifest. If you don't want to change the name, ensure the name in AAD manifest is same with the name defined here.
14
+ name: {{aadAppName}} # Note: when you run aadApp/update, the AAD app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in AAD manifest is the same with the name defined here.
12
15
  generateClientSecret: true # If the value is false, the action will not generate client secret for you
13
- # Output: following environment variable will be persisted in current environment's .env file.
14
- # AAD_APP_CLIENT_ID: the client id of AAD app
15
- # AAD_APP_CLIENT_SECRET: the client secret of AAD app
16
- # AAD_APP_OBJECT_ID: the object id of AAD app
17
- # AAD_APP_TENANT_ID: the tenant id of AAD app
18
- # AAD_APP_OAUTH_AUTHORITY_HOST: the host of OAUTH authority of AAD app
19
- # AAD_APP_OAUTH_AUTHORITY: the OAUTH authority of AAD app
16
+ signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Azure AD tenant (for example, single tenant).
17
+ writeToEnvironmentFile: # Write the information of created resources into environment file for the specified environment variable(s).
18
+ clientId: AAD_APP_CLIENT_ID
19
+ clientSecret: SECRET_AAD_APP_CLIENT_SECRET # Environment variable that starts with `SECRET_` will be stored to the .env.{envName}.user environment file
20
+ objectId: AAD_APP_OBJECT_ID
21
+ tenantId: AAD_APP_TENANT_ID
22
+ authority: AAD_APP_OAUTH_AUTHORITY
23
+ authorityHost: AAD_APP_OAUTH_AUTHORITY_HOST
20
24
  {{/if}}
21
25
  - uses: teamsApp/create # Creates a Teams app
22
26
  with:
23
27
  name: {{teamsAppName}} # Teams app name
24
- # Output: following environment variable will be persisted in current environment's .env file.
25
- # TEAMS_APP_ID: the id of Teams app
28
+ writeToEnvironmentFile:
29
+ # Write the information of created resources into environment file for the specified environment variable(s).
30
+ teamsAppId: TEAMS_APP_ID
26
31
  {{#if activePlugins.fx-resource-bot}}
27
32
  - uses: botAadApp/create # Creates a new AAD app for Bot Registration.
28
33
  with:
29
34
  name: {{appName}}bt$\{{RESOURCE_SUFFIX}}
30
- # Output: following environment variable will be persisted in current environment's .env file.
31
- # BOT_ID: the AAD app client id created for Bot Registration.
32
- # SECRET_BOT_PASSWORD: the AAD app client secret created for Bot Registration.
35
+ writeToEnvironmentFile:
36
+ botId: BOT_ID
37
+ botPassword: SECRET_BOT_PASSWORD
33
38
  {{/if}}
34
39
  - uses: arm/deploy # Deploy given ARM templates parallelly.
35
40
  with:
@@ -40,19 +45,16 @@ provision:
40
45
  parameters: ./Templates/azure/azure.parameters.$\{{TEAMSFX_ENV}}.json # Relative path to this file. Placeholders will be replaced with corresponding environment variable before ARM deployment.
41
46
  deploymentName: teams_toolkit_deployment # Required when deploy ARM template
42
47
  bicepCliVersion: v0.4.613 # Teams Toolkit will download this bicep CLI version from github for you, will use bicep CLI in PATH if you remove this config.
43
- # Output: every bicep output will be persisted in current environment's .env file with certain naming conversion. Refer https://aka.ms/teamsfx-actions/arm-deploy for more details on the naming conversion rule.
44
48
  {{#if activePlugins.fx-resource-frontend-hosting}}
45
49
  - uses: script # Add additional item to .env file
46
50
  with:
47
- run: echo "::set-output {{placeholderMappings.[state.fx-resource-frontend-hosting.indexPath]}}=/" # Used in appPackage/manifest.json file.
51
+ run: echo "::set-teamsfx-env {{placeholderMappings.[state.fx-resource-frontend-hosting.indexPath]}}=/" # Used in appPackage/manifest.json file.
48
52
  {{/if}}
49
53
  {{#if activePlugins.fx-resource-aad-app-for-teams}}
50
54
  - uses: aadApp/update # Apply the AAD manifest to an existing AAD app. Will use the object id in manifest file to determine which AAD app to update.
51
55
  with:
52
56
  manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to AAD app
53
57
  outputFilePath : ./build/aad.manifest.$\{{TEAMSFX_ENV}}.json
54
- # Output: following environment variable will be persisted in current environment's .env file.
55
- # AAD_APP_ACCESS_AS_USER_PERMISSION_ID: the id of access_as_user permission which is used to enable SSO
56
58
  {{/if}}
57
59
  - uses: teamsApp/validateManifest # Validate using manifest schema
58
60
  with:
@@ -65,8 +67,6 @@ provision:
65
67
  - uses: teamsApp/update # Apply the Teams app manifest to an existing Teams app in Teams Developer Portal. Will use the app id in manifest file to determine which Teams app to update.
66
68
  with:
67
69
  appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip # Relative path to this file. This is the path for built zip file.
68
- # Output: following environment variable will be persisted in current environment's .env file.
69
- # TEAMS_APP_ID: the id of Teams app
70
70
 
71
71
  deploy:
72
72
  - uses: cli/runDotnetCommand
@@ -74,25 +74,40 @@ deploy:
74
74
  args: publish --configuration Release --runtime win-x86 --self-contained
75
75
  {{#if activePlugins.fx-resource-bot}}
76
76
  {{#if isFunctionBot}}
77
- - uses: azureFunctions/deploy
77
+ # Deploy your application to Azure Functions using the zip deploy feature.
78
+ # For additional details, see at https://aka.ms/zip-deploy-to-azure-functions
79
+ - uses: azureFunctions/zipDeploy
78
80
  with:
79
81
  # deploy base folder
80
- distributionPath: ./bin/Release/net6.0/win-x86/publish
81
- # The resource id of the cloud resource to be deployed to. This key will be generated by arm/deploy action automatically. You can replace it with your existing Azure Resource id or add it to your environment variable file.
82
+ artifactFolder: bin/Release/net6.0/win-x86/publish
83
+ # The resource id of the cloud resource to be deployed to.
84
+ # This key will be generated by arm/deploy action automatically.
85
+ # You can replace it with your existing Azure Resource id
86
+ # or add it to your environment variable file.
82
87
  resourceId: $\{{ {{~placeholderMappings.[state.fx-resource-bot.functionAppResourceId]~}} }}
83
88
  {{else}}
84
- - uses: azureAppService/deploy
89
+ # Deploy your application to Azure App Service using the zip deploy feature.
90
+ # For additional details, refer to https://aka.ms/zip-deploy-to-app-services.
91
+ - uses: azureAppService/zipDeploy
85
92
  with:
86
93
  # deploy base folder
87
- distributionPath: ./bin/Release/net6.0/win-x86/publish
88
- # The resource id of the cloud resource to be deployed to. This key will be generated by arm/deploy action automatically. You can replace it with your existing Azure Resource id or add it to your environment variable file.
94
+ artifactFolder: bin/Release/net6.0/win-x86/publish
95
+ # The resource id of the cloud resource to be deployed to.
96
+ # This key will be generated by arm/deploy action automatically.
97
+ # You can replace it with your existing Azure Resource id
98
+ # or add it to your environment variable file.
89
99
  resourceId: $\{{ {{~placeholderMappings.[state.fx-resource-bot.resourceId]~}} }}
90
100
  {{/if}}
91
101
  {{else if activePlugins.fx-resource-frontend-hosting}}
92
- - uses: azureAppService/deploy
102
+ # Deploy your application to Azure App Service using the zip deploy feature.
103
+ # For additional details, refer to https://aka.ms/zip-deploy-to-app-services.
104
+ - uses: azureAppService/zipDeploy
93
105
  with:
94
106
  # deploy base folder
95
- distributionPath: ./bin/Release/net6.0/win-x86/publish
96
- # The resource id of the cloud resource to be deployed to. This key will be generated by arm/deploy action automatically. You can replace it with your existing Azure Resource id or add it to your environment variable file.
107
+ artifactFolder: bin/Release/net6.0/win-x86/publish
108
+ # The resource id of the cloud resource to be deployed to.
109
+ # This key will be generated by arm/deploy action automatically.
110
+ # You can replace it with your existing Azure Resource id
111
+ # or add it to your environment variable file.
97
112
  resourceId: $\{{ {{~placeholderMappings.[state.fx-resource-frontend-hosting.resourceId]~}} }}
98
113
  {{/if}}
@@ -1,28 +1,33 @@
1
+ # yaml-language-server: $schema=https://aka.ms/teams-toolkit/1.0.0/yaml.schema.json
2
+ # Visit https://aka.ms/teamsfx-v5.0-guide for details on this file
3
+ # Visit https://aka.ms/teamsfx-actions for details on actions
1
4
  version: 1.0.0
2
5
 
3
6
  {{#config.provision}}
4
7
  provision:
5
8
  {{#registerApp}}
6
9
  {{#if aad}}
7
- - uses: aadApp/create # Creates a new AAD app to authenticate users if AAD_APP_CLIENT_ID environment variable is empty
10
+ - uses: aadApp/create # Creates a new Azure Active Directory (AAD) app to authenticate users if the environment variable that stores clientId is empty
8
11
  with:
9
- name: $\{{CONFIG__MANIFEST__APPNAME__SHORT}}-aad # Note: when you run configure/aadApp, the AAD app name will be updated based on the definition of manifest. If you don't want to change the name, ensure the name in AAD manifest is same with the name defined here.
12
+ name: $\{{CONFIG__MANIFEST__APPNAME__SHORT}}-aad # Note: when you run aadApp/update, the AAD app name will be updated based on the definition in manifest. If you don't want to change the name, make sure the name in AAD manifest is the same with the name defined here.
10
13
  generateClientSecret: true # If the value is false, the action will not generate client secret for you
11
- # Output: following environment variable will be persisted in current environment's .env file.
12
- # AAD_APP_CLIENT_ID: the client id of AAD app
13
- # AAD_APP_CLIENT_SECRET: the client secret of AAD app
14
- # AAD_APP_OBJECT_ID: the object id of AAD app
15
- # AAD_APP_TENANT_ID: the tenant id of AAD app
16
- # AAD_APP_OAUTH_AUTHORITY_HOST: the host of OAUTH authority of AAD app
17
- # AAD_APP_OAUTH_AUTHORITY: the OAUTH authority of AAD app
14
+ signInAudience: "AzureADMyOrg" # Authenticate users with a Microsoft work or school account in your organization's Azure AD tenant (for example, single tenant).
15
+ writeToEnvironmentFile: # Write the information of created resources into environment file for the specified environment variable(s).
16
+ clientId: AAD_APP_CLIENT_ID
17
+ clientSecret: SECRET_AAD_APP_CLIENT_SECRET # Environment variable that starts with `SECRET_` will be stored to the .env.{envName}.user environment file
18
+ objectId: AAD_APP_OBJECT_ID
19
+ tenantId: AAD_APP_TENANT_ID
20
+ authority: AAD_APP_OAUTH_AUTHORITY
21
+ authorityHost: AAD_APP_OAUTH_AUTHORITY_HOST
18
22
 
19
23
  {{/if}}
20
24
  {{#if teamsApp}}
21
25
  - uses: teamsApp/create # Creates a Teams app
22
26
  with:
23
27
  name: $\{{CONFIG__MANIFEST__APPNAME__SHORT}} # Teams app name
24
- # Output: following environment variable will be persisted in current environment's .env file.
25
- # TEAMS_APP_ID: the id of Teams app
28
+ writeToEnvironmentFile:
29
+ # Write the information of created resources into environment file for the specified environment variable(s).
30
+ teamsAppId: TEAMS_APP_ID
26
31
  {{/if}}
27
32
 
28
33
  {{/registerApp}}
@@ -30,11 +35,12 @@ provision:
30
35
  - uses: botAadApp/create # Creates a new AAD app for bot if BOT_ID environment variable is empty
31
36
  with:
32
37
  name: $\{{CONFIG__MANIFEST__APPNAME__SHORT}}-bot
33
- # Output: following environment variable will be persisted in current environment's .env file.
34
- # BOT_ID: the AAD app client id created for bot
35
- # SECRET_BOT_PASSWORD: the AAD app client secret created for bot
38
+ writeToEnvironmentFile:
39
+ botId: BOT_ID
40
+ botPassword: SECRET_BOT_PASSWORD
36
41
 
37
- - uses: botFramework/create # Create or update the bot registration on dev.botframework.com
42
+ # Create or update the bot registration on dev.botframework.com
43
+ - uses: botFramework/create
38
44
  with:
39
45
  botId: $\{{BOT_ID}}
40
46
  name: $\{{CONFIG__MANIFEST__APPNAME__SHORT}}-bot
@@ -50,17 +56,11 @@ provision:
50
56
  {{#configureApp}}
51
57
  {{#tab}}
52
58
  - uses: script # Set env for local launch
53
- name: Set {{../../../placeholderMappings.tabDomain}} for local launch
54
59
  with:
55
- run: echo "::set-output {{../../../placeholderMappings.tabDomain}}={{domain}}"
56
- - uses: script # Set env for local launch
57
- name: Set {{../../../placeholderMappings.tabEndpoint}} for local launch
58
- with:
59
- run: echo "::set-output {{../../../placeholderMappings.tabEndpoint}}={{endpoint}}"
60
- - uses: script # Set env for local launch
61
- name: Set {{../../../placeholderMappings.tabIndexPath}} for local launch
62
- with:
63
- run: echo "::set-output {{../../../placeholderMappings.tabIndexPath}}=/index.html#"
60
+ run:
61
+ echo "::set-teamsfx-env {{../../../placeholderMappings.tabDomain}}={{domain}}";
62
+ echo "::set-teamsfx-env {{../../../placeholderMappings.tabEndpoint}}={{endpoint}}";
63
+ echo "::set-teamsfx-env {{../../../placeholderMappings.tabIndexPath}}=/index.html#";
64
64
 
65
65
  {{/tab}}
66
66
  {{#if aad}}
@@ -68,8 +68,6 @@ provision:
68
68
  with:
69
69
  manifestPath: ./aad.manifest.json # Relative path to this file. Environment variables in manifest will be replaced before apply to AAD app
70
70
  outputFilePath : ./build/aad.manifest.$\{{TEAMSFX_ENV}}.json
71
- # Output: following environment variable will be persisted in current environment's .env file.
72
- # AAD_APP_ACCESS_AS_USER_PERMISSION_ID: the id of access_as_user permission which is used to enable SSO
73
71
 
74
72
  {{/if}}
75
73
  {{#teamsApp}}
@@ -77,8 +75,6 @@ provision:
77
75
  - uses: teamsApp/update # # Apply the Teams app manifest to an existing Teams app. Will use the app id in manifest file to determine which Teams app to update.
78
76
  with:
79
77
  appPackagePath: {{appPackagePath}} # Relative path to this file. This is the path for built zip file.
80
- # Output: following environment variable will be persisted in current environment's .env file.
81
- # TEAMS_APP_ID: the id of Teams app
82
78
  {{else}}
83
79
  - uses: teamsApp/validateManifest # Validate using manifest schema
84
80
  with:
@@ -93,18 +89,20 @@ provision:
93
89
  - uses: teamsApp/update # Apply the Teams app manifest to an existing Teams app in Teams Developer Portal. Will use the app id in manifest file to determine which Teams app to update.
94
90
  with:
95
91
  appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip # Relative path to this file. This is the path for built zip file.
96
- # Output: following environment variable will be persisted in current environment's .env file.
97
- # TEAMS_APP_ID: the id of Teams app
98
92
  {{/if}}
99
93
 
100
94
  {{/teamsApp}}
101
95
  {{#if isM365}}
102
- - uses: m365Title/acquire # Upload your app to Outlook and the Microsoft 365 app
96
+ # Extend your Teams app to Outlook and the Microsoft 365 app
97
+ - uses: teamsApp/extendToM365
103
98
  with:
104
- appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip # Relative path to the built app package.
105
- # Output: following environment variable will be persisted in current environment's .env file.
106
- # M365_TITLE_ID: the id of M365 title
107
- # M365_APP_ID: the app id of M365 title
99
+ # Relative path to the build app package.
100
+ appPackagePath: ./build/appPackage/appPackage.$\{{TEAMSFX_ENV}}.zip
101
+ # Write the information of created resources into environment file for
102
+ # the specified environment variable(s).
103
+ writeToEnvironmentFile:
104
+ titleId: M365_TITLE_ID
105
+ appId: M365_APP_ID
108
106
 
109
107
  {{/if}}
110
108
  {{/configureApp}}
@@ -112,23 +110,34 @@ provision:
112
110
  {{#config.deploy}}
113
111
  deploy:
114
112
  {{#tools}}
115
- - uses: prerequisite/install # Install dependencies
113
+ # Install development tool(s)
114
+ - uses: devTool/install
116
115
  with:
117
116
  {{#devCert}}
118
117
  devCert:
119
118
  trust: {{trust}}
120
119
  {{/devCert}}
121
120
  {{#func}}
122
- func: true
121
+ func:
122
+ version: {{version}}
123
+ symlinkDir: {{symlinkDir}}
123
124
  {{/func}}
124
125
  {{#dotnet}}
125
126
  dotnet: true
126
127
  {{/dotnet}}
127
- {{#if devCert}}
128
- # Output: following environment variable will be persisted in current environment's .env file.
129
- # SSL_CRT_FILE: certificate file
130
- # SSL_KEY_FILE: certificate key
131
- {{/if}}
128
+ # Write the information of installed development tool(s) into environment
129
+ # file for the specified environment variable(s).
130
+ writeToEnvironmentFile:
131
+ {{#devCert}}
132
+ sslCertFile: SSL_CRT_FILE
133
+ sslKeyFile: SSL_KEY_FILE
134
+ {{/devCert}}
135
+ {{#func}}
136
+ funcPath: FUNC_PATH
137
+ {{/func}}
138
+ {{#dotnet}}
139
+ dotnetPath: DOTNET_PATH
140
+ {{/dotnet}}
132
141
 
133
142
  {{/tools}}
134
143
  {{#dotnetCommand}}
@@ -142,7 +151,8 @@ deploy:
142
151
 
143
152
  {{/dotnetCommand}}
144
153
  {{#tab}}
145
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
154
+ # Generate runtime environment variables
155
+ - uses: file/createOrUpdateEnvironmentFile
146
156
  with:
147
157
  target: ./tabs/.env.teamsfx.local
148
158
  envs:
@@ -154,7 +164,8 @@ deploy:
154
164
 
155
165
  {{/tab}}
156
166
  {{#if bot}}
157
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
167
+ # Generate runtime environment variables
168
+ - uses: file/createOrUpdateEnvironmentFile
158
169
  with:
159
170
  target: ./bot/.env.teamsfx.local
160
171
  envs:
@@ -163,7 +174,8 @@ deploy:
163
174
 
164
175
  {{/if}}
165
176
  {{#ssoTab}}
166
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
177
+ # Generate runtime environment variables
178
+ - uses: file/createOrUpdateEnvironmentFile
167
179
  with:
168
180
  target: ./tabs/.env.teamsfx.local
169
181
  envs:
@@ -176,7 +188,8 @@ deploy:
176
188
 
177
189
  {{/ssoTab}}
178
190
  {{#if ssoBot}}
179
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
191
+ # Generate runtime environment variables
192
+ - uses: file/createOrUpdateEnvironmentFile
180
193
  with:
181
194
  target: ./bot/.env.teamsfx.local
182
195
  envs:
@@ -196,7 +209,8 @@ deploy:
196
209
 
197
210
  {{/if}}
198
211
  {{#if ssoFunction}}
199
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
212
+ # Generate runtime environment variables
213
+ - uses: file/createOrUpdateEnvironmentFile
200
214
  with:
201
215
  target: ./api/.env.teamsfx.local
202
216
  envs:
@@ -208,7 +222,8 @@ deploy:
208
222
 
209
223
  {{/if}}
210
224
  {{#npmCommands}}
211
- - uses: cli/runNpmCommand # Run npm command
225
+ # Run npm command
226
+ - uses: cli/runNpmCommand
212
227
  with:
213
228
  args: {{args}}
214
229
  {{#if workingDirectory}}
@@ -217,9 +232,10 @@ deploy:
217
232
 
218
233
  {{/npmCommands}}
219
234
  {{#frontendStart}}
220
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
235
+ # Generate runtime environment variables
236
+ - uses: file/createOrUpdateEnvironmentFile
221
237
  with:
222
- target: ./tabs/.localSettings
238
+ target: ./tabs/.localConfigs
223
239
  envs:
224
240
  BROWSER: none
225
241
  HTTPS: true
@@ -238,7 +254,8 @@ deploy:
238
254
 
239
255
  {{/frontendStart}}
240
256
  {{#authStart}}
241
- - uses: file/createOrUpdateJsonFile # Generate runtime environment variables
257
+ # Generate runtime appsettings to JSON file
258
+ - uses: file/createOrUpdateJsonFile
242
259
  with:
243
260
  target: {{appsettingsPath}}
244
261
  appsettings:
@@ -253,9 +270,10 @@ deploy:
253
270
 
254
271
  {{/authStart}}
255
272
  {{#botStart}}
256
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
273
+ # Generate runtime environment variables
274
+ - uses: file/createOrUpdateEnvironmentFile
257
275
  with:
258
- target: ./bot/.localSettings
276
+ target: ./bot/.localConfigs
259
277
  envs:
260
278
  BOT_ID: $\{{BOT_ID}}
261
279
  BOT_PASSWORD: $\{{SECRET_BOT_PASSWORD}}
@@ -277,9 +295,10 @@ deploy:
277
295
 
278
296
  {{/botStart}}
279
297
  {{#if backendStart}}
280
- - uses: file/createOrUpdateEnvironmentFile # Generate runtime environment variables
298
+ # Generate runtime environment variables
299
+ - uses: file/createOrUpdateEnvironmentFile
281
300
  with:
282
- target: ./api/.localSettings
301
+ target: ./api/.localConfigs
283
302
  envs:
284
303
  FUNCTIONS_WORKER_RUNTIME: node
285
304
  M365_CLIENT_ID: $\{{AAD_APP_CLIENT_ID}}