@microsoft/teamsfx-core 1.4.0 → 1.4.1-alpha.0535e2d27.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/constants.d.ts +1 -0
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +1 -0
- package/build/common/constants.js.map +1 -1
- package/build/common/local/constants.d.ts +0 -4
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +1 -5
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/localEnvProvider.d.ts +4 -8
- package/build/common/local/localEnvProvider.d.ts.map +1 -1
- package/build/common/local/localEnvProvider.js +21 -33
- package/build/common/local/localEnvProvider.js.map +1 -1
- package/build/common/local/localSettingsHelper.d.ts.map +1 -1
- package/build/common/local/localSettingsHelper.js +12 -21
- package/build/common/local/localSettingsHelper.js.map +1 -1
- package/build/common/local/portChecker.d.ts.map +1 -1
- package/build/common/local/portChecker.js +1 -8
- package/build/common/local/portChecker.js.map +1 -1
- package/build/common/local/projectSettingsHelper.d.ts +0 -1
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +2 -5
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts +2 -2
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +4 -4
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/projectSettingsValidator.d.ts.map +1 -1
- package/build/common/projectSettingsValidator.js +5 -0
- package/build/common/projectSettingsValidator.js.map +1 -1
- package/build/common/samples-config.json +12 -2
- package/build/common/template-utils/templates.d.ts +1 -0
- package/build/common/template-utils/templates.d.ts.map +1 -1
- package/build/common/template-utils/templates.js +5 -1
- package/build/common/template-utils/templates.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +0 -4
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +1 -20
- package/build/common/tools.js.map +1 -1
- package/build/core/SolutionPluginContainer.js +1 -1
- package/build/core/SolutionPluginContainer.js.map +1 -1
- package/build/core/collaborator.d.ts +10 -0
- package/build/core/collaborator.d.ts.map +1 -0
- package/build/core/collaborator.js +381 -0
- package/build/core/collaborator.js.map +1 -0
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +7 -2
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +0 -6
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -25
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +11 -9
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +232 -233
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +1 -2
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +3 -0
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/index.d.ts +0 -2
- package/build/core/middleware/index.d.ts.map +1 -1
- package/build/core/middleware/index.js +0 -2
- package/build/core/middleware/index.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +2 -2
- 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 +28 -35
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +0 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +48 -71
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/solutionLoaderV3.js +1 -8
- package/build/core/middleware/solutionLoaderV3.js.map +1 -1
- package/build/core/question.d.ts +0 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +1 -26
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +0 -2
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +3 -63
- package/build/core/tools.js.map +1 -1
- package/build/core/utils.d.ts +1 -2
- package/build/core/utils.d.ts.map +1 -1
- package/build/core/utils.js +1 -5
- package/build/core/utils.js.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts +4 -4
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +3 -3
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/index.js +0 -3
- package/build/plugins/resource/aad/index.js.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +13 -8
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/v2/index.d.ts +3 -2
- package/build/plugins/resource/aad/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v2/index.js +4 -4
- package/build/plugins/resource/aad/v2/index.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +8 -2
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v3/index.js +148 -49
- package/build/plugins/resource/aad/v3/index.js.map +1 -1
- package/build/plugins/resource/apim/config.js +2 -1
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.js +8 -4
- package/build/plugins/resource/apim/managers/questionManager.js.map +1 -1
- package/build/plugins/resource/apim/v3/index.d.ts +7 -7
- package/build/plugins/resource/apim/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/apim/v3/index.js +63 -55
- package/build/plugins/resource/apim/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +1 -1
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +8 -16
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +8 -16
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +0 -4
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +0 -21
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +3 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +111 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -13
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +46 -127
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +22 -10
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +2 -2
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +2 -2
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +24 -4
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +133 -5
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.d.ts +17 -4
- package/build/plugins/resource/appstudio/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.js +117 -25
- package/build/plugins/resource/appstudio/v3/plugin.js.map +1 -1
- package/build/plugins/resource/bot/configs/deployConfig.js.map +1 -1
- package/build/plugins/resource/bot/constants.d.ts +0 -4
- package/build/plugins/resource/bot/constants.d.ts.map +1 -1
- package/build/plugins/resource/bot/constants.js +0 -6
- package/build/plugins/resource/bot/constants.js.map +1 -1
- package/build/plugins/resource/bot/dotnet/plugin.d.ts +0 -3
- package/build/plugins/resource/bot/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/dotnet/plugin.js +0 -9
- package/build/plugins/resource/bot/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/bot/errors.d.ts +0 -3
- package/build/plugins/resource/bot/errors.d.ts.map +1 -1
- package/build/plugins/resource/bot/errors.js +1 -9
- package/build/plugins/resource/bot/errors.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts +2 -3
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +5 -16
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/interface.d.ts +0 -1
- package/build/plugins/resource/bot/interface.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +0 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +0 -26
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/progressBars.d.ts +2 -2
- package/build/plugins/resource/bot/progressBars.d.ts.map +1 -1
- package/build/plugins/resource/bot/progressBars.js +4 -3
- package/build/plugins/resource/bot/progressBars.js.map +1 -1
- package/build/plugins/resource/bot/resources/messages.d.ts +0 -3
- package/build/plugins/resource/bot/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/messages.js +0 -5
- package/build/plugins/resource/bot/resources/messages.js.map +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +0 -1
- package/build/plugins/resource/bot/resources/strings.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/strings.js +0 -2
- package/build/plugins/resource/bot/resources/strings.js.map +1 -1
- package/build/plugins/resource/bot/v3/error.d.ts +15 -0
- package/build/plugins/resource/bot/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/bot/v3/error.js +46 -0
- package/build/plugins/resource/bot/v3/error.js.map +1 -0
- package/build/plugins/resource/bot/v3/index.d.ts +19 -0
- package/build/plugins/resource/bot/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/bot/v3/index.js +376 -0
- package/build/plugins/resource/bot/v3/index.js.map +1 -0
- package/build/plugins/resource/frontend/constants.d.ts +1 -0
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +1 -0
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.d.ts +21 -0
- package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.js +23 -1
- package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js +59 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +3 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.js +10 -1
- package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/index.d.ts +2 -3
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +5 -9
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/interface.d.ts +2 -2
- package/build/plugins/resource/frontend/interface.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +2 -2
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +12 -25
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +0 -7
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +1 -14
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.d.ts +0 -2
- package/build/plugins/resource/frontend/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.js +0 -2
- package/build/plugins/resource/frontend/resources/messages.js.map +1 -1
- package/build/plugins/resource/frontend/resources/steps.d.ts +0 -1
- package/build/plugins/resource/frontend/resources/steps.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/steps.js +1 -7
- package/build/plugins/resource/frontend/resources/steps.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +3 -2
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +5 -2
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/index.d.ts +7 -7
- package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v3/index.js +21 -28
- package/build/plugins/resource/frontend/v3/index.js.map +1 -1
- package/build/plugins/resource/function/v3/index.d.ts +8 -9
- package/build/plugins/resource/function/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v3/index.js +20 -26
- package/build/plugins/resource/function/v3/index.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +0 -3
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/v3/index.d.ts +4 -4
- package/build/plugins/resource/identity/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v3/index.js +10 -14
- package/build/plugins/resource/identity/v3/index.js.map +1 -1
- package/build/plugins/resource/keyvault/v3/index.d.ts +5 -6
- package/build/plugins/resource/keyvault/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/v3/index.js +10 -17
- package/build/plugins/resource/keyvault/v3/index.js.map +1 -1
- package/build/plugins/resource/localdebug/constants.d.ts +0 -4
- package/build/plugins/resource/localdebug/constants.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/constants.js +1 -5
- package/build/plugins/resource/localdebug/constants.js.map +1 -1
- package/build/plugins/resource/localdebug/localEnv.d.ts +2 -2
- package/build/plugins/resource/localdebug/localEnv.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/localEnv.js +4 -6
- package/build/plugins/resource/localdebug/localEnv.js.map +1 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.d.ts +0 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.js +0 -1
- package/build/plugins/resource/localdebug/projectSettingLoader.js.map +1 -1
- package/build/plugins/resource/spfx/index.d.ts +1 -5
- package/build/plugins/resource/spfx/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/index.js +6 -10
- package/build/plugins/resource/spfx/index.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +6 -6
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +9 -0
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +11 -1
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts +3 -3
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js +8 -8
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts +10 -0
- package/build/plugins/resource/spfx/utils/questions.d.ts.map +1 -0
- package/build/plugins/resource/spfx/utils/questions.js +39 -0
- package/build/plugins/resource/spfx/utils/questions.js.map +1 -0
- package/build/plugins/resource/spfx/v3/error.d.ts +5 -0
- package/build/plugins/resource/spfx/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/spfx/v3/error.js +20 -0
- package/build/plugins/resource/spfx/v3/error.js.map +1 -0
- package/build/plugins/resource/spfx/v3/index.d.ts +13 -0
- package/build/plugins/resource/spfx/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/spfx/v3/index.js +122 -0
- package/build/plugins/resource/spfx/v3/index.js.map +1 -0
- package/build/plugins/resource/spfx/v3/plugin.d.ts +11 -0
- package/build/plugins/resource/spfx/v3/plugin.d.ts.map +1 -0
- package/build/plugins/resource/spfx/v3/plugin.js +290 -0
- package/build/plugins/resource/spfx/v3/plugin.js.map +1 -0
- package/build/plugins/resource/sql/v3/index.d.ts +9 -6
- package/build/plugins/resource/sql/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/v3/index.js +82 -20
- package/build/plugins/resource/sql/v3/index.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +3 -2
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +24 -7
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +2 -2
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +52 -59
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +15 -3
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +14 -8
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +0 -2
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +0 -2
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/error.d.ts +0 -1
- package/build/plugins/solution/fx-solution/debug/error.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/error.js +1 -5
- package/build/plugins/solution/fx-solution/debug/error.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +254 -28
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +3 -4
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +18 -19
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js +109 -290
- package/build/plugins/solution/fx-solution/debug/util/launch.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js +102 -236
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts +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 +12 -18
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js +5 -5
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +0 -2
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +1 -14
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +0 -2
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +4 -84
- package/build/plugins/solution/fx-solution/solution.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 +17 -0
- package/build/plugins/solution/fx-solution/v2/deploy.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 +1 -6
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +4 -0
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +52 -11
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +5 -8
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +0 -3
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts +4 -3
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.js +124 -45
- package/build/plugins/solution/fx-solution/v3/addFeature.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +0 -1
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.js +2 -3
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js +21 -11
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +37 -24
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/solution.js +2 -2
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.js +58 -58
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.js +0 -8
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -1
- package/build/plugins/solution/utils/questions.d.ts +3 -3
- package/build/plugins/solution/utils/questions.d.ts.map +1 -1
- package/build/plugins/solution/utils/questions.js +6 -6
- package/build/plugins/solution/utils/questions.js.map +1 -1
- package/package.json +4 -3
- package/resource/strings.json +1 -0
- package/templates/plugins/resource/bot/bot-msgext.csharp.default.zip +0 -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.csharp.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/dotnet/blazor-base.csharp.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.csharp.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.js.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/build/core/middleware/migrateConditionHandler.d.ts +0 -3
- package/build/core/middleware/migrateConditionHandler.d.ts.map +0 -1
- package/build/core/middleware/migrateConditionHandler.js +0 -23
- package/build/core/middleware/migrateConditionHandler.js.map +0 -1
- package/build/core/middleware/supportV1ConditionHandler.d.ts +0 -3
- package/build/core/middleware/supportV1ConditionHandler.d.ts.map +0 -1
- package/build/core/middleware/supportV1ConditionHandler.js +0 -23
- package/build/core/middleware/supportV1ConditionHandler.js.map +0 -1
- package/build/core/middleware/telemetrySender.d.ts +0 -6
- package/build/core/middleware/telemetrySender.d.ts.map +0 -1
- package/build/core/middleware/telemetrySender.js +0 -43
- package/build/core/middleware/telemetrySender.js.map +0 -1
- package/templates/plugins/resource/storage/bicep/azureStorageProvision.bicep +0 -25
- package/templates/plugins/resource/storage/bicep/provision.template.bicep +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userTask.js","sourceRoot":"","sources":["../../../../../src/plugins/solution/fx-solution/v3/userTask.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAkBgC;AAChC,mCAAmC;AACnC,mDAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"userTask.js","sourceRoot":"","sources":["../../../../../src/plugins/solution/fx-solution/v3/userTask.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAkBgC;AAChC,mCAAmC;AACnC,mDAA6B;AAC7B,oDAA4E;AAC5E,2CAAyF;AACz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,CAAC;AA/CD,kCA+CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addFeature.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,sBAAsB,EAEtB,OAAO,EACP,MAAM,EAEN,SAAS,EACT,MAAM,EACN,EAAE,EACF,EAAE,EACF,IAAI,EACL,MAAM,wBAAwB,CAAC;AAKhC,wBAAsB,yBAAyB,CAC7C,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,GAC/B,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CAUjD;AAED,wBAAsB,UAAU,CAC9B,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,wBAAwB,GAClC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"addFeature.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,sBAAsB,EAEtB,OAAO,EACP,MAAM,EAEN,SAAS,EACT,MAAM,EACN,EAAE,EACF,EAAE,EACF,IAAI,EACL,MAAM,wBAAwB,CAAC;AAKhC,wBAAsB,yBAAyB,CAC7C,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,qBAAqB,GAC/B,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CAUjD;AAED,wBAAsB,UAAU,CAC9B,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,EAAE,CAAC,wBAAwB,GAClC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAEhC;AAED,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,EAAE,CAAC,OAAO,EACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,EAAE,CAAC,SAAS,EACrB,aAAa,EAAE,sBAAsB,GACpC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAEhC"}
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.publishApplication = exports.addFeature = exports.getQuestionsForAddFeature = void 0;
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
7
|
const typedi_1 = require("typedi");
|
|
8
|
-
const addFeature_1 = require("../fx-solution/v3/addFeature");
|
|
9
8
|
const constants_1 = require("../fx-solution/v3/constants");
|
|
10
9
|
async function getQuestionsForAddFeature(ctx, inputs) {
|
|
11
10
|
const plugin = typedi_1.Container.get(constants_1.BuiltInFeaturePluginNames.spfx);
|
|
@@ -21,13 +20,6 @@ async function getQuestionsForAddFeature(ctx, inputs) {
|
|
|
21
20
|
}
|
|
22
21
|
exports.getQuestionsForAddFeature = getQuestionsForAddFeature;
|
|
23
22
|
async function addFeature(ctx, inputs) {
|
|
24
|
-
const plugin = typedi_1.Container.get(constants_1.BuiltInFeaturePluginNames.spfx);
|
|
25
|
-
if (plugin.addFeature) {
|
|
26
|
-
const contextWithManifestProvider = Object.assign(Object.assign({}, ctx), { appManifestProvider: new addFeature_1.DefaultManifestProvider() });
|
|
27
|
-
const res = await plugin.addFeature(contextWithManifestProvider, inputs);
|
|
28
|
-
if (res.isErr())
|
|
29
|
-
return teamsfx_api_1.err(res.error);
|
|
30
|
-
}
|
|
31
23
|
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
32
24
|
}
|
|
33
25
|
exports.addFeature = addFeature;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addFeature.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAWgC;AAChC,mCAAmC;
|
|
1
|
+
{"version":3,"file":"addFeature.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/addFeature.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAWgC;AAChC,mCAAmC;AAEnC,2DAAwE;AAEjE,KAAK,UAAU,yBAAyB,CAC7C,GAAe,EACf,MAAgC;IAEhC,MAAM,MAAM,GAAG,kBAAS,CAAC,GAAG,CAAmB,qCAAyB,CAAC,IAAI,CAAC,CAAC;IAC/E,IAAI,MAAM,CAAC,yBAAyB,EAAE;QACpC,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACtE,IAAI,SAAS,CAAC,KAAK,EAAE;YAAE,OAAO,iBAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,SAAS,CAAC,KAAK,EAAE;YACnB,OAAO,gBAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC5B;KACF;IACD,OAAO,gBAAE,CAAC,SAAS,CAAC,CAAC;AACvB,CAAC;AAbD,8DAaC;AAEM,KAAK,UAAU,UAAU,CAC9B,GAAe,EACf,MAAmC;IAEnC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AALD,gCAKC;AAEM,KAAK,UAAU,kBAAkB,CACtC,GAAe,EACf,MAAc,EACd,OAAqB,EACrB,aAAqC;IAErC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AAPD,gDAOC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MultiSelectQuestion
|
|
1
|
+
import { MultiSelectQuestion } from "@microsoft/teamsfx-api";
|
|
2
2
|
export declare enum SolutionV3QuestionNames {
|
|
3
3
|
capabilities = "capabilities",
|
|
4
|
-
|
|
4
|
+
features = "features",
|
|
5
5
|
plugins = "plugins"
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const selectMultipleFeaturesQuestion: MultiSelectQuestion;
|
|
8
8
|
export declare const selectMultiPluginsQuestion: MultiSelectQuestion;
|
|
9
9
|
export declare const selectCapabilitiesQuestion: MultiSelectQuestion;
|
|
10
10
|
//# sourceMappingURL=questions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,wBAAwB,CAAC;AAGnF,oBAAY,uBAAuB;IACjC,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,8BAA8B,EAAE,mBAK5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,mBAKxC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,mBAOxC,CAAC"}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.selectCapabilitiesQuestion = exports.selectMultiPluginsQuestion = exports.
|
|
5
|
+
exports.selectCapabilitiesQuestion = exports.selectMultiPluginsQuestion = exports.selectMultipleFeaturesQuestion = exports.SolutionV3QuestionNames = void 0;
|
|
6
6
|
const question_1 = require("../fx-solution/question");
|
|
7
7
|
var SolutionV3QuestionNames;
|
|
8
8
|
(function (SolutionV3QuestionNames) {
|
|
9
9
|
SolutionV3QuestionNames["capabilities"] = "capabilities";
|
|
10
|
-
SolutionV3QuestionNames["
|
|
10
|
+
SolutionV3QuestionNames["features"] = "features";
|
|
11
11
|
SolutionV3QuestionNames["plugins"] = "plugins";
|
|
12
12
|
})(SolutionV3QuestionNames = exports.SolutionV3QuestionNames || (exports.SolutionV3QuestionNames = {}));
|
|
13
|
-
exports.
|
|
14
|
-
name: SolutionV3QuestionNames.
|
|
15
|
-
title: "Select
|
|
16
|
-
type: "
|
|
13
|
+
exports.selectMultipleFeaturesQuestion = {
|
|
14
|
+
name: SolutionV3QuestionNames.features,
|
|
15
|
+
title: "Select features to add",
|
|
16
|
+
type: "multiSelect",
|
|
17
17
|
staticOptions: [],
|
|
18
18
|
};
|
|
19
19
|
exports.selectMultiPluginsQuestion = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions.js","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,sDAA6F;AAE7F,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,
|
|
1
|
+
{"version":3,"file":"questions.js","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,sDAA6F;AAE7F,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;AACrB,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC;AAEY,QAAA,8BAA8B,GAAwB;IACjE,IAAI,EAAE,uBAAuB,CAAC,QAAQ;IACtC,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,0BAA0B,GAAwB;IAC7D,IAAI,EAAE,uBAAuB,CAAC,OAAO;IACrC,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,0BAA0B,GAAwB;IAC7D,IAAI,EAAE,uBAAuB,CAAC,YAAY;IAC1C,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,CAAC,wBAAa,EAAE,wBAAa,EAAE,+BAAoB,CAAC;IACnE,OAAO,EAAE,CAAC,wBAAa,CAAC,EAAE,CAAC;IAC3B,gBAAgB,EAAE,IAAI;CACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "1.4.0",
|
|
3
|
+
"version": "1.4.1-alpha.0535e2d27.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"test:solution:debug": "nyc mocha \"tests/plugins/solution/debug/**/*.test.ts\"",
|
|
29
29
|
"test:core": "nyc mocha \"tests/core/**/*.test.ts\"",
|
|
30
30
|
"test:core:sample": "nyc mocha \"tests/core/sample.test.ts\"",
|
|
31
|
+
"test:coll": "nyc mocha \"tests/core/collaborator.test.ts\"",
|
|
31
32
|
"test:corev3": "nyc mocha \"tests/core/corev3.test.ts\"",
|
|
32
33
|
"test:core-mw": "nyc mocha \"tests/core/middleware/*.test.ts\"",
|
|
33
34
|
"test:core-tools": "nyc mocha \"tests/core/tools.test.ts\"",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"@azure/storage-blob": "^12.7.0",
|
|
60
61
|
"@dbpiper/timer": "1.0.0-beta.2",
|
|
61
62
|
"@feathersjs/hooks": "^0.6.5",
|
|
62
|
-
"@microsoft/teamsfx-api": "
|
|
63
|
+
"@microsoft/teamsfx-api": "0.15.1-alpha.0535e2d27.0",
|
|
63
64
|
"@npmcli/arborist": "^4.2.0",
|
|
64
65
|
"@npmcli/package-json": "^1.0.1",
|
|
65
66
|
"@types/jwt-decode": "3.1.0",
|
|
@@ -181,7 +182,7 @@
|
|
|
181
182
|
"resource/**/*",
|
|
182
183
|
"templates/**/*"
|
|
183
184
|
],
|
|
184
|
-
"gitHead": "
|
|
185
|
+
"gitHead": "96a3d9e0c4a708d18643b7559279b513b31e41c9",
|
|
185
186
|
"publishConfig": {
|
|
186
187
|
"access": "public"
|
|
187
188
|
},
|
package/resource/strings.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"ProvisionConfirmNotice": "The Teams Toolkit will provision resources and register corresponding resource providers under %s (Azure account) with %s (subscription). Costs may incur according to the pricing calculator.",
|
|
6
6
|
"ProvisionConfirmEnvNotice": "Do you want to provision resources in %s environment?\n%s (Azure account) with %s (subscription) will be used to provision the resources. Cost may incur according to the usage.",
|
|
7
7
|
"ProvisionFailGuide": "Provision resources failed, subscription id: '%s', resource group: '%s'. You can choose to rollback to delete the resource group and redo provision.",
|
|
8
|
+
"ProvisionSuccessAzure": "Azure resources successfully provisioned in the cloud.",
|
|
8
9
|
"ProvisionSuccessNotice": "'%s' successfully provisioned in the cloud.",
|
|
9
10
|
"ProvisionFailNotice": "fail to provision '%s' in the cloud!",
|
|
10
11
|
"DeploySuccessNotice": "'%s' successfully deployed to the cloud.",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrateConditionHandler.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/migrateConditionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK1E,eAAO,MAAM,yBAAyB,EAAE,UAiBvC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.MigrateConditionHandlerMW = void 0;
|
|
6
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
-
const error_1 = require("../error");
|
|
8
|
-
const tools_1 = require("../tools");
|
|
9
|
-
const MigrateConditionHandlerMW = async (ctx, next) => {
|
|
10
|
-
const inputs = ctx.arguments[ctx.arguments.length - 1];
|
|
11
|
-
if (!inputs.projectPath) {
|
|
12
|
-
ctx.result = teamsfx_api_1.err(error_1.NoProjectOpenedError());
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const errorMessage = await tools_1.validateV1Project(inputs.projectPath);
|
|
16
|
-
if (errorMessage) {
|
|
17
|
-
ctx.result = teamsfx_api_1.err(error_1.InvalidV1ProjectError(errorMessage));
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
await next();
|
|
21
|
-
};
|
|
22
|
-
exports.MigrateConditionHandlerMW = MigrateConditionHandlerMW;
|
|
23
|
-
//# sourceMappingURL=migrateConditionHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrateConditionHandler.js","sourceRoot":"","sources":["../../../src/core/middleware/migrateConditionHandler.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAGb,wDAAqD;AACrD,oCAAuE;AACvE,oCAA6C;AAEtC,MAAM,yBAAyB,GAAe,KAAK,EACxD,GAAgB,EAChB,IAAkB,EAClB,EAAE;IACF,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAW,CAAC;IACjE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE;QACvB,GAAG,CAAC,MAAM,GAAG,iBAAG,CAAC,4BAAoB,EAAE,CAAC,CAAC;QACzC,OAAO;KACR;IAED,MAAM,YAAY,GAAG,MAAM,yBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACjE,IAAI,YAAY,EAAE;QAChB,GAAG,CAAC,MAAM,GAAG,iBAAG,CAAC,6BAAqB,CAAC,YAAY,CAAC,CAAC,CAAC;QACtD,OAAO;KACR;IAED,MAAM,IAAI,EAAE,CAAC;AACf,CAAC,CAAC;AAjBW,QAAA,yBAAyB,6BAiBpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supportV1ConditionHandler.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/supportV1ConditionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK1E,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,OAAO,GAAG,UAAU,CAanE"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SupportV1ConditionMW = void 0;
|
|
6
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
-
const error_1 = require("../error");
|
|
8
|
-
const tools_1 = require("../tools");
|
|
9
|
-
function SupportV1ConditionMW(supported) {
|
|
10
|
-
return async (ctx, next) => {
|
|
11
|
-
const inputs = ctx.arguments[ctx.arguments.length - 1];
|
|
12
|
-
if (inputs.projectPath && (await tools_1.isMigrateFromV1Project(inputs.projectPath)) && !supported) {
|
|
13
|
-
const func = ctx.arguments[0];
|
|
14
|
-
if (ctx.method !== "executeUserTask" || (func === null || func === void 0 ? void 0 : func.namespace) === "fx-solution-azure") {
|
|
15
|
-
ctx.result = teamsfx_api_1.err(error_1.V1ProjectNotSupportedError());
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
await next();
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.SupportV1ConditionMW = SupportV1ConditionMW;
|
|
23
|
-
//# sourceMappingURL=supportV1ConditionHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supportV1ConditionHandler.js","sourceRoot":"","sources":["../../../src/core/middleware/supportV1ConditionHandler.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAGb,wDAA2D;AAC3D,oCAAsD;AACtD,oCAAkD;AAElD,SAAgB,oBAAoB,CAAC,SAAkB;IACrD,OAAO,KAAK,EAAE,GAAgB,EAAE,IAAkB,EAAE,EAAE;QACpD,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAW,CAAC;QACjE,IAAI,MAAM,CAAC,WAAW,IAAI,CAAC,MAAM,8BAAsB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE;YAC1F,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAS,CAAC;YACtC,IAAI,GAAG,CAAC,MAAM,KAAK,iBAAiB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,MAAK,mBAAmB,EAAE;gBAC/E,GAAG,CAAC,MAAM,GAAG,iBAAG,CAAC,kCAA0B,EAAE,CAAC,CAAC;gBAC/C,OAAO;aACR;SACF;QAED,MAAM,IAAI,EAAE,CAAC;IACf,CAAC,CAAC;AACJ,CAAC;AAbD,oDAaC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetrySender.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/telemetrySender.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAY7D;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAwB/B,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.TelemetrySenderMW = void 0;
|
|
6
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
-
const lodash_1 = require("lodash");
|
|
8
|
-
const telemetry_1 = require("../../common/telemetry");
|
|
9
|
-
/**
|
|
10
|
-
* Telemetry sender
|
|
11
|
-
*/
|
|
12
|
-
const TelemetrySenderMW = async (ctx, next) => {
|
|
13
|
-
var _a, _b;
|
|
14
|
-
const core = ctx.self;
|
|
15
|
-
const inputs = ctx.arguments[ctx.arguments.length - 1];
|
|
16
|
-
const solutionContext = ctx.solutionContext;
|
|
17
|
-
const appId = (_a = solutionContext === null || solutionContext === void 0 ? void 0 : solutionContext.envInfo.state.get("solution")) === null || _a === void 0 ? void 0 : _a.get("remoteTeamsAppId");
|
|
18
|
-
const properties = { module: "fx-core" };
|
|
19
|
-
if (appId)
|
|
20
|
-
properties[telemetry_1.TelemetryProperty.AppId] = appId;
|
|
21
|
-
const correlationId = inputs.correlationId === undefined ? "" : inputs.correlationId;
|
|
22
|
-
properties[telemetry_1.TelemetryProperty.CorrelationId] = correlationId;
|
|
23
|
-
const method = lodash_1.kebabCase(ctx.method);
|
|
24
|
-
try {
|
|
25
|
-
telemetry_1.sendTelemetryEvent(telemetry_1.Component.core, method + "-start", properties);
|
|
26
|
-
await next();
|
|
27
|
-
}
|
|
28
|
-
catch (e) {
|
|
29
|
-
ctx.result = teamsfx_api_1.err(teamsfx_api_1.assembleError(e));
|
|
30
|
-
throw e;
|
|
31
|
-
}
|
|
32
|
-
finally {
|
|
33
|
-
if ((_b = ctx.result) === null || _b === void 0 ? void 0 : _b.isOk()) {
|
|
34
|
-
properties[telemetry_1.TelemetryProperty.Success] = telemetry_1.TelemetrySuccess.Yes;
|
|
35
|
-
telemetry_1.sendTelemetryEvent(telemetry_1.Component.core, method, properties);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
telemetry_1.sendTelemetryErrorEvent(telemetry_1.Component.core, method, ctx.result.error, properties);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.TelemetrySenderMW = TelemetrySenderMW;
|
|
43
|
-
//# sourceMappingURL=telemetrySender.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetrySender.js","sourceRoot":"","sources":["../../../src/core/middleware/telemetrySender.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAGb,wDAA6E;AAC7E,mCAAmC;AAEnC,sDAMgC;AAEhC;;GAEG;AACI,MAAM,iBAAiB,GAAe,KAAK,EAAE,GAAoB,EAAE,IAAkB,EAAE,EAAE;;IAC9F,MAAM,IAAI,GAAG,GAAG,CAAC,IAAc,CAAC;IAChC,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAW,CAAC;IACjE,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAC5C,MAAM,KAAK,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,0CAAE,GAAG,CAAC,kBAAkB,CAAW,CAAC;IAChG,MAAM,UAAU,GAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAC9C,IAAI,KAAK;QAAE,UAAU,CAAC,6BAAiB,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;IACvD,MAAM,aAAa,GAAG,MAAM,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;IACrF,UAAU,CAAC,6BAAiB,CAAC,aAAa,CAAC,GAAG,aAAa,CAAC;IAC5D,MAAM,MAAM,GAAG,kBAAS,CAAC,GAAG,CAAC,MAAO,CAAC,CAAC;IACtC,IAAI;QACF,8BAAkB,CAAC,qBAAS,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,EAAE,UAAU,CAAC,CAAC;QAClE,MAAM,IAAI,EAAE,CAAC;KACd;IAAC,OAAO,CAAC,EAAE;QACV,GAAG,CAAC,MAAM,GAAG,iBAAG,CAAC,2BAAa,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,MAAM,CAAC,CAAC;KACT;YAAS;QACR,IAAI,MAAA,GAAG,CAAC,MAAM,0CAAE,IAAI,EAAE,EAAE;YACtB,UAAU,CAAC,6BAAiB,CAAC,OAAO,CAAC,GAAG,4BAAgB,CAAC,GAAG,CAAC;YAC7D,8BAAkB,CAAC,qBAAS,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;SACxD;aAAM;YACL,mCAAuB,CAAC,qBAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,KAAgB,EAAE,UAAU,CAAC,CAAC;SAC1F;KACF;AACH,CAAC,CAAC;AAxBW,QAAA,iBAAiB,qBAwB5B"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@secure()
|
|
2
|
-
param provisionParameters object
|
|
3
|
-
var resourceBaseName = provisionParameters.resourceBaseName
|
|
4
|
-
var storageName = contains(provisionParameters, 'azureStorageName') ? provisionParameters['azureStorageName'] : '${resourceBaseName}tab' // Try to read name for frontend hosting Storage Account from parameters
|
|
5
|
-
var storageSku = contains(provisionParameters, 'azureStorageSku') ? provisionParameters['azureStorageSku'] : 'Standard_LRS' // Try to read SKU for frontend hosting Storage Account from parameters
|
|
6
|
-
|
|
7
|
-
// Azure Storage that hosts your static web site
|
|
8
|
-
resource storage 'Microsoft.Storage/storageAccounts@2021-06-01' = {
|
|
9
|
-
kind: 'StorageV2'
|
|
10
|
-
location: resourceGroup().location
|
|
11
|
-
name: storageName
|
|
12
|
-
properties: {
|
|
13
|
-
supportsHttpsTrafficOnly: true
|
|
14
|
-
}
|
|
15
|
-
sku: {
|
|
16
|
-
name: storageSku // You can follow https://aka.ms/teamsfx-bicep-add-param-tutorial to add frontendHostingStorageSku property to provisionParameters to override the default value "Standard_LRS".
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var siteDomain = replace(replace(storage.properties.primaryEndpoints.web, 'https://', ''), '/', '')
|
|
21
|
-
|
|
22
|
-
output resourceId string = storage.id
|
|
23
|
-
output endpoint string = 'https://${siteDomain}'
|
|
24
|
-
output domain string = siteDomain
|
|
25
|
-
output indexPath string = '/index.html#'
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Resources for frontend hosting
|
|
2
|
-
module azureStorageProvision '\{{fx-resource-azure-storage.Provision.azureStorage.path}}' = {
|
|
3
|
-
name: 'azureStorageProvision'
|
|
4
|
-
params: {
|
|
5
|
-
provisionParameters: provisionParameters
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
output azureStorageOutput object = {
|
|
10
|
-
teamsFxPluginId: 'fx-resource-frontend-hosting'
|
|
11
|
-
domain: azureStorageProvision.outputs.domain
|
|
12
|
-
endpoint: azureStorageProvision.outputs.endpoint
|
|
13
|
-
indexPath: azureStorageProvision.outputs.indexPath
|
|
14
|
-
storageResourceId: azureStorageProvision.outputs.resourceId
|
|
15
|
-
}
|