@microsoft/teamsfx-core 1.2.1 → 1.2.2-alpha.01a113d2.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 (642) hide show
  1. package/build/common/armInterface.d.ts +0 -20
  2. package/build/common/armInterface.d.ts.map +1 -1
  3. package/build/common/deps-checker/constant/message.d.ts +0 -1
  4. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  5. package/build/common/deps-checker/constant/message.js +0 -4
  6. package/build/common/deps-checker/constant/message.js.map +1 -1
  7. package/build/common/deps-checker/depsChecker.d.ts +1 -0
  8. package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
  9. package/build/common/deps-checker/depsChecker.js.map +1 -1
  10. package/build/common/deps-checker/depsManager.d.ts +2 -1
  11. package/build/common/deps-checker/depsManager.d.ts.map +1 -1
  12. package/build/common/deps-checker/depsManager.js +12 -7
  13. package/build/common/deps-checker/depsManager.js.map +1 -1
  14. package/build/common/deps-checker/index.d.ts +1 -0
  15. package/build/common/deps-checker/index.d.ts.map +1 -1
  16. package/build/common/deps-checker/index.js +1 -0
  17. package/build/common/deps-checker/index.js.map +1 -1
  18. package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
  19. package/build/common/deps-checker/internal/dotnetChecker.js +2 -1
  20. package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
  21. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  22. package/build/common/deps-checker/internal/funcToolChecker.js +2 -1
  23. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  24. package/build/common/deps-checker/internal/ngrokChecker.d.ts +1 -1
  25. package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -1
  26. package/build/common/deps-checker/internal/ngrokChecker.js +2 -4
  27. package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -1
  28. package/build/common/deps-checker/internal/nodeChecker.d.ts +1 -0
  29. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  30. package/build/common/deps-checker/internal/nodeChecker.js +9 -1
  31. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  32. package/build/common/deps-checker/util/extensionInstaller.d.ts +3 -0
  33. package/build/common/deps-checker/util/extensionInstaller.d.ts.map +1 -0
  34. package/build/common/deps-checker/util/extensionInstaller.js +47 -0
  35. package/build/common/deps-checker/util/extensionInstaller.js.map +1 -0
  36. package/build/common/deps-checker/util/index.d.ts +5 -0
  37. package/build/common/deps-checker/util/index.d.ts.map +1 -0
  38. package/build/common/deps-checker/util/index.js +10 -0
  39. package/build/common/deps-checker/util/index.js.map +1 -0
  40. package/build/common/index.d.ts +1 -3
  41. package/build/common/index.d.ts.map +1 -1
  42. package/build/common/index.js +1 -3
  43. package/build/common/index.js.map +1 -1
  44. package/build/common/local/constants.d.ts +5 -0
  45. package/build/common/local/constants.d.ts.map +1 -1
  46. package/build/common/local/constants.js +7 -1
  47. package/build/common/local/constants.js.map +1 -1
  48. package/build/common/local/index.d.ts +6 -0
  49. package/build/common/local/index.d.ts.map +1 -0
  50. package/build/common/local/index.js +11 -0
  51. package/build/common/local/index.js.map +1 -0
  52. package/build/{plugins/solution/fx-solution/debug/util/certificate.d.ts → common/local/localCertificateManager.d.ts} +4 -6
  53. package/build/common/local/localCertificateManager.d.ts.map +1 -0
  54. package/build/{plugins/solution/fx-solution/debug/util/certificate.js → common/local/localCertificateManager.js} +37 -47
  55. package/build/common/local/localCertificateManager.js.map +1 -0
  56. package/build/common/local/localEnvManager.d.ts +6 -2
  57. package/build/common/local/localEnvManager.d.ts.map +1 -1
  58. package/build/common/local/localEnvManager.js +41 -1
  59. package/build/common/local/localEnvManager.js.map +1 -1
  60. package/build/common/local/packageJsonHelper.d.ts +1 -0
  61. package/build/common/local/packageJsonHelper.d.ts.map +1 -1
  62. package/build/common/local/packageJsonHelper.js +29 -1
  63. package/build/common/local/packageJsonHelper.js.map +1 -1
  64. package/build/common/local/portChecker.d.ts.map +1 -1
  65. package/build/common/local/portChecker.js +18 -48
  66. package/build/common/local/portChecker.js.map +1 -1
  67. package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.d.ts +0 -0
  68. package/build/common/local/process.d.ts.map +1 -0
  69. package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.js +0 -0
  70. package/build/common/local/process.js.map +1 -0
  71. package/build/common/local/projectSettingsHelper.d.ts +5 -5
  72. package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
  73. package/build/common/local/projectSettingsHelper.js +28 -21
  74. package/build/common/local/projectSettingsHelper.js.map +1 -1
  75. package/build/common/local/taskDefinition.d.ts +1 -1
  76. package/build/common/local/taskDefinition.d.ts.map +1 -1
  77. package/build/common/local/taskDefinition.js +7 -5
  78. package/build/common/local/taskDefinition.js.map +1 -1
  79. package/build/common/localSettingsConstants.d.ts +1 -0
  80. package/build/common/localSettingsConstants.d.ts.map +1 -1
  81. package/build/common/localSettingsConstants.js +1 -0
  82. package/build/common/localSettingsConstants.js.map +1 -1
  83. package/build/common/localSettingsProvider.d.ts.map +1 -1
  84. package/build/common/localSettingsProvider.js +1 -0
  85. package/build/common/localSettingsProvider.js.map +1 -1
  86. package/build/common/permissionInterface.d.ts +2 -0
  87. package/build/common/permissionInterface.d.ts.map +1 -1
  88. package/build/common/permissionInterface.js +2 -0
  89. package/build/common/permissionInterface.js.map +1 -1
  90. package/build/common/samples-config.json +24 -12
  91. package/build/common/samples.d.ts +1 -0
  92. package/build/common/samples.d.ts.map +1 -1
  93. package/build/common/samples.js +1 -0
  94. package/build/common/samples.js.map +1 -1
  95. package/build/common/telemetry.d.ts +7 -2
  96. package/build/common/telemetry.d.ts.map +1 -1
  97. package/build/common/telemetry.js +10 -4
  98. package/build/common/telemetry.js.map +1 -1
  99. package/build/common/{templates.d.ts → template-utils/templates.d.ts} +0 -0
  100. package/build/common/template-utils/templates.d.ts.map +1 -0
  101. package/build/common/{templates.js → template-utils/templates.js} +1 -1
  102. package/build/common/template-utils/templates.js.map +1 -0
  103. package/build/common/{templatesActions.d.ts → template-utils/templatesActions.d.ts} +0 -0
  104. package/build/common/template-utils/templatesActions.d.ts.map +1 -0
  105. package/build/common/{templatesActions.js → template-utils/templatesActions.js} +3 -3
  106. package/build/common/template-utils/templatesActions.js.map +1 -0
  107. package/build/common/{templatesUtils.d.ts → template-utils/templatesUtils.d.ts} +0 -0
  108. package/build/common/template-utils/templatesUtils.d.ts.map +1 -0
  109. package/build/common/{templatesUtils.js → template-utils/templatesUtils.js} +1 -1
  110. package/build/common/template-utils/templatesUtils.js.map +1 -0
  111. package/build/common/templates-config.json +1 -1
  112. package/build/common/tools.d.ts +1 -4
  113. package/build/common/tools.d.ts.map +1 -1
  114. package/build/common/tools.js +41 -12
  115. package/build/common/tools.js.map +1 -1
  116. package/build/core/index.d.ts +2 -2
  117. package/build/core/index.d.ts.map +1 -1
  118. package/build/core/index.js +14 -3
  119. package/build/core/index.js.map +1 -1
  120. package/build/core/middleware/errorHandler.js +2 -1
  121. package/build/core/middleware/errorHandler.js.map +1 -1
  122. package/build/core/middleware/projectMigrator.d.ts.map +1 -1
  123. package/build/core/middleware/projectMigrator.js +1 -11
  124. package/build/core/middleware/projectMigrator.js.map +1 -1
  125. package/build/core/permissionRequest.js +2 -2
  126. package/build/core/permissionRequest.js.map +1 -1
  127. package/build/core/question.d.ts.map +1 -1
  128. package/build/core/question.js +7 -4
  129. package/build/core/question.js.map +1 -1
  130. package/build/plugins/resource/aad/aadAppClient.d.ts +2 -2
  131. package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
  132. package/build/plugins/resource/aad/aadAppClient.js +3 -4
  133. package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
  134. package/build/plugins/resource/aad/errors.d.ts.map +1 -1
  135. package/build/plugins/resource/aad/errors.js +1 -2
  136. package/build/plugins/resource/aad/errors.js.map +1 -1
  137. package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts +4 -0
  138. package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +1 -1
  139. package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
  140. package/build/plugins/resource/aad/plugin.js +33 -46
  141. package/build/plugins/resource/aad/plugin.js.map +1 -1
  142. package/build/plugins/resource/aad/utils/common.d.ts +2 -0
  143. package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
  144. package/build/plugins/resource/aad/utils/common.js +14 -14
  145. package/build/plugins/resource/aad/utils/common.js.map +1 -1
  146. package/build/plugins/resource/aad/utils/configs.d.ts +1 -0
  147. package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
  148. package/build/plugins/resource/aad/utils/configs.js +20 -38
  149. package/build/plugins/resource/aad/utils/configs.js.map +1 -1
  150. package/build/plugins/resource/aad/v2/index.d.ts +2 -2
  151. package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
  152. package/build/plugins/resource/aad/v2/index.js +2 -1
  153. package/build/plugins/resource/aad/v2/index.js.map +1 -1
  154. package/build/plugins/resource/apim/error.d.ts.map +1 -1
  155. package/build/plugins/resource/apim/error.js +1 -4
  156. package/build/plugins/resource/apim/error.js.map +1 -1
  157. package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
  158. package/build/plugins/resource/apim/managers/apimManager.js +23 -62
  159. package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
  160. package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
  161. package/build/plugins/resource/apim/managers/questionManager.js +0 -7
  162. package/build/plugins/resource/apim/managers/questionManager.js.map +1 -1
  163. package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts.map +1 -1
  164. package/build/plugins/resource/apim/questions/vscodeQuestion.js +6 -13
  165. package/build/plugins/resource/apim/questions/vscodeQuestion.js.map +1 -1
  166. package/build/plugins/resource/apim/v2/index.d.ts +2 -2
  167. package/build/plugins/resource/apim/v2/index.d.ts.map +1 -1
  168. package/build/plugins/resource/apim/v2/index.js +2 -1
  169. package/build/plugins/resource/apim/v2/index.js.map +1 -1
  170. package/build/plugins/resource/appstudio/constants.d.ts +5 -2
  171. package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
  172. package/build/plugins/resource/appstudio/constants.js +82 -11
  173. package/build/plugins/resource/appstudio/constants.js.map +1 -1
  174. package/build/plugins/resource/appstudio/index.d.ts +2 -36
  175. package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
  176. package/build/plugins/resource/appstudio/index.js +1 -31
  177. package/build/plugins/resource/appstudio/index.js.map +1 -1
  178. package/build/plugins/resource/appstudio/manifestTemplate.d.ts +1 -1
  179. package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
  180. package/build/plugins/resource/appstudio/manifestTemplate.js +18 -10
  181. package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
  182. package/build/plugins/resource/appstudio/plugin.d.ts +1 -0
  183. package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
  184. package/build/plugins/resource/appstudio/plugin.js +14 -1
  185. package/build/plugins/resource/appstudio/plugin.js.map +1 -1
  186. package/build/plugins/resource/appstudio/v2/index.d.ts +2 -2
  187. package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
  188. package/build/plugins/resource/appstudio/v2/index.js +2 -1
  189. package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
  190. package/build/plugins/resource/appstudio/v3/index.d.ts +1 -3
  191. package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
  192. package/build/plugins/resource/appstudio/v3/index.js +42 -16
  193. package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
  194. package/build/plugins/resource/bot/configs/provisionConfig.d.ts.map +1 -1
  195. package/build/plugins/resource/bot/configs/provisionConfig.js +0 -10
  196. package/build/plugins/resource/bot/configs/provisionConfig.js.map +1 -1
  197. package/build/plugins/resource/bot/dotnet/constants.d.ts +5 -0
  198. package/build/plugins/resource/bot/dotnet/constants.d.ts.map +1 -0
  199. package/build/plugins/resource/bot/dotnet/constants.js +13 -0
  200. package/build/plugins/resource/bot/dotnet/constants.js.map +1 -0
  201. package/build/plugins/resource/bot/dotnet/plugin.d.ts +14 -0
  202. package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +1 -0
  203. package/build/plugins/resource/bot/dotnet/plugin.js +62 -0
  204. package/build/plugins/resource/bot/dotnet/plugin.js.map +1 -0
  205. package/build/plugins/resource/bot/index.d.ts +5 -0
  206. package/build/plugins/resource/bot/index.d.ts.map +1 -1
  207. package/build/plugins/resource/bot/index.js +23 -13
  208. package/build/plugins/resource/bot/index.js.map +1 -1
  209. package/build/plugins/resource/bot/interface.d.ts +16 -0
  210. package/build/plugins/resource/bot/interface.d.ts.map +1 -0
  211. package/build/plugins/resource/bot/interface.js +5 -0
  212. package/build/plugins/resource/bot/interface.js.map +1 -0
  213. package/build/plugins/resource/bot/languageStrategy.d.ts +1 -1
  214. package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
  215. package/build/plugins/resource/bot/languageStrategy.js +1 -1
  216. package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
  217. package/build/plugins/resource/bot/plugin.d.ts +2 -1
  218. package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
  219. package/build/plugins/resource/bot/plugin.js +16 -135
  220. package/build/plugins/resource/bot/plugin.js.map +1 -1
  221. package/build/plugins/resource/bot/v2/index.d.ts +2 -2
  222. package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
  223. package/build/plugins/resource/bot/v2/index.js +2 -1
  224. package/build/plugins/resource/bot/v2/index.js.map +1 -1
  225. package/build/plugins/resource/frontend/configs.d.ts +1 -1
  226. package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
  227. package/build/plugins/resource/frontend/configs.js +3 -9
  228. package/build/plugins/resource/frontend/configs.js.map +1 -1
  229. package/build/plugins/resource/frontend/constants.d.ts +2 -8
  230. package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
  231. package/build/plugins/resource/frontend/constants.js +3 -11
  232. package/build/plugins/resource/frontend/constants.js.map +1 -1
  233. package/build/plugins/resource/frontend/dotnet/constants.d.ts +56 -0
  234. package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -0
  235. package/build/plugins/resource/frontend/dotnet/constants.js +73 -0
  236. package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -0
  237. package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts +1 -1
  238. package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts.map +1 -1
  239. package/build/plugins/resource/frontend/dotnet/enum.js +39 -0
  240. package/build/plugins/resource/frontend/{blazor → dotnet}/enum.js.map +1 -1
  241. package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts +0 -0
  242. package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts.map +1 -1
  243. package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js +3 -3
  244. package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js.map +1 -1
  245. package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts +0 -0
  246. package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts.map +1 -1
  247. package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js +3 -3
  248. package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js.map +1 -1
  249. package/build/plugins/resource/frontend/dotnet/plugin.d.ts +34 -0
  250. package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
  251. package/build/plugins/resource/frontend/dotnet/plugin.js +124 -0
  252. package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -0
  253. package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +35 -0
  254. package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -0
  255. package/build/plugins/resource/frontend/{blazor → dotnet}/resources/errors.js +10 -22
  256. package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -0
  257. package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.d.ts +0 -4
  258. package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -0
  259. package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.js +0 -4
  260. package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -0
  261. package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts +6 -0
  262. package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts.map +1 -0
  263. package/build/plugins/resource/frontend/dotnet/utils/azure-client.js +11 -0
  264. package/build/plugins/resource/frontend/dotnet/utils/azure-client.js.map +1 -0
  265. package/build/plugins/resource/frontend/index.d.ts +6 -3
  266. package/build/plugins/resource/frontend/index.d.ts.map +1 -1
  267. package/build/plugins/resource/frontend/index.js +27 -45
  268. package/build/plugins/resource/frontend/index.js.map +1 -1
  269. package/build/plugins/resource/frontend/interface.d.ts +13 -0
  270. package/build/plugins/resource/frontend/interface.d.ts.map +1 -0
  271. package/build/plugins/resource/frontend/interface.js +5 -0
  272. package/build/plugins/resource/frontend/interface.js.map +1 -0
  273. package/build/plugins/resource/frontend/ops/deploy.d.ts +3 -0
  274. package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
  275. package/build/plugins/resource/frontend/ops/deploy.js +43 -0
  276. package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
  277. package/build/plugins/resource/frontend/ops/scaffold.d.ts.map +1 -1
  278. package/build/plugins/resource/frontend/ops/scaffold.js +1 -1
  279. package/build/plugins/resource/frontend/ops/scaffold.js.map +1 -1
  280. package/build/plugins/resource/frontend/plugin.d.ts +3 -3
  281. package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
  282. package/build/plugins/resource/frontend/plugin.js +15 -47
  283. package/build/plugins/resource/frontend/plugin.js.map +1 -1
  284. package/build/plugins/resource/frontend/resources/errors.d.ts +23 -20
  285. package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
  286. package/build/plugins/resource/frontend/resources/errors.js +31 -67
  287. package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
  288. package/build/plugins/resource/frontend/resources/templateInfo.js +1 -1
  289. package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
  290. package/build/plugins/resource/frontend/utils/logger.d.ts +3 -1
  291. package/build/plugins/resource/frontend/utils/logger.d.ts.map +1 -1
  292. package/build/plugins/resource/frontend/utils/logger.js +9 -6
  293. package/build/plugins/resource/frontend/utils/logger.js.map +1 -1
  294. package/build/plugins/resource/frontend/utils/progress-helper.d.ts +0 -8
  295. package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
  296. package/build/plugins/resource/frontend/utils/progress-helper.js +1 -19
  297. package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
  298. package/build/plugins/resource/frontend/v2/index.d.ts +3 -2
  299. package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
  300. package/build/plugins/resource/frontend/v2/index.js +5 -1
  301. package/build/plugins/resource/frontend/v2/index.js.map +1 -1
  302. package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts +15 -0
  303. package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts.map +1 -0
  304. package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js +149 -0
  305. package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js.map +1 -0
  306. package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts +8 -0
  307. package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts.map +1 -0
  308. package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js +95 -0
  309. package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js.map +1 -0
  310. package/build/plugins/resource/frontend/v3/error.d.ts +23 -0
  311. package/build/plugins/resource/frontend/v3/error.d.ts.map +1 -0
  312. package/build/plugins/resource/frontend/v3/error.js +66 -0
  313. package/build/plugins/resource/frontend/v3/error.js.map +1 -0
  314. package/build/plugins/resource/frontend/v3/index.d.ts +3 -0
  315. package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -0
  316. package/build/plugins/resource/frontend/v3/index.js +7 -0
  317. package/build/plugins/resource/frontend/v3/index.js.map +1 -0
  318. package/build/plugins/resource/function/index.d.ts +1 -1
  319. package/build/plugins/resource/function/index.d.ts.map +1 -1
  320. package/build/plugins/resource/function/index.js +8 -21
  321. package/build/plugins/resource/function/index.js.map +1 -1
  322. package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
  323. package/build/plugins/resource/function/ops/deploy.js +8 -9
  324. package/build/plugins/resource/function/ops/deploy.js.map +1 -1
  325. package/build/plugins/resource/function/ops/scaffold.js +1 -1
  326. package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
  327. package/build/plugins/resource/function/plugin.d.ts.map +1 -1
  328. package/build/plugins/resource/function/plugin.js +35 -138
  329. package/build/plugins/resource/function/plugin.js.map +1 -1
  330. package/build/plugins/resource/function/resources/message.d.ts +0 -1
  331. package/build/plugins/resource/function/resources/message.d.ts.map +1 -1
  332. package/build/plugins/resource/function/resources/message.js +0 -1
  333. package/build/plugins/resource/function/resources/message.js.map +1 -1
  334. package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +11 -0
  335. package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -0
  336. package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +48 -0
  337. package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +1 -0
  338. package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts +6 -4
  339. package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts.map +1 -1
  340. package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js +15 -8
  341. package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js.map +1 -1
  342. package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts +4 -3
  343. package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts.map +1 -1
  344. package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js +5 -4
  345. package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js.map +1 -1
  346. package/build/plugins/resource/function/utils/telemetry-helper.d.ts +1 -1
  347. package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
  348. package/build/plugins/resource/function/v2/index.d.ts +2 -2
  349. package/build/plugins/resource/function/v2/index.d.ts.map +1 -1
  350. package/build/plugins/resource/function/v2/index.js +2 -1
  351. package/build/plugins/resource/function/v2/index.js.map +1 -1
  352. package/build/plugins/resource/identity/index.d.ts +0 -1
  353. package/build/plugins/resource/identity/index.d.ts.map +1 -1
  354. package/build/plugins/resource/identity/index.js +3 -22
  355. package/build/plugins/resource/identity/index.js.map +1 -1
  356. package/build/plugins/resource/identity/v2/index.d.ts +2 -2
  357. package/build/plugins/resource/identity/v2/index.d.ts.map +1 -1
  358. package/build/plugins/resource/identity/v2/index.js +2 -1
  359. package/build/plugins/resource/identity/v2/index.js.map +1 -1
  360. package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
  361. package/build/plugins/resource/keyvault/plugin.js +1 -2
  362. package/build/plugins/resource/keyvault/plugin.js.map +1 -1
  363. package/build/plugins/resource/keyvault/v2/index.d.ts +2 -2
  364. package/build/plugins/resource/keyvault/v2/index.d.ts.map +1 -1
  365. package/build/plugins/resource/keyvault/v2/index.js +2 -1
  366. package/build/plugins/resource/keyvault/v2/index.js.map +1 -1
  367. package/build/plugins/resource/localdebug/v2/index.d.ts +2 -2
  368. package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
  369. package/build/plugins/resource/localdebug/v2/index.js +2 -1
  370. package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
  371. package/build/plugins/resource/simpleauth/index.d.ts.map +1 -1
  372. package/build/plugins/resource/simpleauth/index.js +6 -11
  373. package/build/plugins/resource/simpleauth/index.js.map +1 -1
  374. package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
  375. package/build/plugins/resource/simpleauth/plugin.js +2 -7
  376. package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
  377. package/build/plugins/resource/simpleauth/v2/index.d.ts +2 -2
  378. package/build/plugins/resource/simpleauth/v2/index.d.ts.map +1 -1
  379. package/build/plugins/resource/simpleauth/v2/index.js +2 -1
  380. package/build/plugins/resource/simpleauth/v2/index.js.map +1 -1
  381. package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
  382. package/build/plugins/resource/spfx/plugin.js +14 -9
  383. package/build/plugins/resource/spfx/plugin.js.map +1 -1
  384. package/build/plugins/resource/spfx/utils/constants.d.ts +5 -4
  385. package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
  386. package/build/plugins/resource/spfx/utils/constants.js +5 -4
  387. package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
  388. package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
  389. package/build/plugins/resource/spfx/utils/progress-helper.js +1 -1
  390. package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
  391. package/build/plugins/resource/spfx/v2/index.d.ts +2 -2
  392. package/build/plugins/resource/spfx/v2/index.d.ts.map +1 -1
  393. package/build/plugins/resource/spfx/v2/index.js +2 -1
  394. package/build/plugins/resource/spfx/v2/index.js.map +1 -1
  395. package/build/plugins/resource/sql/config.d.ts +1 -0
  396. package/build/plugins/resource/sql/config.d.ts.map +1 -1
  397. package/build/plugins/resource/sql/config.js +1 -0
  398. package/build/plugins/resource/sql/config.js.map +1 -1
  399. package/build/plugins/resource/sql/constants.d.ts +3 -0
  400. package/build/plugins/resource/sql/constants.d.ts.map +1 -1
  401. package/build/plugins/resource/sql/constants.js +3 -0
  402. package/build/plugins/resource/sql/constants.js.map +1 -1
  403. package/build/plugins/resource/sql/errors.d.ts +1 -1
  404. package/build/plugins/resource/sql/errors.d.ts.map +1 -1
  405. package/build/plugins/resource/sql/errors.js +1 -1
  406. package/build/plugins/resource/sql/errors.js.map +1 -1
  407. package/build/plugins/resource/sql/index.d.ts.map +1 -1
  408. package/build/plugins/resource/sql/index.js +11 -11
  409. package/build/plugins/resource/sql/index.js.map +1 -1
  410. package/build/plugins/resource/sql/managementClient.js +14 -14
  411. package/build/plugins/resource/sql/managementClient.js.map +1 -1
  412. package/build/plugins/resource/sql/plugin.d.ts +3 -0
  413. package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
  414. package/build/plugins/resource/sql/plugin.js +76 -68
  415. package/build/plugins/resource/sql/plugin.js.map +1 -1
  416. package/build/plugins/resource/sql/sqlClient.d.ts +2 -2
  417. package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
  418. package/build/plugins/resource/sql/sqlClient.js +13 -12
  419. package/build/plugins/resource/sql/sqlClient.js.map +1 -1
  420. package/build/plugins/resource/sql/v2/index.d.ts +2 -2
  421. package/build/plugins/resource/sql/v2/index.d.ts.map +1 -1
  422. package/build/plugins/resource/sql/v2/index.js +2 -1
  423. package/build/plugins/resource/sql/v2/index.js.map +1 -1
  424. package/build/plugins/resource/utils4v2.d.ts +1 -1
  425. package/build/plugins/resource/utils4v2.d.ts.map +1 -1
  426. package/build/plugins/resource/utils4v2.js +3 -3
  427. package/build/plugins/resource/utils4v2.js.map +1 -1
  428. package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +3 -3
  429. package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
  430. package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +3 -3
  431. package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
  432. package/build/plugins/solution/fx-solution/arm.d.ts +9 -2
  433. package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
  434. package/build/plugins/solution/fx-solution/arm.js +44 -13
  435. package/build/plugins/solution/fx-solution/arm.js.map +1 -1
  436. package/build/plugins/solution/fx-solution/commonQuestions.d.ts +4 -3
  437. package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
  438. package/build/plugins/solution/fx-solution/commonQuestions.js +11 -10
  439. package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
  440. package/build/plugins/solution/fx-solution/constants.d.ts +1 -0
  441. package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
  442. package/build/plugins/solution/fx-solution/constants.js +1 -0
  443. package/build/plugins/solution/fx-solution/constants.js.map +1 -1
  444. package/build/plugins/solution/fx-solution/debug/constants.d.ts +0 -5
  445. package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -1
  446. package/build/plugins/solution/fx-solution/debug/constants.js +1 -7
  447. package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -1
  448. package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
  449. package/build/plugins/solution/fx-solution/debug/provisionLocal.js +6 -4
  450. package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
  451. package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +2 -2
  452. package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
  453. package/build/plugins/solution/fx-solution/debug/scaffolding.js +5 -3
  454. package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
  455. package/build/plugins/solution/fx-solution/question.d.ts +2 -2
  456. package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
  457. package/build/plugins/solution/fx-solution/question.js +32 -22
  458. package/build/plugins/solution/fx-solution/question.js.map +1 -1
  459. package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
  460. package/build/plugins/solution/fx-solution/solution.js +15 -15
  461. package/build/plugins/solution/fx-solution/solution.js.map +1 -1
  462. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts +31 -0
  463. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +1 -0
  464. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js +222 -0
  465. package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +1 -0
  466. package/build/plugins/solution/fx-solution/v2/adaptor.js +1 -1
  467. package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
  468. package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +1 -1
  469. package/build/plugins/solution/fx-solution/v2/checkPermission.js +1 -2
  470. package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
  471. package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
  472. package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -3
  473. package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
  474. package/build/plugins/solution/fx-solution/v2/deploy.js +1 -1
  475. package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
  476. package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +2 -2
  477. package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
  478. package/build/plugins/solution/fx-solution/v2/executeUserTask.js +196 -122
  479. package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
  480. package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +2 -2
  481. package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +1 -1
  482. package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +9 -16
  483. package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +1 -1
  484. package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
  485. package/build/plugins/solution/fx-solution/v2/getQuestions.js +84 -99
  486. package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
  487. package/build/plugins/solution/fx-solution/v2/grantPermission.js +1 -2
  488. package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
  489. package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +1 -1
  490. package/build/plugins/solution/fx-solution/v2/listCollaborator.js +6 -1
  491. package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
  492. package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
  493. package/build/plugins/solution/fx-solution/v2/provision.js +1 -1
  494. package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
  495. package/build/plugins/solution/fx-solution/v2/provisionLocal.js +1 -1
  496. package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
  497. package/build/plugins/solution/fx-solution/v2/publish.js +1 -1
  498. package/build/plugins/solution/fx-solution/v2/publish.js.map +1 -1
  499. package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
  500. package/build/plugins/solution/fx-solution/v2/scaffolding.js +16 -2
  501. package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
  502. package/build/plugins/solution/fx-solution/v2/utils.d.ts +3 -3
  503. package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
  504. package/build/plugins/solution/fx-solution/v2/utils.js +7 -5
  505. package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
  506. package/build/plugins/solution/fx-solution/v3/addModule.d.ts +2 -4
  507. package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -1
  508. package/build/plugins/solution/fx-solution/v3/addModule.js +29 -6
  509. package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -1
  510. package/build/plugins/solution/fx-solution/v3/addResource.d.ts +6 -14
  511. package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -1
  512. package/build/plugins/solution/fx-solution/v3/addResource.js +23 -51
  513. package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -1
  514. package/build/plugins/solution/fx-solution/v3/constants.d.ts +2 -0
  515. package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
  516. package/build/plugins/solution/fx-solution/v3/constants.js +2 -0
  517. package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
  518. package/build/plugins/solution/fx-solution/v3/deploy.d.ts +1 -3
  519. package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
  520. package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
  521. package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -1
  522. package/build/plugins/solution/fx-solution/v3/init.js +9 -0
  523. package/build/plugins/solution/fx-solution/v3/init.js.map +1 -1
  524. package/build/plugins/solution/fx-solution/v3/provision.d.ts +8 -1
  525. package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
  526. package/build/plugins/solution/fx-solution/v3/provision.js +219 -16
  527. package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
  528. package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -1
  529. package/build/plugins/solution/fx-solution/v3/provisionLocal.js +96 -1
  530. package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -1
  531. package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +8 -13
  532. package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -1
  533. package/build/plugins/solution/fx-solution/v3/scaffold.js +30 -52
  534. package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -1
  535. package/build/plugins/solution/spfx-solution/addModule.d.ts +2 -4
  536. package/build/plugins/solution/spfx-solution/addModule.d.ts.map +1 -1
  537. package/build/plugins/solution/spfx-solution/addModule.js +1 -1
  538. package/build/plugins/solution/spfx-solution/addModule.js.map +1 -1
  539. package/build/plugins/solution/spfx-solution/scaffold.d.ts +2 -10
  540. package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +1 -1
  541. package/build/plugins/solution/spfx-solution/scaffold.js +3 -39
  542. package/build/plugins/solution/spfx-solution/scaffold.js.map +1 -1
  543. package/build/plugins/solution/spfx-solution/solution.d.ts +12 -17
  544. package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -1
  545. package/build/plugins/solution/spfx-solution/solution.js +7 -7
  546. package/build/plugins/solution/spfx-solution/solution.js.map +1 -1
  547. package/package.json +14 -9
  548. package/resource/strings.json +23 -8
  549. package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +1 -0
  550. package/templates/plugins/resource/apim/bicep/apimProvision.bicep +7 -5
  551. package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -0
  552. package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +12 -12
  553. package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
  554. package/templates/plugins/resource/bot/bicep/config.template.bicep +2 -0
  555. package/templates/plugins/resource/botservice/bicep/botServiceProvision.template.bicep +34 -0
  556. package/templates/plugins/resource/botservice/bicep/parameters.json +4 -0
  557. package/templates/plugins/resource/botservice/bicep/provision.template.bicep +13 -0
  558. package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +4 -2
  559. package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -0
  560. package/templates/plugins/resource/function/bicep/config.template.bicep +2 -0
  561. package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +15 -15
  562. package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
  563. package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
  564. package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +9 -7
  565. package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +2 -0
  566. package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +7 -7
  567. package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
  568. package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +5 -0
  569. package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +15 -0
  570. package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +9 -5
  571. package/templates/plugins/resource/storage/bicep/azureStorageProvision.bicep +25 -0
  572. package/templates/plugins/resource/storage/bicep/provision.template.bicep +15 -0
  573. package/templates/plugins/resource/webapp/bicep/config.template.bicep +10 -0
  574. package/templates/plugins/resource/webapp/bicep/provision.template.bicep +16 -0
  575. package/templates/plugins/resource/webapp/bicep/webappConfiguration.template.bicep +74 -0
  576. package/templates/plugins/resource/webapp/bicep/webappProvision.template.bicep +48 -0
  577. package/build/common/templates.d.ts.map +0 -1
  578. package/build/common/templates.js.map +0 -1
  579. package/build/common/templatesActions.d.ts.map +0 -1
  580. package/build/common/templatesActions.js.map +0 -1
  581. package/build/common/templatesUtils.d.ts.map +0 -1
  582. package/build/common/templatesUtils.js.map +0 -1
  583. package/build/plugins/resource/frontend/blazor/constants.d.ts +0 -75
  584. package/build/plugins/resource/frontend/blazor/constants.d.ts.map +0 -1
  585. package/build/plugins/resource/frontend/blazor/constants.js +0 -98
  586. package/build/plugins/resource/frontend/blazor/constants.js.map +0 -1
  587. package/build/plugins/resource/frontend/blazor/enum.js +0 -39
  588. package/build/plugins/resource/frontend/blazor/ops/provision.d.ts +0 -8
  589. package/build/plugins/resource/frontend/blazor/ops/provision.d.ts.map +0 -1
  590. package/build/plugins/resource/frontend/blazor/ops/provision.js +0 -42
  591. package/build/plugins/resource/frontend/blazor/ops/provision.js.map +0 -1
  592. package/build/plugins/resource/frontend/blazor/plugin.d.ts +0 -35
  593. package/build/plugins/resource/frontend/blazor/plugin.d.ts.map +0 -1
  594. package/build/plugins/resource/frontend/blazor/plugin.js +0 -190
  595. package/build/plugins/resource/frontend/blazor/plugin.js.map +0 -1
  596. package/build/plugins/resource/frontend/blazor/resources/errors.d.ts +0 -41
  597. package/build/plugins/resource/frontend/blazor/resources/errors.d.ts.map +0 -1
  598. package/build/plugins/resource/frontend/blazor/resources/errors.js.map +0 -1
  599. package/build/plugins/resource/frontend/blazor/resources/messages.d.ts.map +0 -1
  600. package/build/plugins/resource/frontend/blazor/resources/messages.js.map +0 -1
  601. package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts +0 -21
  602. package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts.map +0 -1
  603. package/build/plugins/resource/frontend/blazor/utils/azure-client.js +0 -47
  604. package/build/plugins/resource/frontend/blazor/utils/azure-client.js.map +0 -1
  605. package/build/plugins/resource/frontend/utils/azure-client.d.ts +0 -12
  606. package/build/plugins/resource/frontend/utils/azure-client.d.ts.map +0 -1
  607. package/build/plugins/resource/frontend/utils/azure-client.js +0 -29
  608. package/build/plugins/resource/frontend/utils/azure-client.js.map +0 -1
  609. package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts +0 -9
  610. package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts.map +0 -1
  611. package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js +0 -55
  612. package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js.map +0 -1
  613. package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -54
  614. package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +0 -1
  615. package/build/plugins/resource/function/utils/depsChecker/checker.js +0 -104
  616. package/build/plugins/resource/function/utils/depsChecker/checker.js.map +0 -1
  617. package/build/plugins/resource/function/utils/depsChecker/common.d.ts +0 -84
  618. package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +0 -1
  619. package/build/plugins/resource/function/utils/depsChecker/common.js +0 -136
  620. package/build/plugins/resource/function/utils/depsChecker/common.js.map +0 -1
  621. package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts +0 -22
  622. package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts.map +0 -1
  623. package/build/plugins/resource/function/utils/depsChecker/cpUtils.js +0 -105
  624. package/build/plugins/resource/function/utils/depsChecker/cpUtils.js.map +0 -1
  625. package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +0 -53
  626. package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +0 -1
  627. package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +0 -387
  628. package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +0 -1
  629. package/build/plugins/resource/function/utils/depsChecker/errors.d.ts +0 -14
  630. package/build/plugins/resource/function/utils/depsChecker/errors.d.ts.map +0 -1
  631. package/build/plugins/resource/function/utils/depsChecker/errors.js +0 -41
  632. package/build/plugins/resource/function/utils/depsChecker/errors.js.map +0 -1
  633. package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -26
  634. package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +0 -1
  635. package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +0 -111
  636. package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +0 -1
  637. package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +0 -1
  638. package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +0 -1
  639. package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +0 -1
  640. package/build/plugins/solution/fx-solution/debug/util/process.js.map +0 -1
  641. package/resource/plugins/resource/function/dotnet-install.ps1 +0 -1095
  642. package/resource/plugins/resource/function/dotnet-install.sh +0 -1222
@@ -1,387 +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.DotnetChecker = exports.supportedVersions = exports.installVersion = exports.DotnetCoreSDKName = exports.DotnetVersion = void 0;
6
- const tslib_1 = require("tslib");
7
- // NOTE:
8
- // DO NOT EDIT this file in function plugin.
9
- // The source of truth of this file is in packages/vscode-extension/src/debug/depsChecker.
10
- // If you need to edit this file, please edit it in the above folder
11
- // and run the scripts (tools/depsChecker/copyfiles.sh or tools/depsChecker/copyfiles.ps1 according to your OS)
12
- // to copy you changes to function plugin.
13
- const os = tslib_1.__importStar(require("os"));
14
- const fs = tslib_1.__importStar(require("fs-extra"));
15
- const path = tslib_1.__importStar(require("path"));
16
- const child_process = tslib_1.__importStar(require("child_process"));
17
- const util = tslib_1.__importStar(require("util"));
18
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
19
- const common_1 = require("./common");
20
- const perf_hooks_1 = require("perf_hooks");
21
- const errors_1 = require("./errors");
22
- const cpUtils_1 = require("./cpUtils");
23
- const execFile = util.promisify(child_process.execFile);
24
- var DotnetVersion;
25
- (function (DotnetVersion) {
26
- DotnetVersion["v21"] = "2.1";
27
- DotnetVersion["v31"] = "3.1";
28
- DotnetVersion["v50"] = "5.0";
29
- DotnetVersion["v60"] = "6.0";
30
- })(DotnetVersion = exports.DotnetVersion || (exports.DotnetVersion = {}));
31
- exports.DotnetCoreSDKName = ".NET Core SDK";
32
- exports.installVersion = common_1.isMacOS() && common_1.isArm64() ? DotnetVersion.v60 : DotnetVersion.v31;
33
- exports.supportedVersions = [DotnetVersion.v31, DotnetVersion.v50, DotnetVersion.v60];
34
- const installedNameWithVersion = `${exports.DotnetCoreSDKName} (v${DotnetVersion.v31})`;
35
- class DotnetChecker {
36
- constructor(adapter, logger, telemetry) {
37
- this._adapter = adapter;
38
- this._logger = logger;
39
- this._telemetry = telemetry;
40
- }
41
- async getDepsInfo() {
42
- const map = new Map();
43
- const execPath = await this.getDotnetExecPathFromConfig();
44
- if (execPath) {
45
- map.set("execPath", execPath);
46
- }
47
- map.set("configPath", DotnetChecker.getDotnetConfigPath());
48
- return {
49
- name: exports.DotnetCoreSDKName,
50
- installVersion: `${exports.installVersion}`,
51
- supportedVersions: exports.supportedVersions,
52
- details: map,
53
- };
54
- }
55
- async isEnabled() {
56
- const enabled = await this._adapter.dotnetCheckerEnabled();
57
- if (!enabled) {
58
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetCheckSkipped);
59
- }
60
- return enabled;
61
- }
62
- async isInstalled() {
63
- const configPath = DotnetChecker.getDotnetConfigPath();
64
- await this._logger.debug(`[start] read dotnet path from '${configPath}'`);
65
- const dotnetPath = await this.getDotnetExecPathFromConfig();
66
- await this._logger.debug(`[end] read dotnet path from '${configPath}', dotnetPath = '${dotnetPath}'`);
67
- await this._logger.debug(`[start] check dotnet version`);
68
- if (dotnetPath !== null && (await this.isDotnetInstalledCorrectly())) {
69
- // filter out global sdk
70
- if (dotnetPath.includes(`.${teamsfx_api_1.ConfigFolderName}`)) {
71
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetInstallCompleted);
72
- }
73
- return true;
74
- }
75
- await this._logger.debug(`[end] check dotnet version`);
76
- if ((await this.tryAcquireGlobalDotnetSdk()) && (await this.validate())) {
77
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetAlreadyInstalled);
78
- await this._logger.info(`${common_1.Messages.useGlobalDotnet} '${await this.getDotnetExecPathFromConfig()}'`);
79
- return true;
80
- }
81
- return false;
82
- }
83
- async install() {
84
- await this._logger.debug(`[start] cleanup bin/dotnet and config`);
85
- await DotnetChecker.cleanup();
86
- await this._logger.debug(`[end] cleanup bin/dotnet and config`);
87
- const installDir = DotnetChecker.getDefaultInstallPath();
88
- await this._logger.debug(`[start] install dotnet ${exports.installVersion}`);
89
- await this._logger.debug(common_1.Messages.dotnetNotFound.replace("@NameVersion", installedNameWithVersion));
90
- await this._logger.info(common_1.Messages.downloadDotnet
91
- .replace("@NameVersion", installedNameWithVersion)
92
- .replace("@InstallDir", installDir));
93
- await this._adapter.runWithProgressIndicator(async () => {
94
- await this.handleInstall(exports.installVersion, installDir);
95
- });
96
- await this._logger.info(common_1.Messages.finishInstallDotnet.replace("@NameVersion", installedNameWithVersion));
97
- await this._logger.debug(`[end] install dotnet ${exports.installVersion}`);
98
- await this._logger.debug(`[start] validate dotnet version`);
99
- if (!(await this.validate())) {
100
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetInstallError);
101
- throw new errors_1.DepsCheckerError(common_1.Messages.failToInstallDotnet.split("@NameVersion").join(installedNameWithVersion), common_1.dotnetFailToInstallHelpLink);
102
- }
103
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetInstallCompleted);
104
- }
105
- async getDotnetExecPath() {
106
- const execPath = await this.getDotnetExecPathFromConfig();
107
- return execPath || "dotnet";
108
- }
109
- static escapeFilePath(path) {
110
- if (common_1.isWindows()) {
111
- // Need to escape apostrophes with two apostrophes
112
- const dotnetInstallDirEscaped = path.replace(/'/g, `''`);
113
- // Surround with single quotes instead of double quotes (see https://github.com/dotnet/cli/issues/11521)
114
- return `'${dotnetInstallDirEscaped}'`;
115
- }
116
- else {
117
- return `"${path}"`;
118
- }
119
- }
120
- static getDotnetConfigPath() {
121
- return path.join(os.homedir(), `.${teamsfx_api_1.ConfigFolderName}`, "dotnet.json");
122
- }
123
- async getDotnetExecPathFromConfig() {
124
- try {
125
- const config = await fs.readJson(DotnetChecker.getDotnetConfigPath(), {
126
- encoding: DotnetChecker.encoding,
127
- });
128
- if (typeof config.dotnetExecutablePath === "string") {
129
- return config.dotnetExecutablePath;
130
- }
131
- await this._logger.debug(`invalid dotnet config file format, config: '${JSON.stringify(config)}' `);
132
- }
133
- catch (error) {
134
- await this._logger.debug(`get dotnet path failed, error: '${error}'`);
135
- }
136
- return null;
137
- }
138
- // Do not print info level log in this method because it runs concurrently with the progress bar
139
- async handleInstall(version, installDir) {
140
- try {
141
- if (common_1.isLinux()) {
142
- await this.handleLinuxDependency();
143
- }
144
- // NOTE: we don't need to handle directory creation since dotnet-install script will handle it.
145
- await this.runDotnetInstallScript(version, installDir);
146
- await this._logger.debug(`[start] write dotnet path to config`);
147
- const dotnetExecPath = DotnetChecker.getDotnetExecPathFromDotnetInstallationDir(installDir);
148
- await DotnetChecker.persistDotnetExecPath(dotnetExecPath);
149
- await this._logger.debug(`[end] write dotnet path to config`);
150
- }
151
- catch (error) {
152
- await this._logger.error(`${common_1.Messages.failToInstallDotnet
153
- .split("@NameVersion")
154
- .join(installedNameWithVersion)}, error = '${error}'`);
155
- }
156
- }
157
- static async persistDotnetExecPath(dotnetExecPath) {
158
- const configPath = DotnetChecker.getDotnetConfigPath();
159
- await fs.ensureFile(configPath);
160
- await fs.writeJson(configPath, { dotnetExecutablePath: dotnetExecPath }, {
161
- encoding: DotnetChecker.encoding,
162
- spaces: 4,
163
- EOL: os.EOL,
164
- });
165
- }
166
- async handleLinuxDependency() {
167
- // do nothing
168
- }
169
- static async cleanup() {
170
- await fs.remove(DotnetChecker.getDotnetConfigPath());
171
- await fs.emptyDir(DotnetChecker.getDefaultInstallPath());
172
- }
173
- // from: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/vscode-dotnet-runtime-library/src/Acquisition/AcquisitionInvoker.ts
174
- async runDotnetInstallScript(version, installDir) {
175
- const command = await this.getInstallCommand(version, installDir);
176
- const cwd = this._adapter.getResourceDir();
177
- const options = {
178
- cwd: cwd,
179
- maxBuffer: DotnetChecker.maxBuffer,
180
- timeout: DotnetChecker.timeout,
181
- killSignal: "SIGKILL",
182
- shell: false,
183
- };
184
- const start = perf_hooks_1.performance.now();
185
- try {
186
- fs.chmodSync(this.getDotnetInstallScriptPath(), "755");
187
- const { stdout, stderr } = await execFile(command[0], command.slice(1), options);
188
- await this._logger.debug(`Finished running dotnet-install script, command = '${command.join(" ")}', options = '${JSON.stringify(options)}', stdout = '${stdout}', stderr = '${stderr}'`);
189
- const timecost = Number(((perf_hooks_1.performance.now() - start) / 1000).toFixed(2));
190
- if (stderr && stderr.length > 0) {
191
- const errorMessage = `${common_1.Messages.failToInstallDotnet
192
- .split("@NameVersion")
193
- .join(installedNameWithVersion)} ${common_1.Messages.dotnetInstallStderr} stdout = '${stdout}', stderr = '${stderr}', timecost = '${timecost}s'`;
194
- this._telemetry.sendSystemErrorEvent(common_1.DepsCheckerEvent.dotnetInstallScriptError, common_1.TelemtryMessages.failedToExecDotnetScript, errorMessage);
195
- await this._logger.error(errorMessage);
196
- }
197
- else {
198
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetInstallScriptCompleted, {}, timecost);
199
- }
200
- }
201
- catch (error) {
202
- const timecost = Number(((perf_hooks_1.performance.now() - start) / 1000).toFixed(2));
203
- const errorMessage = `${common_1.Messages.failToInstallDotnet.split("@NameVersion").join(installedNameWithVersion)} ${common_1.Messages.dotnetInstallErrorCode}, ` +
204
- `command = '${command.join(" ")}', options = '${JSON.stringify(options)}', error = '${error}', stdout = '${error.stdout}', stderr = '${error.stderr}', timecost = '${timecost}s'`;
205
- this._telemetry.sendSystemErrorEvent(common_1.DepsCheckerEvent.dotnetInstallScriptError, common_1.TelemtryMessages.failedToExecDotnetScript, errorMessage);
206
- // swallow the exception since later validate will find out the errors anyway
207
- await this._logger.error(errorMessage);
208
- }
209
- }
210
- async isDotnetInstalledCorrectly() {
211
- try {
212
- const dotnetExecPath = await this.getDotnetExecPathFromConfig();
213
- const dotnetSdks = await this.searchDotnetSdks(dotnetExecPath);
214
- const installedVersions = dotnetSdks
215
- .map((sdk) => DotnetChecker.parseDotnetVersion(sdk.version))
216
- .filter((version) => version !== null);
217
- return this.isDotnetVersionsInstalled(installedVersions);
218
- }
219
- catch (error) {
220
- const errorMessage = `validate private install failed, error = '${error}'`;
221
- this._telemetry.sendSystemErrorEvent(common_1.DepsCheckerEvent.dotnetValidationError, common_1.TelemtryMessages.failedToValidateDotnet, errorMessage);
222
- await this._logger.debug(errorMessage);
223
- return false;
224
- }
225
- }
226
- async isDotnetVersionsInstalled(installedVersions) {
227
- try {
228
- const validVersions = DotnetChecker.arrayIntersection(installedVersions, exports.supportedVersions);
229
- return validVersions.length > 0;
230
- }
231
- catch (error) {
232
- await this._logger.error(`failed to check .NET, installedVersions = '${installedVersions}', supportedVersions = '${exports.supportedVersions}', error = '${error}'`);
233
- return false;
234
- }
235
- }
236
- static arrayIntersection(lhs, rhs) {
237
- return lhs.filter((value) => rhs.includes(value));
238
- }
239
- static isPrivateInstall(sdk) {
240
- const privateInstallPath = DotnetChecker.getDotnetExecPathFromDotnetInstallationDir(DotnetChecker.getDefaultInstallPath());
241
- return path.dirname(privateInstallPath) == path.dirname(sdk.path) && sdk.version !== null;
242
- }
243
- async getGlobalDotnetSdks() {
244
- const globalSdks = await this.searchDotnetSdks("dotnet");
245
- return globalSdks.filter((sdk) => !DotnetChecker.isPrivateInstall(sdk));
246
- }
247
- async searchDotnetSdks(dotnetExecPath) {
248
- if (!dotnetExecPath) {
249
- return [];
250
- }
251
- const sdks = [];
252
- try {
253
- // shell = false to prevent shell escape issues in dotnetExecPath
254
- const dotnetListSdksOutput = await cpUtils_1.cpUtils.executeCommand(undefined, this._logger, { shell: false }, dotnetExecPath, "--list-sdks");
255
- // dotnet --list-sdks sample output:
256
- // > 5.0.200 [C:\Program Files\dotnet\sdk]
257
- // > 3.1.200 [C:\Program Files\dotnet\sdk]
258
- const regex = /(?<version>\d+\.\d+\.\d+)\s+\[(?<installPath>[^\]]+)\]/;
259
- // NOTE(aochengwang):
260
- // for default installation, we expect our dotnet should be installVersion.
261
- // for user specified dotnet path, check that installVersion exists in any dotnet installation from dotnet --list-sdks.
262
- dotnetListSdksOutput.split(/\r?\n/).forEach((line) => {
263
- const match = regex.exec(line.trim());
264
- if (match && match.groups) {
265
- const path = match.groups.installPath;
266
- const version = match.groups.version;
267
- if (DotnetChecker.isFullSdkVersion(version) && path) {
268
- sdks.push({ version: version, path: path });
269
- }
270
- }
271
- });
272
- }
273
- catch (error) {
274
- const errorMessage = `Failed to search dotnet sdk by dotnetPath = '${dotnetExecPath}', error = '${error}'`;
275
- await this._logger.debug(errorMessage);
276
- this._telemetry.sendSystemErrorEvent(common_1.DepsCheckerEvent.dotnetSearchDotnetSdks, common_1.TelemtryMessages.failedToSearchDotnetSdks, errorMessage);
277
- }
278
- return sdks;
279
- }
280
- static isFullSdkVersion(version) {
281
- const regex = /(?<major_version>\d+)\.(?<minor_version>\d+)\.(?<patch_version>\d+)/gm;
282
- const match = regex.exec(version);
283
- return match !== null && match.length > 0;
284
- }
285
- static getDotnetExecPathFromDotnetInstallationDir(installDir) {
286
- return path.join(installDir, common_1.isWindows() ? "dotnet.exe" : "dotnet");
287
- }
288
- getDotnetInstallScriptPath() {
289
- return path.join(this._adapter.getResourceDir(), this.getDotnetInstallScriptName());
290
- }
291
- getDotnetInstallScriptName() {
292
- return common_1.isWindows() ? "dotnet-install.ps1" : "dotnet-install.sh";
293
- }
294
- static getDefaultInstallPath() {
295
- return path.join(os.homedir(), `.${teamsfx_api_1.ConfigFolderName}`, "bin", "dotnet");
296
- }
297
- async getInstallCommand(version, dotnetInstallDir) {
298
- if (common_1.isWindows()) {
299
- const command = [
300
- DotnetChecker.escapeFilePath(this.getDotnetInstallScriptPath()),
301
- "-InstallDir",
302
- DotnetChecker.escapeFilePath(dotnetInstallDir),
303
- "-Channel",
304
- version,
305
- ];
306
- return [
307
- "powershell.exe",
308
- "-NoProfile",
309
- "-ExecutionPolicy",
310
- "unrestricted",
311
- "-Command",
312
- `& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & ${command.join(" ")} }`,
313
- ];
314
- }
315
- else {
316
- return [
317
- "bash",
318
- this.getDotnetInstallScriptPath(),
319
- "-InstallDir",
320
- dotnetInstallDir,
321
- "-Channel",
322
- version,
323
- ];
324
- }
325
- }
326
- async validate() {
327
- const isInstallationValid = (await this.isDotnetInstalledCorrectly()) && (await this.validateWithHelloWorld());
328
- if (!isInstallationValid) {
329
- this._telemetry.sendEvent(common_1.DepsCheckerEvent.dotnetValidationError);
330
- await DotnetChecker.cleanup();
331
- }
332
- return isInstallationValid;
333
- }
334
- async validateWithHelloWorld() {
335
- const dotnetPath = await this.getDotnetExecPathFromConfig();
336
- if (!dotnetPath) {
337
- return false;
338
- }
339
- const samplePath = path.join(os.homedir(), `.${teamsfx_api_1.ConfigFolderName}`, "dotnetSample");
340
- try {
341
- await fs.remove(samplePath);
342
- await cpUtils_1.cpUtils.executeCommand(undefined, this._logger, { shell: false }, dotnetPath, "new", "console", "--output", `${samplePath}`, "--force");
343
- await cpUtils_1.cpUtils.executeCommand(undefined, this._logger, { shell: false }, dotnetPath, "run", "--project", `${samplePath}`, "--force");
344
- return true;
345
- }
346
- catch (error) {
347
- this._telemetry.sendSystemErrorEvent(common_1.DepsCheckerEvent.dotnetValidationError, common_1.TelemtryMessages.failedToValidateDotnet, error);
348
- await this._logger.debug(`Failed to run hello world, dotnetPath = ${dotnetPath}, error = ${error}`);
349
- }
350
- finally {
351
- await fs.remove(samplePath);
352
- }
353
- return false;
354
- }
355
- async tryAcquireGlobalDotnetSdk() {
356
- try {
357
- const sdks = await this.getGlobalDotnetSdks();
358
- if (!sdks || sdks.length == 0) {
359
- return false;
360
- }
361
- // todo: by far, use first valid dotnet sdk
362
- // todo: write dotnetExecPath into user settings instead of into .fx/dotnet.json
363
- const selectedSdk = sdks[0];
364
- const dotnetExecPath = DotnetChecker.getDotnetExecPathFromDotnetInstallationDir(path.resolve(selectedSdk.path, ".."));
365
- await DotnetChecker.persistDotnetExecPath(dotnetExecPath);
366
- return true;
367
- }
368
- catch (error) {
369
- await this._logger.debug(`Failed to acquire global dotnet sdk, error = '${error}'`);
370
- return false;
371
- }
372
- }
373
- static parseDotnetVersion(output) {
374
- var _a, _b;
375
- const regex = /(?<major_version>\d+)\.(?<minor_version>\d+)\.(?<patch_version>\d+)/gm;
376
- const match = regex.exec(output);
377
- if (!match) {
378
- return null;
379
- }
380
- return ((_a = match.groups) === null || _a === void 0 ? void 0 : _a.major_version) + "." + ((_b = match.groups) === null || _b === void 0 ? void 0 : _b.minor_version);
381
- }
382
- }
383
- exports.DotnetChecker = DotnetChecker;
384
- DotnetChecker.encoding = "utf-8";
385
- DotnetChecker.timeout = 5 * 60 * 1000; // same as vscode-dotnet-runtime
386
- DotnetChecker.maxBuffer = 500 * 1024;
387
- //# sourceMappingURL=dotnetChecker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dotnetChecker.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/function/utils/depsChecker/dotnetChecker.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,QAAQ;AACR,4CAA4C;AAC5C,0FAA0F;AAC1F,oEAAoE;AACpE,+GAA+G;AAC/G,0CAA0C;AAE1C,+CAAyB;AACzB,qDAA+B;AAC/B,mDAA6B;AAC7B,qEAA+C;AAC/C,mDAA6B;AAC7B,wDAA0D;AAE1D,qCASkB;AAClB,2CAAyC;AACzC,qCAA4C;AAC5C,uCAAoC;AAEpC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;AAExD,IAAY,aAKX;AALD,WAAY,aAAa;IAC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,KAAK,CAAC,yBAAyB;QACrC,IAAI;YACF,MAAM,IAAI,GAAgB,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAC3D,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,EAAE;gBAC7B,OAAO,KAAK,CAAC;aACd;YACD,2CAA2C;YAC3C,gFAAgF;YAChF,MAAM,WAAW,GAAc,IAAI,CAAC,CAAC,CAAC,CAAC;YACvC,MAAM,cAAc,GAAW,aAAa,CAAC,0CAA0C,CACrF,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CACrC,CAAC;YACF,MAAM,aAAa,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;YAC1D,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,iDAAiD,KAAK,GAAG,CAAC,CAAC;YACpF,OAAO,KAAK,CAAC;SACd;IACH,CAAC;IAEO,MAAM,CAAC,kBAAkB,CAAC,MAAc;;QAC9C,MAAM,KAAK,GAAG,uEAAuE,CAAC;QACtF,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,EAAE;YACV,OAAO,IAAI,CAAC;SACb;QACD,OAAO,CAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,aAAa,IAAG,GAAG,IAAG,MAAA,KAAK,CAAC,MAAM,0CAAE,aAAa,CAAA,CAAC;IACzE,CAAC;;AAleH,sCAmeC;AAlegB,sBAAQ,GAAG,OAAO,CAAC;AACnB,qBAAO,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,gCAAgC;AACzD,uBAAS,GAAG,GAAG,GAAG,IAAI,CAAC"}
@@ -1,14 +0,0 @@
1
- export declare class DepsCheckerError extends Error {
2
- readonly helpLink: string;
3
- constructor(message: string, helpLink: string);
4
- }
5
- export declare class NodeNotFoundError extends DepsCheckerError {
6
- constructor(message: string, helpLink: string);
7
- }
8
- export declare class NodeNotSupportedError extends DepsCheckerError {
9
- constructor(message: string, helpLink: string);
10
- }
11
- export declare class BackendExtensionsInstallError extends DepsCheckerError {
12
- constructor(message: string, helpLink: string);
13
- }
14
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/function/utils/depsChecker/errors.ts"],"names":[],"mappings":"AAUA,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,SAAgB,QAAQ,EAAE,MAAM,CAAC;gBAErB,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAM9C;AAED,qBAAa,iBAAkB,SAAQ,gBAAgB;gBACzC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK9C;AAED,qBAAa,qBAAsB,SAAQ,gBAAgB;gBAC7C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK9C;AAED,qBAAa,6BAA8B,SAAQ,gBAAgB;gBACrD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK9C"}
@@ -1,41 +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.BackendExtensionsInstallError = exports.NodeNotSupportedError = exports.NodeNotFoundError = exports.DepsCheckerError = void 0;
6
- // NOTE:
7
- // DO NOT EDIT this file in function plugin.
8
- // The source of truth of this file is in packages/vscode-extension/src/debug/depsChecker.
9
- // If you need to edit this file, please edit it in the above folder
10
- // and run the scripts (tools/depsChecker/copyfiles.sh or tools/depsChecker/copyfiles.ps1 according to your OS)
11
- // to copy you changes to function plugin.
12
- class DepsCheckerError extends Error {
13
- constructor(message, helpLink) {
14
- super(message);
15
- this.helpLink = helpLink;
16
- Object.setPrototypeOf(this, DepsCheckerError.prototype);
17
- }
18
- }
19
- exports.DepsCheckerError = DepsCheckerError;
20
- class NodeNotFoundError extends DepsCheckerError {
21
- constructor(message, helpLink) {
22
- super(message, helpLink);
23
- Object.setPrototypeOf(this, NodeNotFoundError.prototype);
24
- }
25
- }
26
- exports.NodeNotFoundError = NodeNotFoundError;
27
- class NodeNotSupportedError extends DepsCheckerError {
28
- constructor(message, helpLink) {
29
- super(message, helpLink);
30
- Object.setPrototypeOf(this, NodeNotSupportedError.prototype);
31
- }
32
- }
33
- exports.NodeNotSupportedError = NodeNotSupportedError;
34
- class BackendExtensionsInstallError extends DepsCheckerError {
35
- constructor(message, helpLink) {
36
- super(message, helpLink);
37
- Object.setPrototypeOf(this, BackendExtensionsInstallError.prototype);
38
- }
39
- }
40
- exports.BackendExtensionsInstallError = BackendExtensionsInstallError;
41
- //# sourceMappingURL=errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/function/utils/depsChecker/errors.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,QAAQ;AACR,4CAA4C;AAC5C,0FAA0F;AAC1F,oEAAoE;AACpE,+GAA+G;AAC/G,0CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,KAAK;IAGzC,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC1D,CAAC;CACF;AATD,4CASC;AAED,MAAa,iBAAkB,SAAQ,gBAAgB;IACrD,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAC3D,CAAC;CACF;AAND,8CAMC;AAED,MAAa,qBAAsB,SAAQ,gBAAgB;IACzD,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;CACF;AAND,sDAMC;AAED,MAAa,6BAA8B,SAAQ,gBAAgB;IACjE,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC;IACvE,CAAC;CACF;AAND,sEAMC"}
@@ -1,26 +0,0 @@
1
- import { PluginContext } from "@microsoft/teamsfx-api";
2
- import { IDepsAdapter, IDepsChecker, IDepsTelemetry } from "./checker";
3
- export declare class FuncPluginAdapter implements IDepsAdapter {
4
- private readonly downloadIndicatorInterval;
5
- private readonly _ctx;
6
- private readonly _telemetry;
7
- private readonly dotnetSettingKey;
8
- constructor(ctx: PluginContext, telemetry: IDepsTelemetry);
9
- displayLearnMore(message: string, link: string): Promise<boolean>;
10
- displayWarningMessage(message: string, buttonText: string, action: () => Promise<boolean>): Promise<boolean>;
11
- displayContinueWithLearnMore(message: string, link: string): Promise<boolean>;
12
- showOutputChannel(): void;
13
- getResourceDir(): string;
14
- dotnetCheckerEnabled(): Promise<boolean>;
15
- runWithProgressIndicator(callback: () => Promise<void>): Promise<void>;
16
- hasTeamsfxBackend(): Promise<boolean>;
17
- hasTeamsfxBot(): Promise<boolean>;
18
- funcToolCheckerEnabled(): Promise<boolean>;
19
- ngrokCheckerEnabled(): Promise<boolean>;
20
- nodeCheckerEnabled(): Promise<boolean>;
21
- handleDotnetError(error: Error): void;
22
- handleDotnetForLinux(checker: IDepsChecker): Promise<boolean>;
23
- generateMsg(messageTemplate: string, checkers: Array<IDepsChecker>): Promise<string>;
24
- private splitHelpLink;
25
- }
26
- //# sourceMappingURL=funcPluginAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"funcPluginAdapter.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/function/utils/depsChecker/funcPluginAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAmB,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGvE,qBAAa,iBAAkB,YAAW,YAAY;IACpD,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAQ;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAiB;IAC5C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqC;gBAE1D,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc;IAKlD,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK3D,qBAAqB,CAChC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,GAC7B,OAAO,CAAC,OAAO,CAAC;IAIZ,4BAA4B,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI7E,iBAAiB,IAAI,IAAI;IAIzB,cAAc,IAAI,MAAM;IAIxB,oBAAoB,IAAI,OAAO,CAAC,OAAO,CAAC;IAQlC,wBAAwB,CAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe5E,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IAGrC,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAGjC,sBAAsB,IAAI,OAAO,CAAC,OAAO,CAAC;IAG1C,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;IAGvC,kBAAkB,IAAI,OAAO,CAAC,OAAO,CAAC;IAItC,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAiB/B,oBAAoB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAK7D,WAAW,CACtB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,GAC5B,OAAO,CAAC,MAAM,CAAC;IAYlB,OAAO,CAAC,aAAa;CAQtB"}
@@ -1,111 +0,0 @@
1
- "use strict";
2
- /* eslint-disable @typescript-eslint/no-namespace */
3
- // Copyright (c) Microsoft Corporation.
4
- // Licensed under the MIT license.
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FuncPluginAdapter = void 0;
7
- const tslib_1 = require("tslib");
8
- const path = tslib_1.__importStar(require("path"));
9
- const funcPluginLogger_1 = require("./funcPluginLogger");
10
- const errors_1 = require("./errors");
11
- const teamsfx_api_1 = require("@microsoft/teamsfx-api");
12
- const common_1 = require("./common");
13
- const __1 = require("../../../../..");
14
- class FuncPluginAdapter {
15
- constructor(ctx, telemetry) {
16
- this.downloadIndicatorInterval = 1000; // same as vscode-dotnet-runtime
17
- this.dotnetSettingKey = "function-dotnet-checker-enabled";
18
- this._ctx = ctx;
19
- this._telemetry = telemetry;
20
- }
21
- displayLearnMore(message, link) {
22
- // TODO: implement learn more popup in plugin
23
- return Promise.resolve(true);
24
- }
25
- async displayWarningMessage(message, buttonText, action) {
26
- return await action();
27
- }
28
- displayContinueWithLearnMore(message, link) {
29
- return Promise.resolve(true);
30
- }
31
- showOutputChannel() {
32
- // TODO: find a way to implement in plugin
33
- }
34
- getResourceDir() {
35
- return path.resolve(path.join(__1.getResourceFolder(), "plugins", "resource", "function"));
36
- }
37
- dotnetCheckerEnabled() {
38
- let enabled = true;
39
- if (this._ctx.answers && this._ctx.answers[this.dotnetSettingKey] !== undefined) {
40
- enabled = this._ctx.answers[this.dotnetSettingKey];
41
- }
42
- return Promise.resolve(enabled);
43
- }
44
- async runWithProgressIndicator(callback) {
45
- // NOTE: We cannot use outputChannel in plugin to print the dots in one line.
46
- let counter = 1;
47
- const timer = setInterval(() => {
48
- const dots = Array(counter).fill(".").join("");
49
- funcPluginLogger_1.funcPluginLogger.info(dots);
50
- counter += 1;
51
- }, this.downloadIndicatorInterval);
52
- try {
53
- await callback();
54
- }
55
- finally {
56
- clearTimeout(timer);
57
- }
58
- }
59
- hasTeamsfxBackend() {
60
- throw new Error("Method not implemented.");
61
- }
62
- hasTeamsfxBot() {
63
- throw new Error("Method not implemented.");
64
- }
65
- funcToolCheckerEnabled() {
66
- throw new Error("Method not implemented.");
67
- }
68
- ngrokCheckerEnabled() {
69
- throw new Error("Method not implemented.");
70
- }
71
- nodeCheckerEnabled() {
72
- throw new Error("Method not implemented.");
73
- }
74
- handleDotnetError(error) {
75
- const source = "functionDepsChecker";
76
- const defaultAnchor = "report-issues";
77
- if (error instanceof errors_1.DepsCheckerError) {
78
- const [helpLink, anchor] = this.splitHelpLink(error.helpLink);
79
- throw teamsfx_api_1.returnUserError(error, source, anchor || defaultAnchor, helpLink, error);
80
- }
81
- else {
82
- throw teamsfx_api_1.returnUserError(new Error(common_1.Messages.defaultErrorMessage), source, defaultAnchor, common_1.defaultHelpLink, error);
83
- }
84
- }
85
- async handleDotnetForLinux(checker) {
86
- const confirmMessage = await this.generateMsg(common_1.Messages.linuxDepsNotFound, [checker]);
87
- return this.displayLearnMore(confirmMessage, common_1.dotnetManualInstallHelpLink);
88
- }
89
- async generateMsg(messageTemplate, checkers) {
90
- const supportedPackages = [];
91
- for (const checker of checkers) {
92
- const info = await checker.getDepsInfo();
93
- const supportedVersions = info.supportedVersions.map((version) => "v" + version).join(" or ");
94
- const supportedPackage = `${info.name} (${supportedVersions})`;
95
- supportedPackages.push(supportedPackage);
96
- }
97
- const supportedMessage = supportedPackages.join(" and ");
98
- return messageTemplate.replace("@SupportedPackages", supportedMessage);
99
- }
100
- splitHelpLink(link) {
101
- const lastAnchor = link.lastIndexOf("#");
102
- if (lastAnchor !== -1) {
103
- return [link.slice(0, lastAnchor), link.slice(lastAnchor + 1)];
104
- }
105
- else {
106
- return [link, ""];
107
- }
108
- }
109
- }
110
- exports.FuncPluginAdapter = FuncPluginAdapter;
111
- //# sourceMappingURL=funcPluginAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"funcPluginAdapter.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/function/utils/depsChecker/funcPluginAdapter.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,uCAAuC;AACvC,kCAAkC;;;;AAElC,mDAA6B;AAC7B,yDAAgE;AAChE,qCAA4C;AAC5C,wDAAwE;AACxE,qCAAoG;AAEpG,sCAAmD;AAEnD,MAAa,iBAAiB;IAM5B,YAAY,GAAkB,EAAE,SAAyB;QALxC,8BAAyB,GAAG,IAAI,CAAC,CAAC,gCAAgC;QAGlE,qBAAgB,GAAG,iCAAiC,CAAC;QAGpE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAEM,gBAAgB,CAAC,OAAe,EAAE,IAAY;QACnD,6CAA6C;QAC7C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEM,KAAK,CAAC,qBAAqB,CAChC,OAAe,EACf,UAAkB,EAClB,MAA8B;QAE9B,OAAO,MAAM,MAAM,EAAE,CAAC;IACxB,CAAC;IAEM,4BAA4B,CAAC,OAAe,EAAE,IAAY;QAC/D,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEM,iBAAiB;QACtB,0CAA0C;IAC5C,CAAC;IAEM,cAAc;QACnB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAiB,EAAE,EAAE,SAAS,EAAE,UAAU,EA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AAgB,CAAC,CAAC;SAC1C;QACD,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,OAAO,eAAe,CAAC,OAAO,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;IAEO,aAAa,CAAC,IAAY;QAChC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QACzC,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE;YACrB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;SAChE;aAAM;YACL,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;SACnB;IACH,CAAC;CACF;AAxHD,8CAwHC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"certificate.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/solution/fx-solution/debug/util/certificate.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,MAAM,EAIN,EAAE,EACH,MAAM,wBAAwB,CAAC;AAoBhC,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAkB;IACtC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAW;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAc;IACtC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;gBAExB,GAAG,EAAE,EAAE,CAAC,OAAO,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM;IAOvD;;;;;;;OAOG;IACU,gBAAgB,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC;YA2C9D,mBAAmB;IAgEjC,OAAO,CAAC,wBAAwB;YAsFlB,wBAAwB;YAgCxB,gBAAgB;IAuC9B,OAAO,CAAC,kBAAkB;YAgBZ,kBAAkB;CAsBjC"}