@microsoft/teamsfx-core 1.2.1 → 1.2.2-alpha.096c8289.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/armInterface.d.ts +0 -20
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/constants.d.ts +9 -0
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +11 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +0 -1
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +0 -4
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +1 -0
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsLogger.d.ts +10 -0
- package/build/common/deps-checker/depsLogger.d.ts.map +1 -1
- package/build/common/deps-checker/depsLogger.js +26 -0
- package/build/common/deps-checker/depsLogger.js.map +1 -1
- package/build/common/deps-checker/depsManager.d.ts +9 -5
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +29 -17
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/index.d.ts +1 -0
- package/build/common/deps-checker/index.d.ts.map +1 -1
- package/build/common/deps-checker/index.js +1 -0
- package/build/common/deps-checker/index.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +2 -1
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +2 -1
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.js +2 -4
- package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +1 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +11 -1
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/deps-checker/util/extensionInstaller.d.ts +3 -0
- package/build/common/deps-checker/util/extensionInstaller.d.ts.map +1 -0
- package/build/common/deps-checker/util/extensionInstaller.js +47 -0
- package/build/common/deps-checker/util/extensionInstaller.js.map +1 -0
- package/build/common/deps-checker/util/index.d.ts +5 -0
- package/build/common/deps-checker/util/index.d.ts.map +1 -0
- package/build/common/deps-checker/util/index.js +10 -0
- package/build/common/deps-checker/util/index.js.map +1 -0
- package/build/common/index.d.ts +1 -3
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +1 -3
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +5 -42
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +7 -43
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/index.d.ts +6 -0
- package/build/common/local/index.d.ts.map +1 -0
- package/build/common/local/index.js +11 -0
- package/build/common/local/index.js.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.d.ts → common/local/localCertificateManager.d.ts} +4 -6
- package/build/common/local/localCertificateManager.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.js → common/local/localCertificateManager.js} +35 -48
- package/build/common/local/localCertificateManager.js.map +1 -0
- package/build/common/local/localEnvManager.d.ts +6 -2
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +42 -2
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/localSettingsHelper.d.ts.map +1 -1
- package/build/common/local/localSettingsHelper.js +17 -16
- package/build/common/local/localSettingsHelper.js.map +1 -1
- package/build/common/local/packageJsonHelper.d.ts +1 -0
- package/build/common/local/packageJsonHelper.d.ts.map +1 -1
- package/build/common/local/packageJsonHelper.js +29 -1
- package/build/common/local/packageJsonHelper.js.map +1 -1
- package/build/common/local/portChecker.d.ts +2 -2
- package/build/common/local/portChecker.d.ts.map +1 -1
- package/build/common/local/portChecker.js +33 -50
- package/build/common/local/portChecker.js.map +1 -1
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.d.ts +0 -0
- package/build/common/local/process.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.js +0 -0
- package/build/common/local/process.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts +5 -5
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +26 -19
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/local/taskDefinition.d.ts +1 -8
- package/build/common/local/taskDefinition.d.ts.map +1 -1
- package/build/common/local/taskDefinition.js +8 -56
- package/build/common/local/taskDefinition.js.map +1 -1
- package/build/common/localSettingsConstants.d.ts +3 -6
- package/build/common/localSettingsConstants.d.ts.map +1 -1
- package/build/common/localSettingsConstants.js +4 -7
- package/build/common/localSettingsConstants.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts +3 -3
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +16 -14
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/permissionInterface.d.ts +2 -2
- package/build/common/permissionInterface.d.ts.map +1 -1
- package/build/common/permissionInterface.js +2 -2
- package/build/common/permissionInterface.js.map +1 -1
- package/build/common/projectSettingsValidator.d.ts +3 -0
- package/build/common/projectSettingsValidator.d.ts.map +1 -0
- package/build/common/projectSettingsValidator.js +51 -0
- package/build/common/projectSettingsValidator.js.map +1 -0
- package/build/common/samples-config.json +24 -12
- package/build/common/samples.d.ts +1 -0
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +1 -0
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +10 -3
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +12 -4
- package/build/common/telemetry.js.map +1 -1
- package/build/common/{templates.d.ts → template-utils/templates.d.ts} +0 -0
- package/build/common/template-utils/templates.d.ts.map +1 -0
- package/build/common/{templates.js → template-utils/templates.js} +1 -1
- package/build/common/template-utils/templates.js.map +1 -0
- package/build/common/{templatesActions.d.ts → template-utils/templatesActions.d.ts} +0 -0
- package/build/common/template-utils/templatesActions.d.ts.map +1 -0
- package/build/common/{templatesActions.js → template-utils/templatesActions.js} +5 -5
- package/build/common/template-utils/templatesActions.js.map +1 -0
- package/build/common/{templatesUtils.d.ts → template-utils/templatesUtils.d.ts} +2 -1
- package/build/common/template-utils/templatesUtils.d.ts.map +1 -0
- package/build/common/{templatesUtils.js → template-utils/templatesUtils.js} +26 -8
- package/build/common/template-utils/templatesUtils.js.map +1 -0
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +1 -8
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +41 -19
- package/build/common/tools.js.map +1 -1
- package/build/core/downloadSample.js +1 -1
- package/build/core/downloadSample.js.map +1 -1
- package/build/core/environment.d.ts +4 -4
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +23 -2
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +5 -0
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +16 -2
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +11 -20
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +160 -259
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/CommonErrorHandlerMW.d.ts +14 -0
- package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +1 -0
- package/build/core/middleware/CommonErrorHandlerMW.js +58 -0
- package/build/core/middleware/CommonErrorHandlerMW.js.map +1 -0
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +2 -1
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoWriter.js +5 -6
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/errorHandler.js +2 -1
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +27 -22
- package/build/core/middleware/localSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +3 -17
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts +1 -0
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +9 -5
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +6 -4
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +6 -8
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +20 -44
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +5 -3
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.js +3 -2
- package/build/core/middleware/solutionLoaderV3.js.map +1 -1
- package/build/core/permissionRequest.js +2 -2
- package/build/core/permissionRequest.js.map +1 -1
- package/build/core/pvm/broker.d.ts +24 -0
- package/build/core/pvm/broker.d.ts.map +1 -0
- package/build/core/pvm/broker.js +93 -0
- package/build/core/pvm/broker.js.map +1 -0
- package/build/core/pvm/constant.d.ts +11 -0
- package/build/core/pvm/constant.d.ts.map +1 -0
- package/build/core/pvm/constant.js +14 -0
- package/build/core/pvm/constant.js.map +1 -0
- package/build/core/pvm/depot.d.ts +43 -0
- package/build/core/pvm/depot.d.ts.map +1 -0
- package/build/core/pvm/depot.js +243 -0
- package/build/core/pvm/depot.js.map +1 -0
- package/build/core/pvm/pvm.d.ts +49 -0
- package/build/core/pvm/pvm.d.ts.map +1 -0
- package/build/core/pvm/pvm.js +82 -0
- package/build/core/pvm/pvm.js.map +1 -0
- package/build/core/pvm/type.d.ts +11 -0
- package/build/core/pvm/type.d.ts.map +1 -0
- package/build/{plugins/resource/apim/interfaces/IApimResource.js → core/pvm/type.js} +1 -1
- package/build/core/pvm/type.js.map +1 -0
- package/build/core/pvm/utility.d.ts +2 -0
- package/build/core/pvm/utility.d.ts.map +1 -0
- package/build/core/pvm/utility.js +10 -0
- package/build/core/pvm/utility.js.map +1 -0
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +7 -4
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +1 -2
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +3 -31
- package/build/core/tools.js.map +1 -1
- package/build/core/utils.d.ts +4 -0
- package/build/core/utils.d.ts.map +1 -0
- package/build/core/utils.js +14 -0
- package/build/core/utils.js.map +1 -0
- package/build/plugins/resource/aad/aadAppClient.d.ts +9 -9
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +30 -31
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/errors.d.ts.map +1 -1
- package/build/plugins/resource/aad/errors.js +1 -2
- package/build/plugins/resource/aad/errors.js.map +1 -1
- package/build/plugins/resource/aad/index.d.ts +1 -0
- package/build/plugins/resource/aad/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/index.js +6 -1
- package/build/plugins/resource/aad/index.js.map +1 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts +4 -0
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts +4 -3
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +46 -59
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/common.d.ts +8 -4
- package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/common.js +70 -31
- package/build/plugins/resource/aad/utils/common.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +10 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +224 -38
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts +0 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.js +10 -17
- package/build/plugins/resource/aad/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts +6 -2
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js +11 -11
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +1 -1
- package/build/plugins/resource/aad/v2/index.d.ts +12 -13
- package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v2/index.js +2 -1
- package/build/plugins/resource/aad/v2/index.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +20 -0
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/aad/v3/index.js +213 -0
- package/build/plugins/resource/aad/v3/index.js.map +1 -0
- package/build/plugins/resource/apim/answer.d.ts +0 -6
- package/build/plugins/resource/apim/answer.d.ts.map +1 -1
- package/build/plugins/resource/apim/answer.js +6 -45
- package/build/plugins/resource/apim/answer.js.map +1 -1
- package/build/plugins/resource/apim/config.d.ts +0 -12
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js +0 -24
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +1 -30
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +37 -74
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/error.d.ts +0 -1
- package/build/plugins/resource/apim/error.d.ts.map +1 -1
- package/build/plugins/resource/apim/error.js +2 -10
- package/build/plugins/resource/apim/error.js.map +1 -1
- package/build/plugins/resource/apim/factory.d.ts.map +1 -1
- package/build/plugins/resource/apim/factory.js +2 -5
- package/build/plugins/resource/apim/factory.js.map +1 -1
- package/build/plugins/resource/apim/index.d.ts +0 -1
- package/build/plugins/resource/apim/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/index.js +1 -24
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts +2 -3
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +23 -63
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.d.ts +2 -8
- package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.js +2 -28
- package/build/plugins/resource/apim/managers/questionManager.js.map +1 -1
- package/build/plugins/resource/apim/questions/cliQuestion.d.ts +0 -8
- package/build/plugins/resource/apim/questions/cliQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/cliQuestion.js +1 -33
- package/build/plugins/resource/apim/questions/cliQuestion.js.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts +0 -6
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js +7 -56
- package/build/plugins/resource/apim/questions/vscodeQuestion.js.map +1 -1
- package/build/plugins/resource/apim/services/apimService.d.ts +1 -12
- package/build/plugins/resource/apim/services/apimService.d.ts.map +1 -1
- package/build/plugins/resource/apim/services/apimService.js +0 -112
- package/build/plugins/resource/apim/services/apimService.js.map +1 -1
- package/build/plugins/resource/apim/utils/commonUtils.d.ts +1 -1
- package/build/plugins/resource/apim/utils/commonUtils.js +3 -3
- package/build/plugins/resource/apim/utils/namingRules.d.ts +0 -4
- package/build/plugins/resource/apim/utils/namingRules.d.ts.map +1 -1
- package/build/plugins/resource/apim/utils/namingRules.js +0 -32
- package/build/plugins/resource/apim/utils/namingRules.js.map +1 -1
- package/build/plugins/resource/apim/v2/index.d.ts +5 -7
- package/build/plugins/resource/apim/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v2/index.js +2 -7
- package/build/plugins/resource/apim/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +3 -0
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +3 -0
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +9 -2
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +126 -11
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +2 -36
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +1 -31
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +3 -27
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +60 -19
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +4 -0
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +66 -15
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts +8 -4
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +13 -12
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +5 -5
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +2 -1
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +15 -29
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +86 -17
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.d.ts.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.js +5 -4
- package/build/plugins/resource/bot/aadRegistration.js.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.js +0 -10
- package/build/plugins/resource/bot/configs/provisionConfig.js.map +1 -1
- package/build/plugins/resource/bot/dotnet/constants.d.ts +5 -0
- package/build/plugins/resource/bot/dotnet/constants.d.ts.map +1 -0
- package/build/plugins/resource/bot/dotnet/constants.js +13 -0
- package/build/plugins/resource/bot/dotnet/constants.js.map +1 -0
- package/build/plugins/resource/bot/dotnet/plugin.d.ts +14 -0
- package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/bot/dotnet/plugin.js +62 -0
- package/build/plugins/resource/bot/dotnet/plugin.js.map +1 -0
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts +2 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.d.ts.map +1 -1
- package/build/plugins/resource/bot/enums/programmingLanguage.js +1 -0
- package/build/plugins/resource/bot/enums/programmingLanguage.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts +5 -0
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +24 -13
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/interface.d.ts +16 -0
- package/build/plugins/resource/bot/interface.d.ts.map +1 -0
- package/build/plugins/resource/bot/interface.js +5 -0
- package/build/plugins/resource/bot/interface.js.map +1 -0
- package/build/plugins/resource/bot/languageStrategy.d.ts +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.js +1 -1
- package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +2 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +16 -135
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/v2/index.d.ts +5 -5
- package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/index.js +2 -1
- package/build/plugins/resource/bot/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts +1 -1
- package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
- package/build/plugins/resource/frontend/configs.js +3 -9
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/constants.d.ts +2 -8
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +3 -11
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.d.ts +56 -0
- package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/constants.js +73 -0
- package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/enum.js +41 -0
- package/build/plugins/resource/frontend/dotnet/enum.js.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts +0 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js +3 -3
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts +0 -0
- package/build/plugins/resource/frontend/dotnet/ops/deploy.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js +21 -6
- package/build/plugins/resource/frontend/dotnet/ops/deploy.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +32 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js +132 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +35 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/errors.js +10 -22
- package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts +24 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.js +33 -0
- package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.d.ts +3 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.js +16 -0
- package/build/plugins/resource/frontend/dotnet/resources/steps.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts +6 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js +11 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js.map +1 -0
- package/build/plugins/resource/frontend/index.d.ts +6 -4
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +29 -49
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/interface.d.ts +13 -0
- package/build/plugins/resource/frontend/interface.d.ts.map +1 -0
- package/build/plugins/resource/frontend/interface.js +5 -0
- package/build/plugins/resource/frontend/interface.js.map +1 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts +3 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +58 -14
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.d.ts +0 -10
- package/build/plugins/resource/frontend/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +3 -3
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +27 -58
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +23 -20
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +31 -67
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/steps.d.ts +7 -0
- package/build/plugins/resource/frontend/resources/steps.d.ts.map +1 -0
- package/build/plugins/resource/frontend/resources/steps.js +41 -0
- package/build/plugins/resource/frontend/resources/steps.js.map +1 -0
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts +4 -3
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js +9 -8
- package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts +3 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.js +9 -6
- package/build/plugins/resource/frontend/utils/logger.js.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts +9 -43
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.js +9 -100
- package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +5 -5
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +5 -4
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/error.d.ts +23 -0
- package/build/plugins/resource/frontend/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/error.js +66 -0
- package/build/plugins/resource/frontend/v3/error.js.map +1 -0
- package/build/plugins/resource/frontend/v3/index.d.ts +16 -0
- package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/index.js +264 -0
- package/build/plugins/resource/frontend/v3/index.js.map +1 -0
- package/build/plugins/resource/function/index.d.ts +1 -1
- package/build/plugins/resource/function/index.d.ts.map +1 -1
- package/build/plugins/resource/function/index.js +8 -21
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/deploy.js +8 -9
- package/build/plugins/resource/function/ops/deploy.js.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.js +1 -1
- package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +35 -138
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/message.d.ts +0 -1
- package/build/plugins/resource/function/resources/message.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/message.js +0 -1
- package/build/plugins/resource/function/resources/message.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +11 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +48 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts +6 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js +15 -8
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts +4 -3
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js +5 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.d.ts +5 -5
- package/build/plugins/resource/function/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v2/index.js +2 -1
- package/build/plugins/resource/function/v2/index.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts +1 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +4 -22
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/v2/index.d.ts +4 -4
- package/build/plugins/resource/identity/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v2/index.js +2 -1
- package/build/plugins/resource/identity/v2/index.js.map +1 -1
- package/build/plugins/resource/identity/v3/index.d.ts +12 -0
- package/build/plugins/resource/identity/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/identity/v3/index.js +89 -0
- package/build/plugins/resource/identity/v3/index.js.map +1 -0
- package/build/plugins/resource/keyvault/index.d.ts +1 -0
- package/build/plugins/resource/keyvault/index.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/index.js +1 -0
- package/build/plugins/resource/keyvault/index.js.map +1 -1
- package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/plugin.js +1 -2
- package/build/plugins/resource/keyvault/plugin.js.map +1 -1
- package/build/plugins/resource/keyvault/v2/index.d.ts +2 -2
- package/build/plugins/resource/keyvault/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/v2/index.js +2 -1
- package/build/plugins/resource/keyvault/v2/index.js.map +1 -1
- package/build/plugins/resource/keyvault/v3/index.d.ts +10 -0
- package/build/plugins/resource/keyvault/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/keyvault/v3/index.js +90 -0
- package/build/plugins/resource/keyvault/v3/index.js.map +1 -0
- package/build/plugins/resource/localdebug/constants.d.ts +0 -1
- package/build/plugins/resource/localdebug/constants.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/constants.js +0 -1
- package/build/plugins/resource/localdebug/constants.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts +2 -2
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +3 -5
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/index.js +6 -11
- package/build/plugins/resource/simpleauth/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +4 -9
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +4 -4
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/v2/index.js +2 -1
- package/build/plugins/resource/simpleauth/v2/index.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +14 -9
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +5 -4
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +5 -4
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/spfx/v2/index.d.ts +2 -2
- package/build/plugins/resource/spfx/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v2/index.js +2 -1
- package/build/plugins/resource/spfx/v2/index.js.map +1 -1
- package/build/plugins/resource/sql/config.d.ts +1 -0
- package/build/plugins/resource/sql/config.d.ts.map +1 -1
- package/build/plugins/resource/sql/config.js +1 -0
- package/build/plugins/resource/sql/config.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +3 -3
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +3 -3
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +1 -17
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +1 -17
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/index.js +11 -11
- package/build/plugins/resource/sql/index.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +0 -4
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +14 -70
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +4 -2
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +77 -123
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +2 -2
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +13 -12
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts +0 -5
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/dialogUtils.js +1 -7
- package/build/plugins/resource/sql/utils/dialogUtils.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -10
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -10
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/resource/sql/v2/index.d.ts +5 -5
- package/build/plugins/resource/sql/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/v2/index.js +2 -1
- package/build/plugins/resource/sql/v2/index.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +17 -21
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +12 -36
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +3 -3
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +7 -6
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +8 -2
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +151 -76
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +4 -3
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +11 -17
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +3 -4
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +4 -5
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +0 -5
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.js +1 -7
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +19 -10
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +2 -2
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +23 -4
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.js +2 -4
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js +145 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +1 -0
- package/build/plugins/solution/fx-solution/question.d.ts +2 -2
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +32 -22
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +2 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +48 -29
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts +31 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js +222 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +1 -0
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts +3 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js +19 -0
- package/build/plugins/solution/fx-solution/utils/solutionSettingsHelper.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/adaptor.js +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +32 -15
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -3
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +3 -3
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +3 -3
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +217 -122
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +6 -14
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +88 -99
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +33 -16
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +26 -11
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts +2 -3
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +98 -130
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +1 -6
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +2 -2
- package/build/plugins/solution/fx-solution/v2/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +23 -9
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +0 -2
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +6 -6
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +16 -16
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts +25 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.js +115 -0
- package/build/plugins/solution/fx-solution/v3/addFeature.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +9 -9
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.js +11 -11
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +2 -4
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js +15 -18
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/error.d.ts +1 -7
- package/build/plugins/solution/fx-solution/v3/error.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/error.js +0 -14
- package/build/plugins/solution/fx-solution/v3/error.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +15 -3
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +324 -81
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +14 -24
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.js +75 -19
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts +5 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js +10 -0
- package/build/plugins/solution/fx-solution/v3/solutionGlobalVars.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts +4 -3
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.js +111 -5
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/utils.d.ts +1 -2
- package/build/plugins/solution/fx-solution/v3/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/utils.js +0 -13
- package/build/plugins/solution/fx-solution/v3/utils.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/addFeature.js +38 -0
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts +5 -17
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.js +5 -12
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -1
- package/build/plugins/solution/utils/questions.d.ts +5 -11
- package/build/plugins/solution/utils/questions.d.ts.map +1 -1
- package/build/plugins/solution/utils/questions.js +9 -62
- package/build/plugins/solution/utils/questions.js.map +1 -1
- package/package.json +21 -10
- package/resource/strings.json +50 -8
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +1 -0
- package/templates/plugins/resource/apim/bicep/apimProvision.bicep +7 -5
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -0
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +12 -12
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
- package/templates/plugins/resource/bot/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/bot/bot-msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot-msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/botservice/bicep/botServiceProvision.template.bicep +34 -0
- package/templates/plugins/resource/botservice/bicep/parameters.json +4 -0
- package/templates/plugins/resource/botservice/bicep/provision.template.bicep +13 -0
- package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +4 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -0
- package/templates/plugins/resource/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +15 -15
- package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
- package/templates/plugins/resource/function/function-base.js.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +9 -7
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +7 -7
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
- package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +5 -0
- package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +15 -0
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +9 -5
- package/templates/plugins/resource/storage/bicep/azureStorageProvision.bicep +25 -0
- package/templates/plugins/resource/storage/bicep/provision.template.bicep +15 -0
- package/templates/plugins/resource/webapp/bicep/config.template.bicep +10 -0
- package/templates/plugins/resource/webapp/bicep/provision.template.bicep +16 -0
- package/templates/plugins/resource/webapp/bicep/webappConfiguration.template.bicep +74 -0
- package/templates/plugins/resource/webapp/bicep/webappProvision.template.bicep +48 -0
- package/templates/plugins/solution/{main.bicep → mainConfig.bicep} +0 -12
- package/templates/plugins/solution/mainProvision.bicep +10 -0
- package/build/common/templates.d.ts.map +0 -1
- package/build/common/templates.js.map +0 -1
- package/build/common/templatesActions.d.ts.map +0 -1
- package/build/common/templatesActions.js.map +0 -1
- package/build/common/templatesUtils.d.ts.map +0 -1
- package/build/common/templatesUtils.js.map +0 -1
- package/build/core/middleware/projectSettingsLoaderV3.d.ts +0 -4
- package/build/core/middleware/projectSettingsLoaderV3.d.ts.map +0 -1
- package/build/core/middleware/projectSettingsLoaderV3.js +0 -49
- package/build/core/middleware/projectSettingsLoaderV3.js.map +0 -1
- package/build/plugins/resource/apim/interfaces/IApimResource.d.ts +0 -5
- package/build/plugins/resource/apim/interfaces/IApimResource.d.ts.map +0 -1
- package/build/plugins/resource/apim/interfaces/IApimResource.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.d.ts +0 -75
- package/build/plugins/resource/frontend/blazor/constants.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.js +0 -98
- package/build/plugins/resource/frontend/blazor/constants.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/enum.js +0 -39
- package/build/plugins/resource/frontend/blazor/enum.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/deploy.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/deploy.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts +0 -8
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/provision.js +0 -42
- package/build/plugins/resource/frontend/blazor/ops/provision.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.d.ts +0 -35
- package/build/plugins/resource/frontend/blazor/plugin.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.js +0 -190
- package/build/plugins/resource/frontend/blazor/plugin.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts +0 -41
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.d.ts +0 -13
- package/build/plugins/resource/frontend/blazor/resources/messages.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.js +0 -20
- package/build/plugins/resource/frontend/blazor/resources/messages.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts +0 -21
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js +0 -47
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.d.ts +0 -12
- package/build/plugins/resource/frontend/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.js +0 -29
- package/build/plugins/resource/frontend/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts +0 -9
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js +0 -55
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -54
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +0 -104
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +0 -84
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +0 -136
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts +0 -22
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js +0 -105
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +0 -53
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +0 -387
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts +0 -14
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.js +0 -41
- package/build/plugins/resource/function/utils/depsChecker/errors.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -26
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +0 -111
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js +0 -118
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +0 -6
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addModule.js +0 -35
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +0 -37
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/addResource.js +0 -261
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/init.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/init.js +0 -35
- package/build/plugins/solution/fx-solution/v3/init.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +0 -13
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +0 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +0 -27
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.js +0 -241
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +0 -1
- package/build/plugins/solution/spfx-solution/addModule.d.ts +0 -5
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/addModule.js +0 -29
- package/build/plugins/solution/spfx-solution/addModule.js.map +0 -1
- package/build/plugins/solution/spfx-solution/init.d.ts +0 -4
- package/build/plugins/solution/spfx-solution/init.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/init.js +0 -52
- package/build/plugins/solution/spfx-solution/init.js.map +0 -1
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +0 -13
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +0 -1
- package/build/plugins/solution/spfx-solution/scaffold.js +0 -105
- package/build/plugins/solution/spfx-solution/scaffold.js.map +0 -1
- package/resource/plugins/resource/function/dotnet-install.ps1 +0 -1095
- package/resource/plugins/resource/function/dotnet-install.sh +0 -1222
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
2
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
5
|
exports.zipDeploy = exports.generateZip = exports.build = exports.getFrameworkVersion = void 0;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
8
|
const path = tslib_1.__importStar(require("path"));
|
|
7
9
|
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
8
|
-
const templatesUtils_1 = require("../../../../../common/templatesUtils");
|
|
10
|
+
const templatesUtils_1 = require("../../../../../common/template-utils/templatesUtils");
|
|
9
11
|
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
10
12
|
const errors_1 = require("../resources/errors");
|
|
11
13
|
const constants_1 = require("../constants");
|
|
12
|
-
const execute_1 = require("../../../function/utils/execute");
|
|
13
14
|
const dir_walk_1 = require("../../../function/utils/dir-walk");
|
|
15
|
+
const logger_1 = require("../../utils/logger");
|
|
16
|
+
const messages_1 = require("../resources/messages");
|
|
17
|
+
const progress_helper_1 = require("../../utils/progress-helper");
|
|
18
|
+
const steps_1 = require("../resources/steps");
|
|
19
|
+
const utils_1 = require("../../utils");
|
|
14
20
|
async function getFrameworkVersion(projectFilePath) {
|
|
15
21
|
const content = await fs_extra_1.default.readFile(projectFilePath, "utf8");
|
|
16
22
|
const framework = content.match(constants_1.RegularExpr.targetFramework);
|
|
17
23
|
if (framework === null || framework === void 0 ? void 0 : framework.length) {
|
|
18
24
|
return framework[0].trim();
|
|
19
25
|
}
|
|
20
|
-
return constants_1.
|
|
26
|
+
return constants_1.DotnetPluginInfo.defaultFramework;
|
|
21
27
|
}
|
|
22
28
|
exports.getFrameworkVersion = getFrameworkVersion;
|
|
23
29
|
async function build(path, runtime) {
|
|
24
|
-
|
|
25
|
-
|
|
30
|
+
var _a;
|
|
31
|
+
(_a = progress_helper_1.ProgressHelper.progressHandler) === null || _a === void 0 ? void 0 : _a.next(steps_1.WebappDeployProgress.steps.build);
|
|
32
|
+
logger_1.Logger.info(messages_1.Messages.Build(path));
|
|
33
|
+
const command = constants_1.DotnetCommands.buildRelease(runtime);
|
|
34
|
+
await errors_1.runWithErrorCatchAndWrap((error) => new errors_1.BuildError(error), async () => await utils_1.Utils.execute(command, path));
|
|
26
35
|
}
|
|
27
36
|
exports.build = build;
|
|
28
37
|
async function generateZip(componentPath) {
|
|
@@ -48,15 +57,21 @@ async function generateZip(componentPath) {
|
|
|
48
57
|
}
|
|
49
58
|
exports.generateZip = generateZip;
|
|
50
59
|
async function zipDeploy(client, resourceGroupName, webAppName, componentPath) {
|
|
60
|
+
var _a, _b, _c;
|
|
61
|
+
logger_1.Logger.info(messages_1.Messages.GenerateZip(componentPath));
|
|
62
|
+
(_a = progress_helper_1.ProgressHelper.progressHandler) === null || _a === void 0 ? void 0 : _a.next(steps_1.WebappDeployProgress.steps.generateZip);
|
|
51
63
|
const zip = await errors_1.runWithErrorCatchAndThrow(new errors_1.ZipError(), async () => await generateZip(componentPath));
|
|
52
64
|
const zipContent = zip.toBuffer();
|
|
65
|
+
(_b = progress_helper_1.ProgressHelper.progressHandler) === null || _b === void 0 ? void 0 : _b.next(steps_1.WebappDeployProgress.steps.fetchCredential);
|
|
53
66
|
const publishCred = await errors_1.runWithErrorCatchAndThrow(new errors_1.PublishCredentialError(), async () => await client.webApps.listPublishingCredentials(resourceGroupName, webAppName));
|
|
54
67
|
const username = publishCred.publishingUserName;
|
|
55
68
|
const password = publishCred.publishingPassword;
|
|
56
69
|
if (!password) {
|
|
57
|
-
|
|
70
|
+
logger_1.Logger.error(messages_1.Messages.FailQueryPublishCred);
|
|
58
71
|
throw new errors_1.PublishCredentialError();
|
|
59
72
|
}
|
|
73
|
+
logger_1.Logger.info(messages_1.Messages.UploadZip(zipContent.length));
|
|
74
|
+
(_c = progress_helper_1.ProgressHelper.progressHandler) === null || _c === void 0 ? void 0 : _c.next(steps_1.WebappDeployProgress.steps.deploy);
|
|
60
75
|
await errors_1.runWithErrorCatchAndThrow(new errors_1.UploadZipError(), async () => await templatesUtils_1.sendRequestWithRetry(async () => await axios_1.default.post(constants_1.AzureInfo.zipDeployURL(webAppName), zipContent, {
|
|
61
76
|
headers: {
|
|
62
77
|
"Content-Type": "application/octet-stream",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/ops/deploy.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,gEAA0B;AAC1B,mDAA6B;AAC7B,8DAA6B;AAC7B,wFAA2F;AAC3F,0DAA0B;AAC1B,gDAO6B;AAE7B,4CAKsB;AACtB,+DAAqE;AACrE,+CAA4C;AAC5C,oDAAiD;AACjD,iEAA6D;AAC7D,8CAA4E;AAC5E,uCAAoC;AAE7B,KAAK,UAAU,mBAAmB,CAAC,eAAuB;IAC/D,MAAM,OAAO,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAC3D,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,uBAAW,CAAC,eAAe,CAAC,CAAC;IAC7D,IAAI,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;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;QACb,eAAM,CAAC,KAAK,CAAC,mBAAQ,CAAC,oBAAoB,CAAC,CAAC;QAC5C,MAAM,IAAI,+BAAsB,EAAE,CAAC;KACpC;IAED,eAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,MAAA,gCAAc,CAAC,eAAe,0CAAE,IAAI,CAAC,4BAAc,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClE,MAAM,kCAAyB,CAC7B,IAAI,uBAAc,EAAE,EACpB,KAAK,IAAI,EAAE,CACT,MAAM,qCAAoB,CACxB,KAAK,IAAI,EAAE,CACT,MAAM,eAAK,CAAC,IAAI,CAAC,qBAAS,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,UAAU,EAAE;QAC/D,OAAO,EAAE;YACP,cAAc,EAAE,0BAA0B;YAC1C,eAAe,EAAE,UAAU;SAC5B;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB;QACD,gBAAgB,EAAE,QAAQ;QAC1B,aAAa,EAAE,QAAQ;QACvB,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KACxB,CAAC,EACJ,CAAC,CACF,CACJ,CAAC;AACJ,CAAC;AAlDD,8BAkDC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Func, PluginContext } from "@microsoft/teamsfx-api";
|
|
2
|
+
import { TeamsFxResult } from "./error-factory";
|
|
3
|
+
import { WebSiteManagementModels } from "@azure/arm-appservice";
|
|
4
|
+
import { PluginImpl } from "../interface";
|
|
5
|
+
declare type Site = WebSiteManagementModels.Site;
|
|
6
|
+
export interface DotnetPluginConfig {
|
|
7
|
+
resourceGroupName?: string;
|
|
8
|
+
subscriptionId?: string;
|
|
9
|
+
resourceNameSuffix?: string;
|
|
10
|
+
location?: string;
|
|
11
|
+
webAppName?: string;
|
|
12
|
+
appServicePlanName?: string;
|
|
13
|
+
endpoint?: string;
|
|
14
|
+
domain?: string;
|
|
15
|
+
projectFilePath?: string;
|
|
16
|
+
webAppResourceId?: string;
|
|
17
|
+
site?: Site;
|
|
18
|
+
}
|
|
19
|
+
export declare class DotnetPluginImpl implements PluginImpl {
|
|
20
|
+
private syncConfigFromContext;
|
|
21
|
+
private checkAndGet;
|
|
22
|
+
scaffold(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
23
|
+
generateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
24
|
+
updateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
25
|
+
localDebug(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
26
|
+
postProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
27
|
+
preDeploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
28
|
+
executeUserTask(func: Func, ctx: PluginContext): Promise<TeamsFxResult>;
|
|
29
|
+
deploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,aAAa,EAA4B,MAAM,wBAAwB,CAAC;AAUvF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAmBhE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,aAAK,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IAEjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,qBAAa,gBAAiB,YAAW,UAAU;IACjD,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,WAAW;IAON,QAAQ,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAIpD,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IA6ChE,kBAAkB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IA0B9D,UAAU,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAItD,aAAa,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAIzD,SAAS,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAIrD,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAIvE,MAAM,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;CA0ChE"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DotnetPluginImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
// Copyright (c) Microsoft Corporation.
|
|
6
|
+
// Licensed under the MIT license.
|
|
7
|
+
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
+
const constants_1 = require("./constants");
|
|
9
|
+
const messages_1 = require("./resources/messages");
|
|
10
|
+
const azure_client_1 = require("./utils/azure-client");
|
|
11
|
+
const enum_1 = require("./enum");
|
|
12
|
+
const errors_1 = require("./resources/errors");
|
|
13
|
+
const Deploy = tslib_1.__importStar(require("./ops/deploy"));
|
|
14
|
+
const logger_1 = require("../utils/logger");
|
|
15
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
16
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
17
|
+
const folder_1 = require("../../../../folder");
|
|
18
|
+
const tools_1 = require("../../../../common/tools");
|
|
19
|
+
const constants_2 = require("../../../../common/constants");
|
|
20
|
+
const ResourcePluginContainer_1 = require("../../../solution/fx-solution/ResourcePluginContainer");
|
|
21
|
+
const adaptor_1 = require("../../../solution/fx-solution/v2/adaptor");
|
|
22
|
+
const progress_helper_1 = require("../utils/progress-helper");
|
|
23
|
+
const steps_1 = require("./resources/steps");
|
|
24
|
+
class DotnetPluginImpl {
|
|
25
|
+
syncConfigFromContext(ctx) {
|
|
26
|
+
var _a, _b;
|
|
27
|
+
const config = {};
|
|
28
|
+
const solutionConfig = ctx.envInfo.state.get(constants_1.DependentPluginInfo.solutionPluginName);
|
|
29
|
+
config.resourceGroupName = solutionConfig === null || solutionConfig === void 0 ? void 0 : solutionConfig.get(constants_1.DependentPluginInfo.resourceGroupName);
|
|
30
|
+
config.subscriptionId = solutionConfig === null || solutionConfig === void 0 ? void 0 : solutionConfig.get(constants_1.DependentPluginInfo.subscriptionId);
|
|
31
|
+
config.webAppName = ctx.config.get(constants_1.DotnetConfigInfo.webAppName);
|
|
32
|
+
config.appServicePlanName = ctx.config.get(constants_1.DotnetConfigInfo.appServicePlanName);
|
|
33
|
+
config.projectFilePath = (_b = (_a = ctx.projectSettings) === null || _a === void 0 ? void 0 : _a.pluginSettings) === null || _b === void 0 ? void 0 : _b.projectFilePath;
|
|
34
|
+
// Resource id priors to other configs
|
|
35
|
+
const webAppResourceId = ctx.config.get(enum_1.DotnetConfigKey.webAppResourceId);
|
|
36
|
+
if (webAppResourceId) {
|
|
37
|
+
config.webAppResourceId = webAppResourceId;
|
|
38
|
+
config.resourceGroupName = tools_1.getResourceGroupNameFromResourceId(webAppResourceId);
|
|
39
|
+
config.webAppName = tools_1.getSiteNameFromResourceId(webAppResourceId);
|
|
40
|
+
config.subscriptionId = tools_1.getSubscriptionIdFromResourceId(webAppResourceId);
|
|
41
|
+
}
|
|
42
|
+
return config;
|
|
43
|
+
}
|
|
44
|
+
checkAndGet(v, key) {
|
|
45
|
+
if (v) {
|
|
46
|
+
return v;
|
|
47
|
+
}
|
|
48
|
+
throw new errors_1.FetchConfigError(key);
|
|
49
|
+
}
|
|
50
|
+
async scaffold(ctx) {
|
|
51
|
+
return teamsfx_api_1.ok(undefined);
|
|
52
|
+
}
|
|
53
|
+
async generateArmTemplates(ctx) {
|
|
54
|
+
logger_1.Logger.info(messages_1.Messages.StartGenerateArmTemplates);
|
|
55
|
+
const bicepTemplateDirectory = constants_1.DotnetPathInfo.bicepTemplateFolder(folder_1.getTemplatesFolder());
|
|
56
|
+
const provisionTemplateFilePath = path_1.default.join(bicepTemplateDirectory, constants_2.Bicep.ProvisionFileName);
|
|
57
|
+
const provisionWebappTemplateFilePath = path_1.default.join(bicepTemplateDirectory, constants_1.WebappBicepFile.provisionTemplateFileName);
|
|
58
|
+
const configTemplateFilePath = path_1.default.join(bicepTemplateDirectory, constants_2.Bicep.ConfigFileName);
|
|
59
|
+
const configWebappTemplateFilePath = path_1.default.join(bicepTemplateDirectory, constants_1.WebappBicepFile.configurationTemplateFileName);
|
|
60
|
+
const plugins = ResourcePluginContainer_1.getActivatedV2ResourcePlugins(ctx.projectSettings).map((p) => new adaptor_1.NamedArmResourcePluginAdaptor(p));
|
|
61
|
+
const pluginCtx = { plugins: plugins.map((obj) => obj.name) };
|
|
62
|
+
const provisionOrchestration = await tools_1.generateBicepFromFile(provisionTemplateFilePath, pluginCtx);
|
|
63
|
+
const provisionModule = await tools_1.generateBicepFromFile(provisionWebappTemplateFilePath, pluginCtx);
|
|
64
|
+
const configOrchestration = await tools_1.generateBicepFromFile(configTemplateFilePath, pluginCtx);
|
|
65
|
+
const configModule = await tools_1.generateBicepFromFile(configWebappTemplateFilePath, pluginCtx);
|
|
66
|
+
const result = {
|
|
67
|
+
Provision: {
|
|
68
|
+
Orchestration: provisionOrchestration,
|
|
69
|
+
Modules: { webapp: provisionModule },
|
|
70
|
+
},
|
|
71
|
+
Configuration: {
|
|
72
|
+
Orchestration: configOrchestration,
|
|
73
|
+
Modules: { webapp: configModule },
|
|
74
|
+
},
|
|
75
|
+
Reference: constants_1.WebappBicep.Reference,
|
|
76
|
+
};
|
|
77
|
+
logger_1.Logger.info(messages_1.Messages.EndGenerateArmTemplates);
|
|
78
|
+
return teamsfx_api_1.ok(result);
|
|
79
|
+
}
|
|
80
|
+
async updateArmTemplates(ctx) {
|
|
81
|
+
logger_1.Logger.info(messages_1.Messages.EndUpdateArmTemplates);
|
|
82
|
+
const bicepTemplateDirectory = constants_1.DotnetPathInfo.bicepTemplateFolder(folder_1.getTemplatesFolder());
|
|
83
|
+
const configWebappTemplateFilePath = path_1.default.join(bicepTemplateDirectory, constants_1.WebappBicepFile.configurationTemplateFileName);
|
|
84
|
+
const plugins = ResourcePluginContainer_1.getActivatedV2ResourcePlugins(ctx.projectSettings).map((p) => new adaptor_1.NamedArmResourcePluginAdaptor(p));
|
|
85
|
+
const pluginCtx = { plugins: plugins.map((obj) => obj.name) };
|
|
86
|
+
const configModule = await tools_1.generateBicepFromFile(configWebappTemplateFilePath, pluginCtx);
|
|
87
|
+
const result = {
|
|
88
|
+
Reference: constants_1.WebappBicep.Reference,
|
|
89
|
+
Configuration: {
|
|
90
|
+
Modules: { webapp: configModule },
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
logger_1.Logger.info(messages_1.Messages.EndUpdateArmTemplates);
|
|
94
|
+
return teamsfx_api_1.ok(result);
|
|
95
|
+
}
|
|
96
|
+
async localDebug(ctx) {
|
|
97
|
+
return teamsfx_api_1.ok(undefined);
|
|
98
|
+
}
|
|
99
|
+
async postProvision(ctx) {
|
|
100
|
+
return teamsfx_api_1.ok(undefined);
|
|
101
|
+
}
|
|
102
|
+
async preDeploy(ctx) {
|
|
103
|
+
return teamsfx_api_1.ok(undefined);
|
|
104
|
+
}
|
|
105
|
+
async executeUserTask(func, ctx) {
|
|
106
|
+
return teamsfx_api_1.ok(undefined);
|
|
107
|
+
}
|
|
108
|
+
async deploy(ctx) {
|
|
109
|
+
var _a;
|
|
110
|
+
logger_1.Logger.info(messages_1.Messages.StartDeploy);
|
|
111
|
+
await progress_helper_1.ProgressHelper.startProgress(ctx, steps_1.WebappDeployProgress);
|
|
112
|
+
const config = this.syncConfigFromContext(ctx);
|
|
113
|
+
const webAppName = this.checkAndGet(config.webAppName, enum_1.DotnetConfigKey.webAppName);
|
|
114
|
+
const resourceGroupName = this.checkAndGet(config.resourceGroupName, enum_1.DotnetConfigKey.resourceGroupName);
|
|
115
|
+
const subscriptionId = this.checkAndGet(config.subscriptionId, enum_1.DotnetConfigKey.subscriptionId);
|
|
116
|
+
const credential = this.checkAndGet(await ((_a = ctx.azureAccountProvider) === null || _a === void 0 ? void 0 : _a.getAccountCredentialAsync()), enum_1.DotnetConfigKey.credential);
|
|
117
|
+
const projectFilePath = path_1.default.resolve(ctx.root, this.checkAndGet(config.projectFilePath, enum_1.DotnetConfigKey.projectFilePath));
|
|
118
|
+
await errors_1.runWithErrorCatchAndThrow(new errors_1.ProjectPathError(projectFilePath), async () => await fs_extra_1.default.pathExists(projectFilePath));
|
|
119
|
+
const projectPath = path_1.default.dirname(projectFilePath);
|
|
120
|
+
const framework = await Deploy.getFrameworkVersion(projectFilePath);
|
|
121
|
+
const runtime = constants_1.DotnetPluginInfo.defaultRuntime;
|
|
122
|
+
const client = azure_client_1.AzureClientFactory.getWebSiteManagementClient(credential, subscriptionId);
|
|
123
|
+
await Deploy.build(projectPath, runtime);
|
|
124
|
+
const folderToBeZipped = constants_1.DotnetPathInfo.publishFolderPath(projectPath, framework, runtime);
|
|
125
|
+
await Deploy.zipDeploy(client, resourceGroupName, webAppName, folderToBeZipped);
|
|
126
|
+
await progress_helper_1.ProgressHelper.endProgress(true);
|
|
127
|
+
logger_1.Logger.info(messages_1.Messages.EndDeploy);
|
|
128
|
+
return teamsfx_api_1.ok(undefined);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.DotnetPluginImpl = DotnetPluginImpl;
|
|
132
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/dotnet/plugin.ts"],"names":[],"mappings":";;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,wDAAuF;AACvF,2CAOqB;AACrB,mDAAgD;AAGhD,uDAA0D;AAC1D,iCAAsD;AACtD,+CAAmG;AACnG,6DAAuC;AACvC,4CAAyC;AACzC,wDAAwB;AACxB,gEAA0B;AAC1B,+CAAwD;AACxD,oDAKkC;AAClC,4DAAqD;AACrD,mGAAsG;AACtG,sEAAyF;AAGzF,8DAA0D;AAC1D,6CAA2E;AAuB3E,MAAa,gBAAgB;IACnB,qBAAqB,CAAC,GAAkB;;QAC9C,MAAM,MAAM,GAAuB,EAAE,CAAC;QACtC,MAAM,cAAc,GAAqC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAC5E,+BAAmB,CAAC,kBAAkB,CACvC,CAAC;QACF,MAAM,CAAC,iBAAiB,GAAG,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,+BAAmB,CAAC,iBAAiB,CAAW,CAAC;QAChG,MAAM,CAAC,cAAc,GAAG,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,+BAAmB,CAAC,cAAc,CAAW,CAAC;QAE1F,MAAM,CAAC,UA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,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;QACpE,MAAM,OAAO,GAAG,4BAAU,CAAC,cAAc,CAAC;QAE1C,MAAM,MAAM,GAAG,iCAAkB,CAAC,0BAA0B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAEzF,MAAM,MAAM,CAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAEzC,MAAM,gBAAgB,GAAG,0BAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QACrF,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAEhF,MAAM,gCAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvC,eAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,SAAS,CAAC,CAAC;QAChC,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC;CACF;AApKD,4CAoKC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FrontendPluginError } from "../../resources/errors";
|
|
2
|
+
export declare enum ErrorType {
|
|
3
|
+
User = 0,
|
|
4
|
+
System = 1
|
|
5
|
+
}
|
|
6
|
+
export declare class DotnetPluginError extends FrontendPluginError {
|
|
7
|
+
innerError?: Error;
|
|
8
|
+
constructor(errorType: ErrorType, code: string, message: string, suggestions: string[], helpLink?: string, innerError?: Error);
|
|
9
|
+
getMessage(): string;
|
|
10
|
+
setInnerError(error: Error): void;
|
|
11
|
+
getInnerError(): Error | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare class FetchConfigError extends DotnetPluginError {
|
|
14
|
+
constructor(key: string);
|
|
15
|
+
}
|
|
16
|
+
export declare class ProjectPathError extends DotnetPluginError {
|
|
17
|
+
constructor(projectFilePath: string);
|
|
18
|
+
}
|
|
19
|
+
export declare class BuildError extends DotnetPluginError {
|
|
20
|
+
constructor(innerError?: Error);
|
|
21
|
+
}
|
|
22
|
+
export declare class ZipError extends DotnetPluginError {
|
|
23
|
+
constructor();
|
|
24
|
+
}
|
|
25
|
+
export declare class PublishCredentialError extends DotnetPluginError {
|
|
26
|
+
constructor();
|
|
27
|
+
}
|
|
28
|
+
export declare class UploadZipError extends DotnetPluginError {
|
|
29
|
+
constructor();
|
|
30
|
+
}
|
|
31
|
+
export declare const UnhandledErrorCode = "UnhandledError";
|
|
32
|
+
export declare const UnhandledErrorMessage = "Unhandled error.";
|
|
33
|
+
export declare function runWithErrorCatchAndThrow<T>(error: DotnetPluginError, fn: () => T | Promise<T>): Promise<T>;
|
|
34
|
+
export declare function runWithErrorCatchAndWrap<T>(wrap: (error: any) => DotnetPluginError, fn: () => T | Promise<T>): Promise<T>;
|
|
35
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/errors.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,oBAAY,SAAS;IACnB,IAAI,IAAA;IACJ,MAAM,IAAA;CACP;AAYD,qBAAa,iBAAkB,SAAQ,mBAAmB;IACjD,UAAU,CAAC,EAAE,KAAK,CAAC;gBAGxB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EAAE,EACrB,QAAQ,CAAC,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,KAAK;IAMpB,UAAU,IAAI,MAAM;IAIpB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAIjC,aAAa,IAAI,KAAK,GAAG,SAAS;CAGnC;AAED,qBAAa,gBAAiB,SAAQ,iBAAiB;gBACzC,GAAG,EAAE,MAAM;CAKxB;AAED,qBAAa,gBAAiB,SAAQ,iBAAiB;gBACzC,eAAe,EAAE,MAAM;CAMpC;AAED,qBAAa,UAAW,SAAQ,iBAAiB;gBACnC,UAAU,CAAC,EAAE,KAAK;CAU/B;AAED,qBAAa,QAAS,SAAQ,iBAAiB;;CAO9C;AAED,qBAAa,sBAAuB,SAAQ,iBAAiB;;CAO5D;AAED,qBAAa,cAAe,SAAQ,iBAAiB;;CAOpD;AAED,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,wBAAsB,yBAAyB,CAAC,CAAC,EAC/C,KAAK,EAAE,iBAAiB,EACxB,EAAE,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GACvB,OAAO,CAAC,CAAC,CAAC,CAQZ;AAED,wBAAsB,wBAAwB,CAAC,CAAC,EAC9C,IAAI,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,iBAAiB,EACvC,EAAE,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GACvB,OAAO,CAAC,CAAC,CAAC,CASZ"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.runWithErrorCatchAndWrap = exports.runWithErrorCatchAndThrow = exports.UnhandledErrorMessage = exports.UnhandledErrorCode = exports.UploadZipError = exports.PublishCredentialError = exports.ZipError = exports.BuildError = exports.ProjectPathError = exports.
|
|
5
|
+
exports.runWithErrorCatchAndWrap = exports.runWithErrorCatchAndThrow = exports.UnhandledErrorMessage = exports.UnhandledErrorCode = exports.UploadZipError = exports.PublishCredentialError = exports.ZipError = exports.BuildError = exports.ProjectPathError = exports.FetchConfigError = exports.DotnetPluginError = exports.ErrorType = void 0;
|
|
6
6
|
const logger_1 = require("../../utils/logger");
|
|
7
7
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
8
|
const errors_1 = require("../../resources/errors");
|
|
@@ -20,7 +20,7 @@ const tips = {
|
|
|
20
20
|
checkFsPermissions: "Check if you have Read/Write permissions to your file system.",
|
|
21
21
|
restoreEnvironment: `If you manually updated configuration files (under directory .${teamsfx_api_1.ConfigFolderName}), recover them.`,
|
|
22
22
|
};
|
|
23
|
-
class
|
|
23
|
+
class DotnetPluginError extends errors_1.FrontendPluginError {
|
|
24
24
|
constructor(errorType, code, message, suggestions, helpLink, innerError) {
|
|
25
25
|
super(errorType, code, message, suggestions, helpLink);
|
|
26
26
|
this.innerError = innerError;
|
|
@@ -35,8 +35,8 @@ class BlazorPluginError extends errors_1.FrontendPluginError {
|
|
|
35
35
|
return this.innerError;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
exports.
|
|
39
|
-
class FetchConfigError extends
|
|
38
|
+
exports.DotnetPluginError = DotnetPluginError;
|
|
39
|
+
class FetchConfigError extends DotnetPluginError {
|
|
40
40
|
constructor(key) {
|
|
41
41
|
super(ErrorType.User, "FetchConfigError", `Failed to find ${key} from configuration`, [
|
|
42
42
|
tips.restoreEnvironment,
|
|
@@ -44,19 +44,7 @@ class FetchConfigError extends BlazorPluginError {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.FetchConfigError = FetchConfigError;
|
|
47
|
-
class
|
|
48
|
-
constructor(resource, innerErrorCode) {
|
|
49
|
-
super(ErrorType.User, "ProvisionError", `Failed to check/create '${resource}' for blazor app${innerErrorCode ? `: ${innerErrorCode}` : ""}.`, [tips.reProvision]);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.ProvisionError = ProvisionError;
|
|
53
|
-
class ConfigureWebAppError extends BlazorPluginError {
|
|
54
|
-
constructor(innerErrorCode) {
|
|
55
|
-
super(ErrorType.User, "ConfigureWebAppError", `Failed to retrieve or update Azure Web App Settings${innerErrorCode ? `: ${innerErrorCode}` : ""}.`, [tips.reProvision]);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.ConfigureWebAppError = ConfigureWebAppError;
|
|
59
|
-
class ProjectPathError extends BlazorPluginError {
|
|
47
|
+
class ProjectPathError extends DotnetPluginError {
|
|
60
48
|
constructor(projectFilePath) {
|
|
61
49
|
super(ErrorType.User, "ProjectPathError", `Failed to find target project ${projectFilePath}.`, [
|
|
62
50
|
tips.checkLog,
|
|
@@ -65,13 +53,13 @@ class ProjectPathError extends BlazorPluginError {
|
|
|
65
53
|
}
|
|
66
54
|
}
|
|
67
55
|
exports.ProjectPathError = ProjectPathError;
|
|
68
|
-
class BuildError extends
|
|
56
|
+
class BuildError extends DotnetPluginError {
|
|
69
57
|
constructor(innerError) {
|
|
70
|
-
super(ErrorType.User, "BuildError", "Failed to build
|
|
58
|
+
super(ErrorType.User, "BuildError", "Failed to build Dotnet project.", [tips.checkLog, tips.reDeploy], undefined, innerError);
|
|
71
59
|
}
|
|
72
60
|
}
|
|
73
61
|
exports.BuildError = BuildError;
|
|
74
|
-
class ZipError extends
|
|
62
|
+
class ZipError extends DotnetPluginError {
|
|
75
63
|
constructor() {
|
|
76
64
|
super(ErrorType.User, "ZipError", "Failed to generate zip package.", [
|
|
77
65
|
tips.checkFsPermissions,
|
|
@@ -80,7 +68,7 @@ class ZipError extends BlazorPluginError {
|
|
|
80
68
|
}
|
|
81
69
|
}
|
|
82
70
|
exports.ZipError = ZipError;
|
|
83
|
-
class PublishCredentialError extends
|
|
71
|
+
class PublishCredentialError extends DotnetPluginError {
|
|
84
72
|
constructor() {
|
|
85
73
|
super(ErrorType.User, "PublishCredentialError", "Failed to retrieve publish credential.", [
|
|
86
74
|
tips.doProvision,
|
|
@@ -89,7 +77,7 @@ class PublishCredentialError extends BlazorPluginError {
|
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
exports.PublishCredentialError = PublishCredentialError;
|
|
92
|
-
class UploadZipError extends
|
|
80
|
+
class UploadZipError extends DotnetPluginError {
|
|
93
81
|
constructor() {
|
|
94
82
|
super(ErrorType.User, "UploadZipError", "Failed to upload zip package.", [
|
|
95
83
|
tips.checkNetwork,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/errors.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,+CAA4C;AAC5C,wDAA0D;AAC1D,mDAA6D;AAE7D,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,6CAAM,CAAA;AACR,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,MAAM,IAAI,GAAG;IACX,QAAQ,EAAE,iCAAiC;IAC3C,WAAW,EAAE,+CAA+C;IAC5D,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,6BAA6B;IACvC,YAAY,EAAE,gCAAgC;IAC9C,kBAAkB,EAAE,+DAA+D;IACnF,kBAAkB,EAAE,iEAAiE,8BAAgB,kBAAkB;CACxH,CAAC;AAEF,MAAa,iBAAkB,SAAQ,4BAAmB;IAGxD,YACE,SAAoB,EACpB,IAAY,EACZ,OAAe,EACf,WAAqB,EACrB,QAAiB,EACjB,UAAkB;QAElB,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;QACvD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,UAAU;QACR,OAAO,GAAG,IAAI,CAAC,OAAO,iBAAiB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACtE,CAAC;IAED,aAAa,CAAC,KAAY;QACxB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;CACF;AA1BD,8CA0BC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;IACrD,YAAY,GAAW;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CACF;AAPD,wCAOC;AAEY,QAAA,kBAAkB,GAAG,gBAAgB,CAAC;AACtC,QAAA,qBAAqB,GAAG,kBAAkB,CAAC;AAEjD,KAAK,UAAU,yBAAyB,CAC7C,KAAwB,EACxB,EAAwB;IAExB,IAAI;QACF,OAAO,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;KACpC;IAAC,OAAO,CAAM,EAAE;QACf,eAAM,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3B,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACvB,MAAM,KAAK,CAAC;KACb;AACH,CAAC;AAXD,8DAWC;AAEM,KAAK,UAAU,wBAAwB,CAC5C,IAAuC,EACvC,EAAwB;IAExB,IAAI;QACF,OAAO,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;KACpC;IAAC,OAAO,CAAM,EAAE;QACf,eAAM,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACvB,MAAM,KAAK,CAAC;KACb;AACH,CAAC;AAZD,4DAYC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare class Messages {
|
|
2
|
+
static readonly StartScaffold = "Scaffolding.";
|
|
3
|
+
static readonly EndScaffold = "Successfully scaffolded.";
|
|
4
|
+
static readonly StartDeploy = "Deploying.";
|
|
5
|
+
static readonly EndDeploy = "Successfully deployed.";
|
|
6
|
+
static readonly StartGenerateArmTemplates = "Generating ARM templates.";
|
|
7
|
+
static readonly EndGenerateArmTemplates = "Successfully generated ARM templates.";
|
|
8
|
+
static readonly StartUpdateArmTemplates = "Updating ARM templates.";
|
|
9
|
+
static readonly EndUpdateArmTemplates = "Successfully updated ARM templates.";
|
|
10
|
+
static readonly Build: (projectPath: string) => string;
|
|
11
|
+
static readonly GenerateZip: (projectPath: string) => string;
|
|
12
|
+
static readonly FailQueryPublishCred = "Failed to find publish credentials.";
|
|
13
|
+
static readonly UploadZip: (size: number) => string;
|
|
14
|
+
}
|
|
15
|
+
export declare class ProgressTitle {
|
|
16
|
+
static readonly DeployProgressTitle = "Deploying to Azure Web App";
|
|
17
|
+
}
|
|
18
|
+
export declare class ProgressMessages {
|
|
19
|
+
static readonly Build = "Building target project.";
|
|
20
|
+
static readonly GenerateZip = "Generating zip package.";
|
|
21
|
+
static readonly FetchCredential = "Retrieving deploy credentials.";
|
|
22
|
+
static readonly Deploy = "Uploading zip package.";
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/messages.ts"],"names":[],"mappings":"AAGA,qBAAa,QAAQ;IAEnB,MAAM,CAAC,QAAQ,CAAC,aAAa,kBAAkB;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,8BAA8B;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAgB;IAC3C,MAAM,CAAC,QAAQ,CAAC,SAAS,4BAA4B;IACrD,MAAM,CAAC,QAAQ,CAAC,yBAAyB,+BAA+B;IACxE,MAAM,CAAC,QAAQ,CAAC,uBAAuB,2CAA2C;IAClF,MAAM,CAAC,QAAQ,CAAC,uBAAuB,6BAA6B;IACpE,MAAM,CAAC,QAAQ,CAAC,qBAAqB,yCAAyC;IAE9E,MAAM,CAAC,QAAQ,CAAC,KAAK,gBAAiB,MAAM,YAAgC;IAC5E,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAiB,MAAM,YAA6C;IAC/F,MAAM,CAAC,QAAQ,CAAC,oBAAoB,yCAAyC;IAC7E,MAAM,CAAC,QAAQ,CAAC,SAAS,SAAU,MAAM,YAAsC;CAChF;AAED,qBAAa,aAAa;IACxB,MAAM,CAAC,QAAQ,CAAC,mBAAmB,gCAAgC;CACpE;AAED,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,KAAK,8BAA8B;IACnD,MAAM,CAAC,QAAQ,CAAC,WAAW,6BAA6B;IACxD,MAAM,CAAC,QAAQ,CAAC,eAAe,oCAAoC;IACnE,MAAM,CAAC,QAAQ,CAAC,MAAM,4BAA4B;CACnD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProgressMessages = exports.ProgressTitle = exports.Messages = void 0;
|
|
6
|
+
class Messages {
|
|
7
|
+
}
|
|
8
|
+
exports.Messages = Messages;
|
|
9
|
+
// Logging messages
|
|
10
|
+
Messages.StartScaffold = "Scaffolding.";
|
|
11
|
+
Messages.EndScaffold = "Successfully scaffolded.";
|
|
12
|
+
Messages.StartDeploy = "Deploying.";
|
|
13
|
+
Messages.EndDeploy = "Successfully deployed.";
|
|
14
|
+
Messages.StartGenerateArmTemplates = "Generating ARM templates.";
|
|
15
|
+
Messages.EndGenerateArmTemplates = "Successfully generated ARM templates.";
|
|
16
|
+
Messages.StartUpdateArmTemplates = "Updating ARM templates.";
|
|
17
|
+
Messages.EndUpdateArmTemplates = "Successfully updated ARM templates.";
|
|
18
|
+
Messages.Build = (projectPath) => `Building ${projectPath}.`;
|
|
19
|
+
Messages.GenerateZip = (projectPath) => `Adding ${projectPath} to zip package.`;
|
|
20
|
+
Messages.FailQueryPublishCred = "Failed to find publish credentials.";
|
|
21
|
+
Messages.UploadZip = (size) => `Upload zip package (${size}B).`;
|
|
22
|
+
class ProgressTitle {
|
|
23
|
+
}
|
|
24
|
+
exports.ProgressTitle = ProgressTitle;
|
|
25
|
+
ProgressTitle.DeployProgressTitle = "Deploying to Azure Web App";
|
|
26
|
+
class ProgressMessages {
|
|
27
|
+
}
|
|
28
|
+
exports.ProgressMessages = ProgressMessages;
|
|
29
|
+
ProgressMessages.Build = "Building target project.";
|
|
30
|
+
ProgressMessages.GenerateZip = "Generating zip package.";
|
|
31
|
+
ProgressMessages.FetchCredential = "Retrieving deploy credentials.";
|
|
32
|
+
ProgressMessages.Deploy = "Uploading zip package.";
|
|
33
|
+
//# sourceMappingURL=messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/messages.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,MAAa,QAAQ;;AAArB,4BAeC;AAdC,mBAAmB;AACH,sBAAa,GAAG,cAAc,CAAC;AAC/B,oBAAW,GAAG,0BAA0B,CAAC;AACzC,oBAAW,GAAG,YAAY,CAAC;AAC3B,kBAAS,GAAG,wBAAwB,CAAC;AACrC,kCAAyB,GAAG,2BAA2B,CAAC;AACxD,gCAAuB,GAAG,uCAAuC,CAAC;AAClE,gCAAuB,GAAG,yBAAyB,CAAC;AACpD,8BAAqB,GAAG,qCAAqC,CAAC;AAE9D,cAAK,GAAG,CAAC,WAAmB,EAAE,EAAE,CAAC,YAAY,WAAW,GAAG,CAAC;AAC5D,oBAAW,GAAG,CAAC,WAAmB,EAAE,EAAE,CAAC,UAAU,WAAW,kBAAkB,CAAC;AAC/E,6BAAoB,GAAG,qCAAqC,CAAC;AAC7D,kBAAS,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,uBAAuB,IAAI,KAAK,CAAC;AAGjF,MAAa,aAAa;;AAA1B,sCAEC;AADiB,iCAAmB,GAAG,4BAA4B,CAAC;AAGrE,MAAa,gBAAgB;;AAA7B,4CAKC;AAJiB,sBAAK,GAAG,0BAA0B,CAAC;AACnC,4BAAW,GAAG,yBAAyB,CAAC;AACxC,gCAAe,GAAG,gCAAgC,CAAC;AACnD,uBAAM,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/steps.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGxD,eAAO,MAAM,oBAAoB,EAAE,SAQlC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.WebappDeployProgress = void 0;
|
|
6
|
+
const messages_1 = require("./messages");
|
|
7
|
+
exports.WebappDeployProgress = {
|
|
8
|
+
title: messages_1.ProgressTitle.DeployProgressTitle,
|
|
9
|
+
steps: {
|
|
10
|
+
build: messages_1.ProgressMessages.Build,
|
|
11
|
+
generateZip: messages_1.ProgressMessages.GenerateZip,
|
|
12
|
+
fetchCredential: messages_1.ProgressMessages.FetchCredential,
|
|
13
|
+
deploy: messages_1.ProgressMessages.Deploy,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/resources/steps.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,yCAA6D;AAEhD,QAAA,oBAAoB,GAAc;IAC7C,KAAK,EAAE,wBAAa,CAAC,mBAAmB;IACxC,KAAK,EAAE;QACL,KAAK,EAAE,2BAAgB,CAAC,KAAK;QAC7B,WAAW,EAAE,2BAAgB,CAAC,WAAW;QACzC,eAAe,EAAE,2BAAgB,CAAC,eAAe;QACjD,MAAM,EAAE,2BAAgB,CAAC,MAAM;KAChC;CACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TokenCredentialsBase } from "@azure/ms-rest-nodeauth";
|
|
2
|
+
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
|
3
|
+
export declare class AzureClientFactory {
|
|
4
|
+
static getWebSiteManagementClient(credentials: TokenCredentialsBase, subscriptionId: string): WebSiteManagementClient;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=azure-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azure-client.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/utils/azure-client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,qBAAa,kBAAkB;WACf,0BAA0B,CACtC,WAAW,EAAE,oBAAoB,EACjC,cAAc,EAAE,MAAM,GACrB,uBAAuB;CAG3B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AzureClientFactory = void 0;
|
|
4
|
+
const arm_appservice_1 = require("@azure/arm-appservice");
|
|
5
|
+
class AzureClientFactory {
|
|
6
|
+
static getWebSiteManagementClient(credentials, subscriptionId) {
|
|
7
|
+
return new arm_appservice_1.WebSiteManagementClient(credentials, subscriptionId);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.AzureClientFactory = AzureClientFactory;
|
|
11
|
+
//# sourceMappingURL=azure-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azure-client.js","sourceRoot":"","sources":["../../../../../../src/plugins/resource/frontend/dotnet/utils/azure-client.ts"],"names":[],"mappings":";;;AAGA,0DAAgE;AAEhE,MAAa,kBAAkB;IACtB,MAAM,CAAC,0BAA0B,CACtC,WAAiC,EACjC,cAAsB;QAEtB,OAAO,IAAI,wCAAuB,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IAClE,CAAC;CACF;AAPD,gDAOC"}
|
|
@@ -2,22 +2,24 @@ import { FrontendPluginImpl } from "./plugin";
|
|
|
2
2
|
import { Plugin, PluginContext, AzureSolutionSettings, Func } from "@microsoft/teamsfx-api";
|
|
3
3
|
import { TeamsFxResult } from "./error-factory";
|
|
4
4
|
import "./v2";
|
|
5
|
-
import
|
|
5
|
+
import "./v3";
|
|
6
|
+
import { DotnetPluginImpl } from "./dotnet/plugin";
|
|
6
7
|
export declare class FrontendPlugin implements Plugin {
|
|
7
8
|
name: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
activate(solutionSettings: AzureSolutionSettings): boolean;
|
|
10
11
|
frontendPluginImpl: FrontendPluginImpl;
|
|
11
|
-
|
|
12
|
+
dotnetPluginImpl: DotnetPluginImpl;
|
|
13
|
+
private getImpl;
|
|
12
14
|
private static setContext;
|
|
15
|
+
private static isVsPlatform;
|
|
13
16
|
scaffold(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
14
|
-
preProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
15
|
-
provision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
16
17
|
postProvision(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
17
18
|
preDeploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
18
19
|
deploy(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
19
20
|
updateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
20
21
|
generateArmTemplates(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
22
|
+
localDebug(ctx: PluginContext): Promise<TeamsFxResult>;
|
|
21
23
|
executeUserTask(func: Func, ctx: PluginContext): Promise<TeamsFxResult>;
|
|
22
24
|
private runWithErrorHandling;
|
|
23
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/resource/frontend/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