@microsoft/teamsfx-core 2.0.1 → 2.0.2-alpha.0fc621c97.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 -5
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
- package/build/common/deps-checker/checkerFactory.js +0 -7
- package/build/common/deps-checker/checkerFactory.js.map +1 -1
- package/build/common/deps-checker/constant/helpLink.d.ts +0 -4
- package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
- package/build/common/deps-checker/constant/helpLink.js +1 -9
- package/build/common/deps-checker/constant/helpLink.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +0 -5
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +0 -6
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/constant/telemetry.d.ts +2 -33
- package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
- package/build/common/deps-checker/constant/telemetry.js +0 -31
- package/build/common/deps-checker/constant/telemetry.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +0 -3
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js +0 -3
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsError.d.ts +0 -12
- package/build/common/deps-checker/depsError.d.ts.map +1 -1
- package/build/common/deps-checker/depsError.js +1 -29
- package/build/common/deps-checker/depsError.js.map +1 -1
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +0 -3
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts +2 -2
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +4 -2
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +0 -20
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +1 -51
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/deps-checker/util/index.d.ts +0 -1
- package/build/common/deps-checker/util/index.d.ts.map +1 -1
- package/build/common/deps-checker/util/index.js +0 -1
- package/build/common/deps-checker/util/index.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts +0 -9
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +0 -59
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/localStateHelper.d.ts.map +1 -1
- package/build/common/local/localStateHelper.js.map +1 -1
- package/build/common/projectSettingsHelper.d.ts +1 -7
- package/build/common/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/projectSettingsHelper.js +5 -81
- package/build/common/projectSettingsHelper.js.map +1 -1
- package/build/common/projectSettingsHelperV3.d.ts +0 -1
- package/build/common/projectSettingsHelperV3.d.ts.map +1 -1
- package/build/common/projectSettingsHelperV3.js +1 -10
- package/build/common/projectSettingsHelperV3.js.map +1 -1
- package/build/common/samples-config-v3.json +0 -15
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +20 -42
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +0 -13
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +0 -13
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +4 -3
- package/build/common/tools.d.ts +1 -16
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +55 -205
- package/build/common/tools.js.map +1 -1
- package/build/component/code/utils.d.ts +0 -10
- package/build/component/code/utils.d.ts.map +1 -1
- package/build/component/code/utils.js +1 -171
- package/build/component/code/utils.js.map +1 -1
- package/build/component/constant/deployConstant.d.ts.map +1 -1
- package/build/component/constant/deployConstant.js.map +1 -1
- package/build/component/constants.d.ts +5 -216
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +17 -408
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/index.d.ts +8 -7
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +35 -188
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/debugHandler/sso.d.ts.map +1 -1
- package/build/component/debugHandler/sso.js +5 -14
- package/build/component/debugHandler/sso.js.map +1 -1
- package/build/component/deployUtils.d.ts +1 -8
- package/build/component/deployUtils.d.ts.map +1 -1
- package/build/component/deployUtils.js +2 -98
- package/build/component/deployUtils.js.map +1 -1
- package/build/component/driver/aad/create.d.ts.map +1 -1
- package/build/component/driver/aad/create.js +2 -2
- package/build/component/driver/aad/create.js.map +1 -1
- package/build/component/driver/aad/update.d.ts.map +1 -1
- package/build/component/driver/aad/update.js +2 -2
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/add/addWebPart.js +3 -3
- package/build/component/driver/add/addWebPart.js.map +1 -1
- package/build/component/driver/arm/deployImpl.d.ts +1 -1
- package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
- package/build/component/driver/arm/deployImpl.js +8 -8
- package/build/component/driver/arm/deployImpl.js.map +1 -1
- package/build/component/driver/arm/util/bicepChecker.d.ts +4 -0
- package/build/component/driver/arm/util/bicepChecker.d.ts.map +1 -0
- package/build/component/{utils/depsChecker → driver/arm/util}/bicepChecker.js +19 -132
- package/build/component/driver/arm/util/bicepChecker.js.map +1 -0
- package/build/component/driver/arm/util/handleError.d.ts +18 -0
- package/build/component/driver/arm/util/handleError.d.ts.map +1 -0
- package/build/component/driver/arm/util/handleError.js +169 -0
- package/build/component/driver/arm/util/handleError.js.map +1 -0
- package/build/component/driver/arm/util/innerHandleError.d.ts +4 -0
- package/build/component/driver/arm/util/innerHandleError.d.ts.map +1 -0
- package/build/component/driver/arm/util/innerHandleError.js +33 -0
- package/build/component/driver/arm/util/innerHandleError.js.map +1 -0
- package/build/component/driver/arm/util/util.d.ts.map +1 -1
- package/build/component/driver/arm/util/util.js.map +1 -1
- package/build/component/driver/arm/validator.d.ts.map +1 -1
- package/build/component/driver/arm/validator.js.map +1 -1
- package/build/component/driver/botAadApp/create.d.ts.map +1 -1
- package/build/component/driver/botAadApp/create.js +2 -2
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +9 -9
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.d.ts +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.d.ts.map +1 -1
- package/build/component/driver/devTool/error/dotnetInstallationUserError.js +4 -2
- package/build/component/driver/devTool/error/dotnetInstallationUserError.js.map +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.d.ts +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.d.ts.map +1 -1
- package/build/component/driver/devTool/error/funcInstallationUserError.js +4 -2
- package/build/component/driver/devTool/error/funcInstallationUserError.js.map +1 -1
- package/build/component/driver/devTool/installDriver.d.ts +1 -0
- package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
- package/build/component/driver/devTool/installDriver.js +17 -24
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/interface/buildAndDeployArgs.d.ts +11 -11
- package/build/component/driver/interface/buildAndDeployArgs.d.ts.map +1 -1
- package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
- package/build/component/driver/script/baseBuildDriver.js +2 -2
- package/build/component/driver/script/baseBuildDriver.js.map +1 -1
- package/build/component/driver/script/scriptDriver.d.ts +11 -1
- package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
- package/build/component/driver/script/scriptDriver.js +121 -4
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts +0 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +1 -11
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/validate.d.ts +0 -1
- package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
- package/build/component/driver/teamsApp/validate.js +34 -18
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/error.d.ts +0 -3
- package/build/component/error.d.ts.map +1 -1
- package/build/component/error.js +1 -11
- package/build/component/error.js.map +1 -1
- package/build/component/feature/bot/question.d.ts.map +1 -1
- package/build/component/feature/bot/question.js +13 -23
- package/build/component/feature/bot/question.js.map +1 -1
- package/build/component/feature/sso.d.ts +0 -4
- package/build/component/feature/sso.d.ts.map +1 -1
- package/build/component/feature/sso.js +10 -144
- package/build/component/feature/sso.js.map +1 -1
- package/build/component/generator/generatorAction.d.ts.map +1 -1
- package/build/component/generator/generatorAction.js +1 -1
- package/build/component/generator/generatorAction.js.map +1 -1
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +8 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
- package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/generatorChecker.js +0 -39
- package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.d.ts +1 -4
- package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/depsChecker/yoChecker.js +0 -33
- package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -0
- package/build/component/generator/spfx/error.d.ts +8 -0
- package/build/component/generator/spfx/error.d.ts.map +1 -0
- package/build/component/generator/spfx/error.js +55 -0
- package/build/component/generator/spfx/error.js.map +1 -0
- package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -0
- package/build/component/generator/{spfxGenerator.js → spfx/spfxGenerator.js} +16 -16
- package/build/component/generator/spfx/spfxGenerator.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.d.ts +0 -33
- package/build/component/generator/spfx/utils/constants.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/constants.js +1 -39
- package/build/component/generator/spfx/utils/constants.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/progress-helper.d.ts +0 -5
- package/build/component/generator/spfx/utils/progress-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/progress-helper.js +21 -0
- package/build/component/generator/spfx/utils/progress-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/question-helper.js.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.d.ts +0 -1
- package/build/component/generator/spfx/utils/questions.d.ts.map +1 -0
- package/build/component/{resource → generator}/spfx/utils/questions.js +2 -27
- package/build/component/generator/spfx/utils/questions.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetry-helper.js.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -0
- package/build/component/generator/spfx/utils/utils.d.ts.map +1 -0
- package/build/component/generator/spfx/utils/utils.js.map +1 -0
- package/build/component/generator/utils.js +2 -2
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/middleware/envMW.js.map +1 -1
- package/build/component/migrate.d.ts +0 -1
- package/build/component/migrate.d.ts.map +1 -1
- package/build/component/migrate.js +1 -9
- package/build/component/migrate.js.map +1 -1
- package/build/component/provisionUtils.d.ts +2 -23
- package/build/component/provisionUtils.d.ts.map +1 -1
- package/build/component/provisionUtils.js +5 -523
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/question.d.ts +3 -64
- package/build/component/question.d.ts.map +1 -1
- package/build/component/question.js +61 -663
- package/build/component/question.js.map +1 -1
- package/build/component/registerService.d.ts +0 -16
- package/build/component/registerService.d.ts.map +1 -1
- package/build/component/registerService.js +0 -16
- package/build/component/registerService.js.map +1 -1
- package/build/component/resource/aadApp/aadApp.d.ts +2 -56
- package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadApp.js +4 -137
- package/build/component/resource/aadApp/aadApp.js.map +1 -1
- package/build/component/resource/aadApp/aadAppClient.d.ts +1 -17
- package/build/component/resource/aadApp/aadAppClient.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadAppClient.js +0 -253
- package/build/component/resource/aadApp/aadAppClient.js.map +1 -1
- package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts +1 -17
- package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadAppForTeamsImpl.js +4 -368
- package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -1
- package/build/component/resource/aadApp/constants.d.ts +0 -94
- package/build/component/resource/aadApp/constants.d.ts.map +1 -1
- package/build/component/resource/aadApp/constants.js +1 -185
- package/build/component/resource/aadApp/constants.js.map +1 -1
- package/build/component/resource/aadApp/errors.d.ts +0 -38
- package/build/component/resource/aadApp/errors.d.ts.map +1 -1
- package/build/component/resource/aadApp/errors.js +1 -234
- package/build/component/resource/aadApp/errors.js.map +1 -1
- package/build/component/resource/aadApp/graph.d.ts +0 -6
- package/build/component/resource/aadApp/graph.d.ts.map +1 -1
- package/build/component/resource/aadApp/graph.js +0 -69
- package/build/component/resource/aadApp/graph.js.map +1 -1
- package/build/component/resource/aadApp/permissions/index.d.ts +0 -4
- package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -1
- package/build/component/resource/aadApp/permissions/index.js +1 -32
- package/build/component/resource/aadApp/permissions/index.js.map +1 -1
- package/build/component/resource/aadApp/utils/aadManifestHelper.js +2 -1
- package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -1
- package/build/component/resource/aadApp/utils/configs.d.ts +0 -82
- package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils/configs.js +1 -560
- package/build/component/resource/aadApp/utils/configs.js.map +1 -1
- package/build/component/resource/aadApp/utils/telemetry.d.ts +0 -11
- package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils/telemetry.js +0 -14
- package/build/component/resource/aadApp/utils/telemetry.js.map +1 -1
- package/build/component/resource/aadApp/utils/tokenProvider.d.ts +1 -2
- package/build/component/resource/aadApp/utils/tokenProvider.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils/tokenProvider.js +1 -26
- package/build/component/resource/aadApp/utils/tokenProvider.js.map +1 -1
- package/build/component/resource/aadApp/utils.d.ts +2 -4
- package/build/component/resource/aadApp/utils.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils.js +10 -168
- package/build/component/resource/aadApp/utils.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +0 -6
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +24 -247
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.d.ts +1 -21
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +16 -258
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.js +1 -9
- package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
- package/build/component/resource/botService/errors.d.ts +0 -2
- package/build/component/resource/botService/errors.d.ts.map +1 -1
- package/build/component/resource/botService/errors.js +1 -43
- package/build/component/resource/botService/errors.js.map +1 -1
- package/build/component/utils/ResourceGroupHelper.d.ts +1 -5
- package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
- package/build/component/utils/ResourceGroupHelper.js +0 -6
- package/build/component/utils/ResourceGroupHelper.js.map +1 -1
- package/build/component/utils/charsetUtils.d.ts +3 -0
- package/build/component/utils/charsetUtils.d.ts.map +1 -0
- package/build/component/utils/charsetUtils.js +241 -0
- package/build/component/utils/charsetUtils.js.map +1 -0
- package/build/component/utils/depsChecker/common.d.ts +0 -1
- package/build/component/utils/depsChecker/common.d.ts.map +1 -1
- package/build/component/utils/depsChecker/common.js +0 -1
- package/build/component/utils/depsChecker/common.js.map +1 -1
- package/build/component/utils/envUtil.d.ts.map +1 -1
- package/build/component/utils/envUtil.js +4 -1
- package/build/component/utils/envUtil.js.map +1 -1
- package/build/component/utils/metadataUtil.d.ts.map +1 -1
- package/build/component/utils/metadataUtil.js +9 -7
- package/build/component/utils/metadataUtil.js.map +1 -1
- package/build/component/utils/pathUtils.d.ts.map +1 -1
- package/build/component/utils/pathUtils.js +10 -9
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/component/utils/settingsUtil.js +3 -3
- package/build/component/utils/settingsUtil.js.map +1 -1
- package/build/component/utils.d.ts +1 -29
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +24 -501
- package/build/component/utils.js.map +1 -1
- package/build/component/workflow.d.ts +0 -2
- package/build/component/workflow.d.ts.map +1 -1
- package/build/component/workflow.js +1 -692
- package/build/component/workflow.js.map +1 -1
- package/build/core/FxCore.d.ts +26 -42
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +84 -664
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts +14 -8
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +93 -121
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/collaborator.d.ts +2 -0
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +2 -0
- package/build/core/collaborator.js.map +1 -1
- package/build/core/environment.d.ts +2 -4
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +44 -108
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +1 -34
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -112
- package/build/core/error.js.map +1 -1
- package/build/core/globalVars.d.ts +0 -1
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +1 -15
- package/build/core/globalVars.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts +1 -10
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +1 -207
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +3 -1
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +46 -52
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts +1 -4
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +13 -78
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectVersionChecker.d.ts.map +1 -1
- package/build/core/middleware/projectVersionChecker.js +10 -23
- package/build/core/middleware/projectVersionChecker.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 +8 -54
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.d.ts +0 -5
- package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.js +1 -77
- package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
- package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
- package/build/core/middleware/utils/migrationContext.js +0 -4
- package/build/core/middleware/utils/migrationContext.js.map +1 -1
- package/build/core/question.d.ts +2 -12
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +18 -240
- package/build/core/question.js.map +1 -1
- package/build/core/types.d.ts +0 -10
- package/build/core/types.d.ts.map +1 -1
- package/build/error/common.d.ts +9 -0
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +39 -1
- package/build/error/common.js.map +1 -1
- package/build/error/script.d.ts +1 -1
- package/build/error/script.d.ts.map +1 -1
- package/build/error/script.js +3 -3
- package/build/error/script.js.map +1 -1
- package/build/index.d.ts +0 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -4
- package/build/index.js.map +1 -1
- package/package.json +14 -33
- package/resource/package.nls.json +13 -313
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/build/common/azure-hosting/azureAppServiceHosting.d.ts +0 -16
- package/build/common/azure-hosting/azureAppServiceHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureAppServiceHosting.js +0 -33
- package/build/common/azure-hosting/azureAppServiceHosting.js.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.d.ts +0 -14
- package/build/common/azure-hosting/azureFunctionHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureFunctionHosting.js +0 -34
- package/build/common/azure-hosting/azureFunctionHosting.js.map +0 -1
- package/build/common/azure-hosting/azureHosting.d.ts +0 -23
- package/build/common/azure-hosting/azureHosting.d.ts.map +0 -1
- package/build/common/azure-hosting/azureHosting.js +0 -95
- package/build/common/azure-hosting/azureHosting.js.map +0 -1
- package/build/common/azure-hosting/azureOps.d.ts +0 -17
- package/build/common/azure-hosting/azureOps.d.ts.map +0 -1
- package/build/common/azure-hosting/azureOps.js +0 -94
- package/build/common/azure-hosting/azureOps.js.map +0 -1
- package/build/common/azure-hosting/hostingConstant.d.ts +0 -46
- package/build/common/azure-hosting/hostingConstant.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingConstant.js +0 -86
- package/build/common/azure-hosting/hostingConstant.js.map +0 -1
- package/build/common/azure-hosting/hostingError.d.ts +0 -47
- package/build/common/azure-hosting/hostingError.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingError.js +0 -83
- package/build/common/azure-hosting/hostingError.js.map +0 -1
- package/build/common/azure-hosting/hostingFactory.d.ts +0 -6
- package/build/common/azure-hosting/hostingFactory.d.ts.map +0 -1
- package/build/common/azure-hosting/hostingFactory.js +0 -22
- package/build/common/azure-hosting/hostingFactory.js.map +0 -1
- package/build/common/azure-hosting/interfaces.d.ts +0 -58
- package/build/common/azure-hosting/interfaces.d.ts.map +0 -1
- package/build/common/azure-hosting/interfaces.js +0 -12
- package/build/common/azure-hosting/interfaces.js.map +0 -1
- package/build/common/azure-hosting/messages.d.ts +0 -10
- package/build/common/azure-hosting/messages.d.ts.map +0 -1
- package/build/common/azure-hosting/messages.js +0 -16
- package/build/common/azure-hosting/messages.js.map +0 -1
- package/build/common/azure-hosting/utils.d.ts +0 -10
- package/build/common/azure-hosting/utils.d.ts.map +0 -1
- package/build/common/azure-hosting/utils.js +0 -107
- package/build/common/azure-hosting/utils.js.map +0 -1
- package/build/common/cpUtils.d.ts +0 -12
- package/build/common/cpUtils.d.ts.map +0 -1
- package/build/common/cpUtils.js +0 -68
- package/build/common/cpUtils.js.map +0 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +0 -27
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +0 -1
- package/build/common/deps-checker/internal/ngrokChecker.js +0 -222
- package/build/common/deps-checker/internal/ngrokChecker.js.map +0 -1
- package/build/common/deps-checker/util/extensionInstaller.d.ts +0 -3
- package/build/common/deps-checker/util/extensionInstaller.d.ts.map +0 -1
- package/build/common/deps-checker/util/extensionInstaller.js +0 -47
- package/build/common/deps-checker/util/extensionInstaller.js.map +0 -1
- package/build/common/samples-config.json +0 -201
- package/build/component/arm.d.ts +0 -42
- package/build/component/arm.d.ts.map +0 -1
- package/build/component/arm.js +0 -653
- package/build/component/arm.js.map +0 -1
- package/build/component/bicep.d.ts +0 -8
- package/build/component/bicep.d.ts.map +0 -1
- package/build/component/bicep.js +0 -49
- package/build/component/bicep.js.map +0 -1
- package/build/component/code/api/apiCode.d.ts +0 -13
- package/build/component/code/api/apiCode.d.ts.map +0 -1
- package/build/component/code/api/apiCode.js +0 -154
- package/build/component/code/api/apiCode.js.map +0 -1
- package/build/component/code/api/depsChecker/funcHelper.d.ts +0 -11
- package/build/component/code/api/depsChecker/funcHelper.d.ts.map +0 -1
- package/build/component/code/api/depsChecker/funcHelper.js +0 -55
- package/build/component/code/api/depsChecker/funcHelper.js.map +0 -1
- package/build/component/code/api/depsChecker/funcPluginLogger.d.ts +0 -17
- package/build/component/code/api/depsChecker/funcPluginLogger.d.ts.map +0 -1
- package/build/component/code/api/depsChecker/funcPluginLogger.js +0 -52
- package/build/component/code/api/depsChecker/funcPluginLogger.js.map +0 -1
- package/build/component/code/api/depsChecker/funcPluginTelemetry.d.ts +0 -15
- package/build/component/code/api/depsChecker/funcPluginTelemetry.d.ts.map +0 -1
- package/build/component/code/api/depsChecker/funcPluginTelemetry.js +0 -53
- package/build/component/code/api/depsChecker/funcPluginTelemetry.js.map +0 -1
- package/build/component/code/api/enums.d.ts +0 -11
- package/build/component/code/api/enums.d.ts.map +0 -1
- package/build/component/code/api/enums.js +0 -18
- package/build/component/code/api/enums.js.map +0 -1
- package/build/component/code/api/language-strategy.d.ts +0 -15
- package/build/component/code/api/language-strategy.d.ts.map +0 -1
- package/build/component/code/api/language-strategy.js +0 -51
- package/build/component/code/api/language-strategy.js.map +0 -1
- package/build/component/code/api/scaffold.d.ts +0 -13
- package/build/component/code/api/scaffold.d.ts.map +0 -1
- package/build/component/code/api/scaffold.js +0 -83
- package/build/component/code/api/scaffold.js.map +0 -1
- package/build/component/code/api/telemetry-helper.d.ts +0 -20
- package/build/component/code/api/telemetry-helper.d.ts.map +0 -1
- package/build/component/code/api/telemetry-helper.js +0 -43
- package/build/component/code/api/telemetry-helper.js.map +0 -1
- package/build/component/code/appSettingUtils.d.ts +0 -17
- package/build/component/code/appSettingUtils.d.ts.map +0 -1
- package/build/component/code/appSettingUtils.js +0 -106
- package/build/component/code/appSettingUtils.js.map +0 -1
- package/build/component/code/appSettings/baseAppSettings.json +0 -10
- package/build/component/code/appSettings/botAppSettings.json +0 -4
- package/build/component/code/appSettings/ssoBlazorAppSettings.json +0 -9
- package/build/component/code/appSettings/ssoBotAppSettings.json +0 -13
- package/build/component/code/botCode.d.ts +0 -14
- package/build/component/code/botCode.d.ts.map +0 -1
- package/build/component/code/botCode.js +0 -198
- package/build/component/code/botCode.js.map +0 -1
- package/build/component/code/constants.d.ts +0 -32
- package/build/component/code/constants.d.ts.map +0 -1
- package/build/component/code/constants.js +0 -38
- package/build/component/code/constants.js.map +0 -1
- package/build/component/code/error.d.ts +0 -11
- package/build/component/code/error.d.ts.map +0 -1
- package/build/component/code/error.js +0 -41
- package/build/component/code/error.js.map +0 -1
- package/build/component/code/spfxTabCode.d.ts +0 -11
- package/build/component/code/spfxTabCode.d.ts.map +0 -1
- package/build/component/code/spfxTabCode.js +0 -237
- package/build/component/code/spfxTabCode.js.map +0 -1
- package/build/component/code/tab/constants.d.ts +0 -7
- package/build/component/code/tab/constants.d.ts.map +0 -1
- package/build/component/code/tab/constants.js +0 -17
- package/build/component/code/tab/constants.js.map +0 -1
- package/build/component/code/tab/deploy.d.ts +0 -16
- package/build/component/code/tab/deploy.d.ts.map +0 -1
- package/build/component/code/tab/deploy.js +0 -95
- package/build/component/code/tab/deploy.js.map +0 -1
- package/build/component/code/tab/env.d.ts +0 -23
- package/build/component/code/tab/env.d.ts.map +0 -1
- package/build/component/code/tab/env.js +0 -101
- package/build/component/code/tab/env.js.map +0 -1
- package/build/component/code/tab/tabCode.d.ts +0 -17
- package/build/component/code/tab/tabCode.d.ts.map +0 -1
- package/build/component/code/tab/tabCode.js +0 -248
- package/build/component/code/tab/tabCode.js.map +0 -1
- package/build/component/connection/apimConfig.d.ts +0 -11
- package/build/component/connection/apimConfig.d.ts.map +0 -1
- package/build/component/connection/apimConfig.js +0 -44
- package/build/component/connection/apimConfig.js.map +0 -1
- package/build/component/connection/azureFunctionConfig.d.ts +0 -9
- package/build/component/connection/azureFunctionConfig.d.ts.map +0 -1
- package/build/component/connection/azureFunctionConfig.js +0 -25
- package/build/component/connection/azureFunctionConfig.js.map +0 -1
- package/build/component/connection/azureResourceConfig.d.ts +0 -11
- package/build/component/connection/azureResourceConfig.d.ts.map +0 -1
- package/build/component/connection/azureResourceConfig.js +0 -72
- package/build/component/connection/azureResourceConfig.js.map +0 -1
- package/build/component/connection/azureWebAppConfig.d.ts +0 -9
- package/build/component/connection/azureWebAppConfig.d.ts.map +0 -1
- package/build/component/connection/azureWebAppConfig.js +0 -25
- package/build/component/connection/azureWebAppConfig.js.map +0 -1
- package/build/component/coordinator/lifecycleStage.d.ts +0 -2
- package/build/component/coordinator/lifecycleStage.d.ts.map +0 -1
- package/build/component/coordinator/lifecycleStage.js +0 -23
- package/build/component/coordinator/lifecycleStage.js.map +0 -1
- package/build/component/core.d.ts +0 -65
- package/build/component/core.d.ts.map +0 -1
- package/build/component/core.js +0 -653
- package/build/component/core.js.map +0 -1
- package/build/component/debug/error.d.ts +0 -8
- package/build/component/debug/error.d.ts.map +0 -1
- package/build/component/debug/error.js +0 -49
- package/build/component/debug/error.js.map +0 -1
- package/build/component/debug/index.d.ts +0 -30
- package/build/component/debug/index.d.ts.map +0 -1
- package/build/component/debug/index.js +0 -541
- package/build/component/debug/index.js.map +0 -1
- package/build/component/debug/util/ngrok.d.ts +0 -6
- package/build/component/debug/util/ngrok.d.ts.map +0 -1
- package/build/component/debug/util/ngrok.js +0 -65
- package/build/component/debug/util/ngrok.js.map +0 -1
- package/build/component/envManager.d.ts +0 -4
- package/build/component/envManager.d.ts.map +0 -1
- package/build/component/envManager.js +0 -25
- package/build/component/envManager.js.map +0 -1
- package/build/component/feature/api/api.d.ts +0 -8
- package/build/component/feature/api/api.d.ts.map +0 -1
- package/build/component/feature/api/api.js +0 -188
- package/build/component/feature/api/api.js.map +0 -1
- package/build/component/feature/api/constants.d.ts +0 -4
- package/build/component/feature/api/constants.d.ts.map +0 -1
- package/build/component/feature/api/constants.js +0 -9
- package/build/component/feature/api/constants.js.map +0 -1
- package/build/component/feature/api/question.d.ts +0 -3
- package/build/component/feature/api/question.d.ts.map +0 -1
- package/build/component/feature/api/question.js +0 -13
- package/build/component/feature/api/question.js.map +0 -1
- package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts +0 -23
- package/build/component/feature/apiconnector/ApiConnectorImpl.d.ts.map +0 -1
- package/build/component/feature/apiconnector/ApiConnectorImpl.js +0 -288
- package/build/component/feature/apiconnector/ApiConnectorImpl.js.map +0 -1
- package/build/component/feature/apiconnector/apiConnector.d.ts +0 -11
- package/build/component/feature/apiconnector/apiConnector.d.ts.map +0 -1
- package/build/component/feature/apiconnector/apiConnector.js +0 -43
- package/build/component/feature/apiconnector/apiConnector.js.map +0 -1
- package/build/component/feature/apiconnector/checker.d.ts +0 -7
- package/build/component/feature/apiconnector/checker.d.ts.map +0 -1
- package/build/component/feature/apiconnector/checker.js +0 -74
- package/build/component/feature/apiconnector/checker.js.map +0 -1
- package/build/component/feature/apiconnector/config.d.ts +0 -23
- package/build/component/feature/apiconnector/config.d.ts.map +0 -1
- package/build/component/feature/apiconnector/config.js +0 -5
- package/build/component/feature/apiconnector/config.js.map +0 -1
- package/build/component/feature/apiconnector/constants.d.ts +0 -50
- package/build/component/feature/apiconnector/constants.d.ts.map +0 -1
- package/build/component/feature/apiconnector/constants.js +0 -61
- package/build/component/feature/apiconnector/constants.js.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.d.ts +0 -14
- package/build/component/feature/apiconnector/depsHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/depsHandler.js +0 -109
- package/build/component/feature/apiconnector/depsHandler.js.map +0 -1
- package/build/component/feature/apiconnector/envHandler.d.ts +0 -21
- package/build/component/feature/apiconnector/envHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/envHandler.js +0 -128
- package/build/component/feature/apiconnector/envHandler.js.map +0 -1
- package/build/component/feature/apiconnector/errors.d.ts +0 -53
- package/build/component/feature/apiconnector/errors.d.ts.map +0 -1
- package/build/component/feature/apiconnector/errors.js +0 -64
- package/build/component/feature/apiconnector/errors.js.map +0 -1
- package/build/component/feature/apiconnector/questions.d.ts +0 -41
- package/build/component/feature/apiconnector/questions.d.ts.map +0 -1
- package/build/component/feature/apiconnector/questions.js +0 -262
- package/build/component/feature/apiconnector/questions.js.map +0 -1
- package/build/component/feature/apiconnector/result.d.ts +0 -23
- package/build/component/feature/apiconnector/result.d.ts.map +0 -1
- package/build/component/feature/apiconnector/result.js +0 -40
- package/build/component/feature/apiconnector/result.js.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.d.ts +0 -10
- package/build/component/feature/apiconnector/sampleHandler.d.ts.map +0 -1
- package/build/component/feature/apiconnector/sampleHandler.js +0 -62
- package/build/component/feature/apiconnector/sampleHandler.js.map +0 -1
- package/build/component/feature/apiconnector/telemetry.d.ts +0 -42
- package/build/component/feature/apiconnector/telemetry.d.ts.map +0 -1
- package/build/component/feature/apiconnector/telemetry.js +0 -70
- package/build/component/feature/apiconnector/telemetry.js.map +0 -1
- package/build/component/feature/apiconnector/utils.d.ts +0 -18
- package/build/component/feature/apiconnector/utils.d.ts.map +0 -1
- package/build/component/feature/apiconnector/utils.js +0 -90
- package/build/component/feature/apiconnector/utils.js.map +0 -1
- package/build/component/feature/apim.d.ts +0 -8
- package/build/component/feature/apim.d.ts.map +0 -1
- package/build/component/feature/apim.js +0 -123
- package/build/component/feature/apim.js.map +0 -1
- package/build/component/feature/bot/bot.d.ts +0 -12
- package/build/component/feature/bot/bot.d.ts.map +0 -1
- package/build/component/feature/bot/bot.js +0 -309
- package/build/component/feature/bot/bot.js.map +0 -1
- package/build/component/feature/cicd/CICDImpl.d.ts +0 -9
- package/build/component/feature/cicd/CICDImpl.d.ts.map +0 -1
- package/build/component/feature/cicd/CICDImpl.js +0 -106
- package/build/component/feature/cicd/CICDImpl.js.map +0 -1
- package/build/component/feature/cicd/cicd.d.ts +0 -8
- package/build/component/feature/cicd/cicd.d.ts.map +0 -1
- package/build/component/feature/cicd/cicd.js +0 -115
- package/build/component/feature/cicd/cicd.js.map +0 -1
- package/build/component/feature/cicd/constants.d.ts +0 -39
- package/build/component/feature/cicd/constants.d.ts.map +0 -1
- package/build/component/feature/cicd/constants.js +0 -53
- package/build/component/feature/cicd/constants.js.map +0 -1
- package/build/component/feature/cicd/errors.d.ts +0 -25
- package/build/component/feature/cicd/errors.d.ts.map +0 -1
- package/build/component/feature/cicd/errors.js +0 -49
- package/build/component/feature/cicd/errors.js.map +0 -1
- package/build/component/feature/cicd/existingTemplatesStat.d.ts +0 -16
- package/build/component/feature/cicd/existingTemplatesStat.d.ts.map +0 -1
- package/build/component/feature/cicd/existingTemplatesStat.js +0 -75
- package/build/component/feature/cicd/existingTemplatesStat.js.map +0 -1
- package/build/component/feature/cicd/logger.d.ts +0 -10
- package/build/component/feature/cicd/logger.d.ts.map +0 -1
- package/build/component/feature/cicd/logger.js +0 -27
- package/build/component/feature/cicd/logger.js.map +0 -1
- package/build/component/feature/cicd/provider/azdoProvider.d.ts +0 -6
- package/build/component/feature/cicd/provider/azdoProvider.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/azdoProvider.js +0 -25
- package/build/component/feature/cicd/provider/azdoProvider.js.map +0 -1
- package/build/component/feature/cicd/provider/enums.d.ts +0 -12
- package/build/component/feature/cicd/provider/enums.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/enums.js +0 -19
- package/build/component/feature/cicd/provider/enums.js.map +0 -1
- package/build/component/feature/cicd/provider/factory.d.ts +0 -6
- package/build/component/feature/cicd/provider/factory.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/factory.js +0 -28
- package/build/component/feature/cicd/provider/factory.js.map +0 -1
- package/build/component/feature/cicd/provider/githubProvider.d.ts +0 -6
- package/build/component/feature/cicd/provider/githubProvider.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/githubProvider.js +0 -25
- package/build/component/feature/cicd/provider/githubProvider.js.map +0 -1
- package/build/component/feature/cicd/provider/jenkinsProvider.d.ts +0 -6
- package/build/component/feature/cicd/provider/jenkinsProvider.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/jenkinsProvider.js +0 -25
- package/build/component/feature/cicd/provider/jenkinsProvider.js.map +0 -1
- package/build/component/feature/cicd/provider/provider.d.ts +0 -11
- package/build/component/feature/cicd/provider/provider.d.ts.map +0 -1
- package/build/component/feature/cicd/provider/provider.js +0 -106
- package/build/component/feature/cicd/provider/provider.js.map +0 -1
- package/build/component/feature/cicd/questions.d.ts +0 -18
- package/build/component/feature/cicd/questions.d.ts.map +0 -1
- package/build/component/feature/cicd/questions.js +0 -82
- package/build/component/feature/cicd/questions.js.map +0 -1
- package/build/component/feature/cicd/result.d.ts +0 -11
- package/build/component/feature/cicd/result.d.ts.map +0 -1
- package/build/component/feature/cicd/result.js +0 -37
- package/build/component/feature/cicd/result.js.map +0 -1
- package/build/component/feature/cicd/utils/buildScripts.d.ts +0 -3
- package/build/component/feature/cicd/utils/buildScripts.d.ts.map +0 -1
- package/build/component/feature/cicd/utils/buildScripts.js +0 -29
- package/build/component/feature/cicd/utils/buildScripts.js.map +0 -1
- package/build/component/feature/cicd/utils/telemetry-helper.d.ts +0 -29
- package/build/component/feature/cicd/utils/telemetry-helper.d.ts.map +0 -1
- package/build/component/feature/cicd/utils/telemetry-helper.js +0 -46
- package/build/component/feature/cicd/utils/telemetry-helper.js.map +0 -1
- package/build/component/feature/keyVault.d.ts +0 -16
- package/build/component/feature/keyVault.d.ts.map +0 -1
- package/build/component/feature/keyVault.js +0 -90
- package/build/component/feature/keyVault.js.map +0 -1
- package/build/component/feature/spfx.d.ts +0 -9
- package/build/component/feature/spfx.d.ts.map +0 -1
- package/build/component/feature/spfx.js +0 -121
- package/build/component/feature/spfx.js.map +0 -1
- package/build/component/feature/sql.d.ts +0 -10
- package/build/component/feature/sql.d.ts.map +0 -1
- package/build/component/feature/sql.js +0 -80
- package/build/component/feature/sql.js.map +0 -1
- package/build/component/feature/tab.d.ts +0 -10
- package/build/component/feature/tab.d.ts.map +0 -1
- package/build/component/feature/tab.js +0 -238
- package/build/component/feature/tab.js.map +0 -1
- package/build/component/generator/spfxGenerator.d.ts.map +0 -1
- package/build/component/generator/spfxGenerator.js.map +0 -1
- package/build/component/middleware/logger.d.ts +0 -21
- package/build/component/middleware/logger.d.ts.map +0 -1
- package/build/component/middleware/logger.js +0 -53
- package/build/component/middleware/logger.js.map +0 -1
- package/build/component/middleware/progressbar.d.ts +0 -3
- package/build/component/middleware/progressbar.d.ts.map +0 -1
- package/build/component/middleware/progressbar.js +0 -22
- package/build/component/middleware/progressbar.js.map +0 -1
- package/build/component/middleware/runWithCatchError.d.ts +0 -6
- package/build/component/middleware/runWithCatchError.d.ts.map +0 -1
- package/build/component/middleware/runWithCatchError.js +0 -43
- package/build/component/middleware/runWithCatchError.js.map +0 -1
- package/build/component/middleware/telemetry.d.ts +0 -37
- package/build/component/middleware/telemetry.d.ts.map +0 -1
- package/build/component/middleware/telemetry.js +0 -70
- package/build/component/middleware/telemetry.js.map +0 -1
- package/build/component/middleware/types.d.ts +0 -25
- package/build/component/middleware/types.d.ts.map +0 -1
- package/build/component/middleware/types.js +0 -5
- package/build/component/middleware/types.js.map +0 -1
- package/build/component/resource/aadApp/aadAppManifestManager.d.ts +0 -12
- package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +0 -1
- package/build/component/resource/aadApp/aadAppManifestManager.js +0 -151
- package/build/component/resource/aadApp/aadAppManifestManager.js.map +0 -1
- package/build/component/resource/aadApp/appStudio.d.ts +0 -9
- package/build/component/resource/aadApp/appStudio.d.ts.map +0 -1
- package/build/component/resource/aadApp/appStudio.js +0 -83
- package/build/component/resource/aadApp/appStudio.js.map +0 -1
- package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts +0 -14
- package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts.map +0 -1
- package/build/component/resource/aadApp/interfaces/IAADApplication.js +0 -5
- package/build/component/resource/aadApp/interfaces/IAADApplication.js.map +0 -1
- package/build/component/resource/aadApp/interfaces/IPermission.d.ts +0 -8
- package/build/component/resource/aadApp/interfaces/IPermission.d.ts.map +0 -1
- package/build/component/resource/aadApp/interfaces/IPermission.js +0 -5
- package/build/component/resource/aadApp/interfaces/IPermission.js.map +0 -1
- package/build/component/resource/aadApp/interfaces/models.d.ts +0 -11
- package/build/component/resource/aadApp/interfaces/models.d.ts.map +0 -1
- package/build/component/resource/aadApp/interfaces/models.js +0 -12
- package/build/component/resource/aadApp/interfaces/models.js.map +0 -1
- package/build/component/resource/aadApp/utils/format.d.ts +0 -7
- package/build/component/resource/aadApp/utils/format.d.ts.map +0 -1
- package/build/component/resource/aadApp/utils/format.js +0 -68
- package/build/component/resource/aadApp/utils/format.js.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.d.ts +0 -12
- package/build/component/resource/azureAppService/azureAppService.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureAppService.js +0 -48
- package/build/component/resource/azureAppService/azureAppService.js.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.d.ts +0 -36
- package/build/component/resource/azureAppService/azureFunction.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureFunction.js +0 -155
- package/build/component/resource/azureAppService/azureFunction.js.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.d.ts +0 -6
- package/build/component/resource/azureAppService/azureLibs.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureLibs.js +0 -13
- package/build/component/resource/azureAppService/azureLibs.js.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.d.ts +0 -30
- package/build/component/resource/azureAppService/azureWebApp.d.ts.map +0 -1
- package/build/component/resource/azureAppService/azureWebApp.js +0 -43
- package/build/component/resource/azureAppService/azureWebApp.js.map +0 -1
- package/build/component/resource/azureAppService/common.d.ts +0 -10
- package/build/component/resource/azureAppService/common.d.ts.map +0 -1
- package/build/component/resource/azureAppService/common.js +0 -80
- package/build/component/resource/azureAppService/common.js.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.d.ts +0 -4
- package/build/component/resource/azureAppService/dir-walk.d.ts.map +0 -1
- package/build/component/resource/azureAppService/dir-walk.js +0 -21
- package/build/component/resource/azureAppService/dir-walk.js.map +0 -1
- package/build/component/resource/azureSql/actions/configure.d.ts +0 -15
- package/build/component/resource/azureSql/actions/configure.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/configure.js +0 -92
- package/build/component/resource/azureSql/actions/configure.js.map +0 -1
- package/build/component/resource/azureSql/actions/provision.d.ts +0 -10
- package/build/component/resource/azureSql/actions/provision.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/provision.js +0 -63
- package/build/component/resource/azureSql/actions/provision.js.map +0 -1
- package/build/component/resource/azureSql/actions/utils.d.ts +0 -12
- package/build/component/resource/azureSql/actions/utils.d.ts.map +0 -1
- package/build/component/resource/azureSql/actions/utils.js +0 -82
- package/build/component/resource/azureSql/actions/utils.js.map +0 -1
- package/build/component/resource/azureSql/azureSql.d.ts +0 -24
- package/build/component/resource/azureSql/azureSql.d.ts.map +0 -1
- package/build/component/resource/azureSql/azureSql.js +0 -75
- package/build/component/resource/azureSql/azureSql.js.map +0 -1
- package/build/component/resource/azureSql/clients/management.d.ts +0 -18
- package/build/component/resource/azureSql/clients/management.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/management.js +0 -124
- package/build/component/resource/azureSql/clients/management.js.map +0 -1
- package/build/component/resource/azureSql/clients/sql.d.ts +0 -13
- package/build/component/resource/azureSql/clients/sql.d.ts.map +0 -1
- package/build/component/resource/azureSql/clients/sql.js +0 -153
- package/build/component/resource/azureSql/clients/sql.js.map +0 -1
- package/build/component/resource/azureSql/config.d.ts +0 -7
- package/build/component/resource/azureSql/config.d.ts.map +0 -1
- package/build/component/resource/azureSql/config.js +0 -77
- package/build/component/resource/azureSql/config.js.map +0 -1
- package/build/component/resource/azureSql/constants.d.ts +0 -85
- package/build/component/resource/azureSql/constants.d.ts.map +0 -1
- package/build/component/resource/azureSql/constants.js +0 -95
- package/build/component/resource/azureSql/constants.js.map +0 -1
- package/build/component/resource/azureSql/errors.d.ts +0 -63
- package/build/component/resource/azureSql/errors.d.ts.map +0 -1
- package/build/component/resource/azureSql/errors.js +0 -107
- package/build/component/resource/azureSql/errors.js.map +0 -1
- package/build/component/resource/azureSql/index.d.ts +0 -2
- package/build/component/resource/azureSql/index.d.ts.map +0 -1
- package/build/component/resource/azureSql/index.js +0 -7
- package/build/component/resource/azureSql/index.js.map +0 -1
- package/build/component/resource/azureSql/questions.d.ts +0 -6
- package/build/component/resource/azureSql/questions.d.ts.map +0 -1
- package/build/component/resource/azureSql/questions.js +0 -59
- package/build/component/resource/azureSql/questions.js.map +0 -1
- package/build/component/resource/azureSql/results.d.ts +0 -10
- package/build/component/resource/azureSql/results.d.ts.map +0 -1
- package/build/component/resource/azureSql/results.js +0 -34
- package/build/component/resource/azureSql/results.js.map +0 -1
- package/build/component/resource/azureSql/types.d.ts +0 -12
- package/build/component/resource/azureSql/types.d.ts.map +0 -1
- package/build/component/resource/azureSql/types.js +0 -5
- package/build/component/resource/azureSql/types.js.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.d.ts +0 -10
- package/build/component/resource/azureSql/utils/checkInput.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/checkInput.js +0 -89
- package/build/component/resource/azureSql/utils/checkInput.js.map +0 -1
- package/build/component/resource/azureSql/utils/common.d.ts +0 -12
- package/build/component/resource/azureSql/utils/common.d.ts.map +0 -1
- package/build/component/resource/azureSql/utils/common.js +0 -51
- package/build/component/resource/azureSql/utils/common.js.map +0 -1
- package/build/component/resource/azureStorage/azureStorage.d.ts +0 -31
- package/build/component/resource/azureStorage/azureStorage.d.ts.map +0 -1
- package/build/component/resource/azureStorage/azureStorage.js +0 -111
- package/build/component/resource/azureStorage/azureStorage.js.map +0 -1
- package/build/component/resource/azureStorage/clients.d.ts +0 -23
- package/build/component/resource/azureStorage/clients.d.ts.map +0 -1
- package/build/component/resource/azureStorage/clients.js +0 -133
- package/build/component/resource/azureStorage/clients.js.map +0 -1
- package/build/component/resource/azureStorage/configs.d.ts +0 -12
- package/build/component/resource/azureStorage/configs.d.ts.map +0 -1
- package/build/component/resource/azureStorage/configs.js +0 -30
- package/build/component/resource/azureStorage/configs.js.map +0 -1
- package/build/component/resource/azureStorage/constants.d.ts +0 -11
- package/build/component/resource/azureStorage/constants.d.ts.map +0 -1
- package/build/component/resource/azureStorage/constants.js +0 -17
- package/build/component/resource/azureStorage/constants.js.map +0 -1
- package/build/component/resource/azureStorage/messages.d.ts +0 -14
- package/build/component/resource/azureStorage/messages.d.ts.map +0 -1
- package/build/component/resource/azureStorage/messages.js +0 -28
- package/build/component/resource/azureStorage/messages.js.map +0 -1
- package/build/component/resource/botService/botService.d.ts +0 -24
- package/build/component/resource/botService/botService.d.ts.map +0 -1
- package/build/component/resource/botService/botService.js +0 -146
- package/build/component/resource/botService/botService.js.map +0 -1
- package/build/component/resource/identity.d.ts +0 -28
- package/build/component/resource/identity.d.ts.map +0 -1
- package/build/component/resource/identity.js +0 -42
- package/build/component/resource/identity.js.map +0 -1
- package/build/component/resource/keyVault.d.ts +0 -29
- package/build/component/resource/keyVault.d.ts.map +0 -1
- package/build/component/resource/keyVault.js +0 -47
- package/build/component/resource/keyVault.js.map +0 -1
- package/build/component/resource/simpleAuth/constants.d.ts +0 -122
- package/build/component/resource/simpleAuth/constants.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/constants.js +0 -163
- package/build/component/resource/simpleAuth/constants.js.map +0 -1
- package/build/component/resource/simpleAuth/errors.d.ts +0 -17
- package/build/component/resource/simpleAuth/errors.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/errors.js +0 -91
- package/build/component/resource/simpleAuth/errors.js.map +0 -1
- package/build/component/resource/simpleAuth/index.d.ts +0 -12
- package/build/component/resource/simpleAuth/index.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/index.js +0 -115
- package/build/component/resource/simpleAuth/index.js.map +0 -1
- package/build/component/resource/simpleAuth/result.d.ts +0 -9
- package/build/component/resource/simpleAuth/result.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/result.js +0 -35
- package/build/component/resource/simpleAuth/result.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/common.d.ts +0 -23
- package/build/component/resource/simpleAuth/utils/common.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/common.js +0 -150
- package/build/component/resource/simpleAuth/utils/common.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/dialog.d.ts +0 -5
- package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/dialog.js +0 -7
- package/build/component/resource/simpleAuth/utils/dialog.js.map +0 -1
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts +0 -17
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +0 -1
- package/build/component/resource/simpleAuth/utils/telemetry.js +0 -45
- package/build/component/resource/simpleAuth/utils/telemetry.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -11
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
- package/build/component/resource/spfx/depsChecker/yoChecker.js.map +0 -1
- package/build/component/resource/spfx/error.d.ts +0 -21
- package/build/component/resource/spfx/error.d.ts.map +0 -1
- package/build/component/resource/spfx/error.js +0 -138
- package/build/component/resource/spfx/error.js.map +0 -1
- package/build/component/resource/spfx/index.d.ts +0 -15
- package/build/component/resource/spfx/index.d.ts.map +0 -1
- package/build/component/resource/spfx/index.js +0 -248
- package/build/component/resource/spfx/index.js.map +0 -1
- package/build/component/resource/spfx/spoClient.d.ts +0 -25
- package/build/component/resource/spfx/spoClient.d.ts.map +0 -1
- package/build/component/resource/spfx/spoClient.js +0 -79
- package/build/component/resource/spfx/spoClient.js.map +0 -1
- package/build/component/resource/spfx/utils/constants.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/constants.js.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/progress-helper.js +0 -46
- package/build/component/resource/spfx/utils/progress-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/question-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/questions.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/questions.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetry-helper.js.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/telemetryEvents.js.map +0 -1
- package/build/component/resource/spfx/utils/utils.d.ts.map +0 -1
- package/build/component/resource/spfx/utils/utils.js.map +0 -1
- package/build/component/utils/backupFiles.d.ts +0 -3
- package/build/component/utils/backupFiles.d.ts.map +0 -1
- package/build/component/utils/backupFiles.js +0 -142
- package/build/component/utils/backupFiles.js.map +0 -1
- package/build/component/utils/depsChecker/bicepChecker.d.ts +0 -11
- package/build/component/utils/depsChecker/bicepChecker.d.ts.map +0 -1
- package/build/component/utils/depsChecker/bicepChecker.js.map +0 -1
- package/build/component/utils/executor.d.ts +0 -12
- package/build/component/utils/executor.d.ts.map +0 -1
- package/build/component/utils/executor.js +0 -87
- package/build/component/utils/executor.js.map +0 -1
- package/build/component/utils/progressHelper.d.ts +0 -7
- package/build/component/utils/progressHelper.d.ts.map +0 -1
- package/build/component/utils/progressHelper.js +0 -20
- package/build/component/utils/progressHelper.js.map +0 -1
- package/build/core/dependencyChecker.d.ts +0 -1
- package/build/core/dependencyChecker.d.ts.map +0 -1
- package/build/core/dependencyChecker.js +0 -2
- package/build/core/dependencyChecker.js.map +0 -1
- package/build/core/downloadSample.d.ts +0 -9
- package/build/core/downloadSample.d.ts.map +0 -1
- package/build/core/downloadSample.js +0 -161
- package/build/core/downloadSample.js.map +0 -1
- package/build/core/middleware/CommonErrorHandlerMW.d.ts +0 -14
- package/build/core/middleware/CommonErrorHandlerMW.d.ts.map +0 -1
- package/build/core/middleware/CommonErrorHandlerMW.js +0 -63
- package/build/core/middleware/CommonErrorHandlerMW.js.map +0 -1
- package/build/core/middleware/aadManifestMigration.d.ts +0 -3
- package/build/core/middleware/aadManifestMigration.d.ts.map +0 -1
- package/build/core/middleware/aadManifestMigration.js +0 -119
- package/build/core/middleware/aadManifestMigration.js.map +0 -1
- package/build/core/middleware/consolidateLocalRemote.d.ts +0 -5
- package/build/core/middleware/consolidateLocalRemote.d.ts.map +0 -1
- package/build/core/middleware/consolidateLocalRemote.js +0 -378
- package/build/core/middleware/consolidateLocalRemote.js.map +0 -1
- package/build/core/middleware/envInfoWriter.d.ts +0 -8
- package/build/core/middleware/envInfoWriter.d.ts.map +0 -1
- package/build/core/middleware/envInfoWriter.js +0 -76
- package/build/core/middleware/envInfoWriter.js.map +0 -1
- package/build/core/middleware/envInfoWriterV3.d.ts +0 -6
- package/build/core/middleware/envInfoWriterV3.d.ts.map +0 -1
- package/build/core/middleware/envInfoWriterV3.js +0 -67
- package/build/core/middleware/envInfoWriterV3.js.map +0 -1
- package/build/core/middleware/projectMigrator.d.ts +0 -40
- package/build/core/middleware/projectMigrator.d.ts.map +0 -1
- package/build/core/middleware/projectMigrator.js +0 -1014
- package/build/core/middleware/projectMigrator.js.map +0 -1
- package/build/core/middleware/projectSettingsWriter.d.ts +0 -6
- package/build/core/middleware/projectSettingsWriter.d.ts.map +0 -1
- package/build/core/middleware/projectSettingsWriter.js +0 -52
- package/build/core/middleware/projectSettingsWriter.js.map +0 -1
- package/resource/backup-config-change-logs.md +0 -24
- package/templates/bicep/azureSql.parameters.json +0 -4
- package/templates/bicep/azureSql.provisionDatabase.module.bicep +0 -15
- package/templates/bicep/azureSql.provisionDatabase.orchestration.bicep +0 -5
- package/templates/bicep/azureSql.provisionServer.module.bicep +0 -44
- package/templates/bicep/azureSql.provisionServer.orchestration.bicep +0 -14
- package/templates/bicep/identity.provision.module.bicep +0 -15
- package/templates/bicep/identity.provision.orchestration.bicep +0 -14
- package/templates/bicep/keyVault.provision.module.bicep +0 -57
- package/templates/bicep/keyVault.provision.orchestration.bicep +0 -15
- package/templates/plugins/resource/apiconnector/package.json +0 -5
- package/templates/plugins/resource/apiconnector/sample/footerComment.template +0 -20
- package/templates/plugins/resource/apiconnector/sample/headerComment.template +0 -52
- package/templates/plugins/resource/apiconnector/sample/js/aad.template +0 -31
- package/templates/plugins/resource/apiconnector/sample/js/apikey.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/js/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/js/cert.template +0 -17
- package/templates/plugins/resource/apiconnector/sample/js/custom.template +0 -39
- package/templates/plugins/resource/apiconnector/sample/ts/aad.template +0 -36
- package/templates/plugins/resource/apiconnector/sample/ts/apikey.template +0 -16
- package/templates/plugins/resource/apiconnector/sample/ts/basic.template +0 -14
- package/templates/plugins/resource/apiconnector/sample/ts/cert.template +0 -19
- package/templates/plugins/resource/apiconnector/sample/ts/custom.template +0 -42
- package/templates/plugins/resource/cicd/azdo/README.md +0 -48
- package/templates/plugins/resource/cicd/azdo/cd.yml +0 -56
- package/templates/plugins/resource/cicd/azdo/ci.yml +0 -37
- package/templates/plugins/resource/cicd/azdo/provision.yml +0 -53
- package/templates/plugins/resource/cicd/azdo/publish.yml +0 -45
- package/templates/plugins/resource/cicd/github/README.md +0 -48
- package/templates/plugins/resource/cicd/github/cd.yml +0 -75
- package/templates/plugins/resource/cicd/github/ci.yml +0 -34
- package/templates/plugins/resource/cicd/github/provision.yml +0 -69
- package/templates/plugins/resource/cicd/github/publish.yml +0 -51
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.cd +0 -77
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.ci +0 -34
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.provision +0 -79
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.publish +0 -57
- package/templates/plugins/resource/cicd/jenkins/README.md +0 -45
- package/templates/plugins/resource/cicd_v2/azdo/README.md +0 -48
- package/templates/plugins/resource/cicd_v2/azdo/cd.yml +0 -56
- package/templates/plugins/resource/cicd_v2/azdo/ci.yml +0 -37
- package/templates/plugins/resource/cicd_v2/azdo/provision.yml +0 -53
- package/templates/plugins/resource/cicd_v2/azdo/publish.yml +0 -45
- package/templates/plugins/resource/cicd_v2/github/README.md +0 -48
- package/templates/plugins/resource/cicd_v2/github/cd.yml +0 -71
- package/templates/plugins/resource/cicd_v2/github/ci.yml +0 -34
- package/templates/plugins/resource/cicd_v2/github/provision.yml +0 -65
- package/templates/plugins/resource/cicd_v2/github/publish.yml +0 -47
- package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.cd +0 -77
- package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.ci +0 -34
- package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.provision +0 -79
- package/templates/plugins/resource/cicd_v2/jenkins/Jenkinsfile.publish +0 -57
- package/templates/plugins/resource/cicd_v2/jenkins/README.md +0 -45
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +0 -15
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/identity/parameters.json +0 -12
- package/templates/plugins/resource/identity/template.json +0 -28
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +0 -57
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +0 -15
- package/templates/plugins/resource/simpleauth/SimpleAuth.zip +0 -0
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +0 -12
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +0 -62
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +0 -51
- package/templates/plugins/resource/simpleauth/version.txt +0 -2
- package/templates/plugins/resource/spfx/solution/README.md +0 -82
- package/templates/plugins/resource/spfx/solution/manifest.local.template.json +0 -62
- package/templates/plugins/resource/spfx/solution/manifest_multi_env.json +0 -63
- package/templates/plugins/resource/spfx/solution/rootREADME.md +0 -13
- package/templates/plugins/resource/sql/bicep/newDatabase.orchestration.template.bicep +0 -5
- package/templates/plugins/resource/sql/bicep/newDatabaseProvision.template.bicep +0 -15
- package/templates/plugins/resource/sql/bicep/parameters.json +0 -4
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +0 -14
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +0 -44
- /package/build/component/{resource → generator}/spfx/depsChecker/dependencyChecker.js +0 -0
- /package/build/component/generator/{spfxGenerator.d.ts → spfx/spfxGenerator.d.ts} +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/question-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetry-helper.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/telemetryEvents.js +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.d.ts +0 -0
- /package/build/component/{resource → generator}/spfx/utils/utils.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AzureZipDeployImpl.js","sourceRoot":"","sources":["../../../../../../src/component/driver/deploy/azure/impl/AzureZipDeployImpl.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,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC3F,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC;QAC3E,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC;QACpC,
|
|
1
|
+
{"version":3,"file":"AzureZipDeployImpl.js","sourceRoot":"","sources":["../../../../../../src/component/driver/deploy/azure/impl/AzureZipDeployImpl.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC;;GAEG;AACH,uDAAoD;AAUpD,mDAA6E;AAC7E,wEAAqE;AACrE,mCAAoC;AACpC,0DAAyC;AACzC,wEAAqE;AACrE,uEAAyE;AACzE,wDAAwB;AACxB,mEAAiE;AACjE,wDAAoE;AAEpE,MAAa,kBAAmB,SAAQ,iCAAe;IAQrD,YACE,IAAa,EACb,OAAsB,EACtB,WAAmB,EACnB,QAAgB,EAChB,SAAmB,EACnB,cAAwB;QAExB,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAfvB,YAAO,GACL,iGAAiG,CAAC;QAwC1F,YAAO,GAA4C,KAAK,EAAE,IAAoB,EAAE,EAAE;YAC1F,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC,CAAC;QA3BA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,GAAG,EAAE,CACpB,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,kCAAkB,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;QAC9E,IAAI,CAAC,cAAc,GAAG,GAAG,EAAE,CACzB,cAAc,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,kCAAkB,CAAC,O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AC,CAAC;aAC5E;YACD,MAAM,IAAI,8BAAqB,CAC7B,iBAAiB,EACjB,IAAI,KAAK,CAAC,gBAAgB,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,MAAM,mCAAI,IAAI,EAAE,CAAC,EAChD,IAAI,CAAC,QAAQ,CACd,CAAC;SACH;QAED,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC9B,CAAC;IAED;;;;OAIG;IACO,oBAAoB,CAAC,QAAgB;QAC7C,OAAO,WAAW,QAAQ,mDAAmD,CAAC;IAChF,CAAC;IAED,iBAAiB;;QACf,MAAA,IAAI,CAAC,WAAW,0CAAE,IAAI,CAAC,2BAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAClG,CAAC;CACF;AA3ND,gDA2NC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserError } from "@microsoft/teamsfx-api";
|
|
2
2
|
export declare class DotnetInstallationUserError extends UserError {
|
|
3
|
-
constructor(actionName: string, error: any);
|
|
3
|
+
constructor(actionName: string, error: any, helpLink?: string);
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=dotnetInstallationUserError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dotnetInstallationUserError.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/dotnetInstallationUserError.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"dotnetInstallationUserError.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/dotnetInstallationUserError.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAQnD,qBAAa,2BAA4B,SAAQ,SAAS;gBAC5C,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM;CAU9D"}
|
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.DotnetInstallationUserError = void 0;
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
+
const lodash_1 = require("lodash");
|
|
7
8
|
const depsError_1 = require("../../../../common/deps-checker/depsError");
|
|
8
9
|
const localizeUtils_1 = require("../../../../common/localizeUtils");
|
|
9
10
|
const errorCode = "DotnetInstallationError";
|
|
10
11
|
const messageKey = "driver.prerequisite.error.dotnetInstallationError";
|
|
11
12
|
class DotnetInstallationUserError extends teamsfx_api_1.UserError {
|
|
12
|
-
constructor(actionName, error) {
|
|
13
|
+
constructor(actionName, error, helpLink) {
|
|
13
14
|
super({
|
|
14
|
-
source: actionName,
|
|
15
|
+
source: lodash_1.camelCase(actionName),
|
|
15
16
|
name: errorCode,
|
|
16
17
|
message: error instanceof depsError_1.DepsCheckerError ? error.message : localizeUtils_1.getDefaultString(messageKey),
|
|
17
18
|
displayMessage: error instanceof depsError_1.DepsCheckerError ? error.message : localizeUtils_1.getLocalizedString(messageKey),
|
|
19
|
+
helpLink: helpLink,
|
|
18
20
|
});
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dotnetInstallationUserError.js","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/dotnetInstallationUserError.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,yEAA6E;AAC7E,oEAAwF;AAExF,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAC5C,MAAM,UAAU,GAAG,mDAAmD,CAAC;AAEvE,MAAa,2BAA4B,SAAQ,uBAAS;IACxD,YAAY,UAAkB,EAAE,KAAU;
|
|
1
|
+
{"version":3,"file":"dotnetInstallationUserError.js","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/dotnetInstallationUserError.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,mCAAmC;AACnC,yEAA6E;AAC7E,oEAAwF;AAExF,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAC5C,MAAM,UAAU,GAAG,mDAAmD,CAAC;AAEvE,MAAa,2BAA4B,SAAQ,uBAAS;IACxD,YAAY,UAAkB,EAAE,KAAU,EAAE,QAAiB;QAC3D,KAAK,CAAC;YACJ,MAAM,EAAE,kBAAS,CAAC,UAAU,CAAC;YAC7B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK,YAAY,4BAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,gCAAgB,CAAC,UAAU,CAAC;YACzF,cAAc,EACZ,KAAK,YAAY,4BAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,kCAAkB,CAAC,UAAU,CAAC;YACpF,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;CACF;AAXD,kEAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserError } from "@microsoft/teamsfx-api";
|
|
2
2
|
export declare class FuncInstallationUserError extends UserError {
|
|
3
|
-
constructor(actionName: string, error: any);
|
|
3
|
+
constructor(actionName: string, error: any, helpLink?: string);
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=funcInstallationUserError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcInstallationUserError.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/funcInstallationUserError.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"funcInstallationUserError.d.ts","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/funcInstallationUserError.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAQnD,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM;CAU9D"}
|
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.FuncInstallationUserError = void 0;
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
+
const lodash_1 = require("lodash");
|
|
7
8
|
const depsError_1 = require("../../../../common/deps-checker/depsError");
|
|
8
9
|
const localizeUtils_1 = require("../../../../common/localizeUtils");
|
|
9
10
|
const errorCode = "FuncInstallationError";
|
|
10
11
|
const messageKey = "driver.prerequisite.error.funcInstallationError";
|
|
11
12
|
class FuncInstallationUserError extends teamsfx_api_1.UserError {
|
|
12
|
-
constructor(actionName, error) {
|
|
13
|
+
constructor(actionName, error, helpLink) {
|
|
13
14
|
super({
|
|
14
|
-
source: actionName,
|
|
15
|
+
source: lodash_1.camelCase(actionName),
|
|
15
16
|
name: errorCode,
|
|
16
17
|
message: error instanceof depsError_1.DepsCheckerError ? error.message : localizeUtils_1.getDefaultString(messageKey),
|
|
17
18
|
displayMessage: error instanceof depsError_1.DepsCheckerError ? error.message : localizeUtils_1.getLocalizedString(messageKey),
|
|
19
|
+
helpLink: helpLink,
|
|
18
20
|
});
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcInstallationUserError.js","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/funcInstallationUserError.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,yEAA6E;AAC7E,oEAAwF;AAExF,MAAM,SAAS,GAAG,uBAAuB,CAAC;AAC1C,MAAM,UAAU,GAAG,iDAAiD,CAAC;AAErE,MAAa,yBAA0B,SAAQ,uBAAS;IACtD,YAAY,UAAkB,EAAE,KAAU;
|
|
1
|
+
{"version":3,"file":"funcInstallationUserError.js","sourceRoot":"","sources":["../../../../../src/component/driver/devTool/error/funcInstallationUserError.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAmD;AACnD,mCAAmC;AACnC,yEAA6E;AAC7E,oEAAwF;AAExF,MAAM,SAAS,GAAG,uBAAuB,CAAC;AAC1C,MAAM,UAAU,GAAG,iDAAiD,CAAC;AAErE,MAAa,yBAA0B,SAAQ,uBAAS;IACtD,YAAY,UAAkB,EAAE,KAAU,EAAE,QAAiB;QAC3D,KAAK,CAAC;YACJ,MAAM,EAAE,kBAAS,CAAC,UAAU,CAAC;YAC7B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK,YAAY,4BAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,gCAAgB,CAAC,UAAU,CAAC;YACzF,cAAc,EACZ,KAAK,YAAY,4BAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,kCAAkB,CAAC,UAAU,CAAC;YACpF,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;CACF;AAXD,8DAWC"}
|
|
@@ -7,6 +7,7 @@ export declare class ToolsInstallDriver implements StepDriver {
|
|
|
7
7
|
description: string;
|
|
8
8
|
run(args: InstallToolArgs, context: DriverContext): Promise<Result<Map<string, string>, FxError>>;
|
|
9
9
|
execute(args: InstallToolArgs, context: DriverContext, outputEnvVarNames?: Map<string, string>): Promise<ExecutionResult>;
|
|
10
|
+
_run(args: InstallToolArgs, wrapContext: WrapDriverContext, outputEnvVarNames?: Map<string, string>): Promise<Result<Map<string, string>, FxError>>;
|
|
10
11
|
}
|
|
11
12
|
export declare class ToolsInstallDriverImpl {
|
|
12
13
|
private context;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/devTool/installDriver.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"installDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/devTool/installDriver.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAOzD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAUrD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAmB/D,qBACa,kBAAmB,YAAW,UAAU;IACnD,WAAW,SAA6B;IAElC,GAAG,CACP,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;IAK1C,OAAO,CACX,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,aAAa,EACtB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,eAAe,CAAC;IAarB,IAAI,CACR,IAAI,EAAE,eAAe,EACrB,WAAW,EAAE,iBAAiB,EAC9B,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;CAMjD;AAED,qBAAa,sBAAsB;IACrB,OAAO,CAAC,OAAO;gBAAP,OAAO,EAAE,iBAAiB;IAExC,GAAG,CACP,IAAI,EAAE,eAAe,EACrB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IA+BzB,uBAAuB,CAC3B,YAAY,EAAE,OAAO,EACrB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IA6BzB,oBAAoB,CACxB,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,MAAM,EACnB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAgCzB,aAAa,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IA+B1F,OAAO,CAAC,YAAY;IAuBpB,OAAO,CAAC,eAAe;IAiBvB,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,qBAAqB;CAe9B"}
|
|
@@ -23,6 +23,7 @@ const updateProgress_1 = require("../middleware/updateProgress");
|
|
|
23
23
|
const lib_1 = require("@feathersjs/hooks/lib");
|
|
24
24
|
const localizeUtils_1 = require("../../../common/localizeUtils");
|
|
25
25
|
const funcToolChecker_1 = require("../../../common/deps-checker/internal/funcToolChecker");
|
|
26
|
+
const dotnetChecker_1 = require("../../../common/deps-checker/internal/dotnetChecker");
|
|
26
27
|
const ACTION_NAME = "devTool/install";
|
|
27
28
|
const helpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
28
29
|
const outputKeys = {
|
|
@@ -36,23 +37,23 @@ let ToolsInstallDriver = class ToolsInstallDriver {
|
|
|
36
37
|
this.description = constant_1.toolsInstallDescription();
|
|
37
38
|
}
|
|
38
39
|
async run(args, context) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const impl = new ToolsInstallDriverImpl(wrapContext);
|
|
42
|
-
return await impl.run(args);
|
|
43
|
-
});
|
|
40
|
+
const wrapContext = new wrapUtil_1.WrapDriverContext(context, ACTION_NAME, ACTION_NAME);
|
|
41
|
+
return await this._run(args, wrapContext);
|
|
44
42
|
}
|
|
45
43
|
async execute(args, context, outputEnvVarNames) {
|
|
46
44
|
const wrapContext = new wrapUtil_1.WrapDriverContext(context, ACTION_NAME, ACTION_NAME);
|
|
47
|
-
const result = await
|
|
48
|
-
const impl = new ToolsInstallDriverImpl(wrapContext);
|
|
49
|
-
return await impl.run(args, outputEnvVarNames);
|
|
50
|
-
});
|
|
45
|
+
const result = await this._run(args, wrapContext, outputEnvVarNames);
|
|
51
46
|
return {
|
|
52
47
|
result: result,
|
|
53
48
|
summaries: wrapContext.summaries,
|
|
54
49
|
};
|
|
55
50
|
}
|
|
51
|
+
async _run(args, wrapContext, outputEnvVarNames) {
|
|
52
|
+
return common_1.wrapRun(async () => {
|
|
53
|
+
const impl = new ToolsInstallDriverImpl(wrapContext);
|
|
54
|
+
return await impl.run(args, outputEnvVarNames);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
56
57
|
};
|
|
57
58
|
tslib_1.__decorate([
|
|
58
59
|
lib_1.hooks([
|
|
@@ -60,18 +61,10 @@ tslib_1.__decorate([
|
|
|
60
61
|
updateProgress_1.updateProgress(localizeUtils_1.getLocalizedString("driver.prerequisite.progressBar")),
|
|
61
62
|
]),
|
|
62
63
|
tslib_1.__metadata("design:type", Function),
|
|
63
|
-
tslib_1.__metadata("design:paramtypes", [Object,
|
|
64
|
-
|
|
65
|
-
], ToolsInstallDriver.prototype, "run", null);
|
|
66
|
-
tslib_1.__decorate([
|
|
67
|
-
lib_1.hooks([
|
|
68
|
-
addStartAndEndTelemetry_1.addStartAndEndTelemetry(ACTION_NAME, ACTION_NAME),
|
|
69
|
-
updateProgress_1.updateProgress(localizeUtils_1.getLocalizedString("driver.prerequisite.progressBar")),
|
|
70
|
-
]),
|
|
71
|
-
tslib_1.__metadata("design:type", Function),
|
|
72
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Map]),
|
|
64
|
+
tslib_1.__metadata("design:paramtypes", [Object, wrapUtil_1.WrapDriverContext,
|
|
65
|
+
Map]),
|
|
73
66
|
tslib_1.__metadata("design:returntype", Promise)
|
|
74
|
-
], ToolsInstallDriver.prototype, "
|
|
67
|
+
], ToolsInstallDriver.prototype, "_run", null);
|
|
75
68
|
ToolsInstallDriver = tslib_1.__decorate([
|
|
76
69
|
typedi_1.Service(ACTION_NAME)
|
|
77
70
|
], ToolsInstallDriver);
|
|
@@ -137,7 +130,7 @@ class ToolsInstallDriverImpl {
|
|
|
137
130
|
});
|
|
138
131
|
this.setDepsCheckTelemetry(constant_1.TelemetryProperties.funcStatus, funcStatus);
|
|
139
132
|
if (!funcStatus.isInstalled && funcStatus.error) {
|
|
140
|
-
throw new funcInstallationUserError_1.FuncInstallationUserError(ACTION_NAME, funcStatus.error);
|
|
133
|
+
throw new funcInstallationUserError_1.FuncInstallationUserError(ACTION_NAME, funcStatus.error, funcStatus.error.helpLink);
|
|
141
134
|
}
|
|
142
135
|
else if (funcStatus.error) {
|
|
143
136
|
this.context.logProvider.warning(funcStatus.error.message);
|
|
@@ -158,11 +151,11 @@ class ToolsInstallDriverImpl {
|
|
|
158
151
|
async resolveDotnet(outputEnvVarNames) {
|
|
159
152
|
var _a, _b, _c, _d;
|
|
160
153
|
const res = new Map();
|
|
161
|
-
const
|
|
162
|
-
const dotnetStatus = await
|
|
154
|
+
const dotnetChecker = new dotnetChecker_1.DotnetChecker(new deps_checker_1.EmptyLogger(), new deps_checker_1.EmptyTelemetry());
|
|
155
|
+
const dotnetStatus = await dotnetChecker.resolve();
|
|
163
156
|
this.setDepsCheckTelemetry(constant_1.TelemetryProperties.dotnetStatus, dotnetStatus);
|
|
164
157
|
if (!dotnetStatus.isInstalled && dotnetStatus.error) {
|
|
165
|
-
throw new dotnetInstallationUserError_1.DotnetInstallationUserError(ACTION_NAME, dotnetStatus.error);
|
|
158
|
+
throw new dotnetInstallationUserError_1.DotnetInstallationUserError(ACTION_NAME, dotnetStatus.error, dotnetStatus.error.helpLink);
|
|
166
159
|
}
|
|
167
160
|
else if (dotnetStatus.error) {
|
|
168
161
|
this.context.logProvider.warning((_a = dotnetStatus.error) === null || _a === void 0 ? void 0 : _a.message);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/devTool/installDriver.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC;;GAEG;AACH,mDAA6B;AAC7B,4DAA4B;AAC5B,mCAAiC;AAEjC,+
|
|
1
|
+
{"version":3,"file":"installDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/devTool/installDriver.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC;;GAEG;AACH,mDAA6B;AAC7B,4DAA4B;AAC5B,mCAAiC;AAEjC,+DAA6F;AAC7F,2FAGuD;AACvD,+CAA6C;AAG7C,+CAAqD;AACrD,yCAMoB;AACpB,qFAAkF;AAClF,iFAA8E;AAE9E,kDAAgE;AAChE,mFAAgF;AAChF,iEAA8D;AAC9D,+CAA8C;AAC9C,iEAAmE;AACnE,2FAAwF;AACxF,uFAAoF;AAEpF,MAAM,WAAW,GAAG,iBAAiB,CAAC;AACtC,MAAM,QAAQ,GAAG,gDAAgD,CAAC;AAElE,MAAM,UAAU,GAAG;IACjB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;CACzB,CAAC;AAGF,IAAa,kBAAkB,GAA/B,MAAa,kBAAkB;IAA/B;QACE,gBAAW,GAAG,kCAAuB,EAAE,CAAC;IAqC1C,CAAC;IAnCC,KAAK,CAAC,GAAG,CACP,IAAqB,EACrB,OAAsB;QAEtB,MAAM,WAAW,GAAG,IAAI,4BAAiB,CAAC,OAAO,EAAE,WAAW,EA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AI,CAAC,OAAO,CAAC,sBAAsB,CAAC;YAClC,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC,WAAW;gBACnC,CAAC,CAAC,SAAS,CAAC,KAAK;oBACf,CAAC,CAAC,mCAAwB,CAAC,IAAI;oBAC/B,CAAC,CAAC,mCAAwB,CAAC,OAAO;gBACpC,CAAC,CAAC,mCAAwB,CAAC,MAAM;SACpC,CAAC,CAAC;QACH,IAAI,SAAS,CAAC,mBAAmB,EAAE;YACjC,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;SACpE;IACH,CAAC;CACF;AA3MD,wDA2MC"}
|
|
@@ -44,17 +44,17 @@ export declare type AxiosHeaderWithLocation = {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
export declare type DeployResult = {
|
|
47
|
-
id
|
|
48
|
-
status
|
|
49
|
-
message
|
|
50
|
-
received_time
|
|
51
|
-
start_time
|
|
52
|
-
end_time
|
|
53
|
-
last_success_end_time
|
|
54
|
-
complete
|
|
55
|
-
active
|
|
56
|
-
is_readonly
|
|
57
|
-
site_name
|
|
47
|
+
id?: string;
|
|
48
|
+
status?: number;
|
|
49
|
+
message?: string;
|
|
50
|
+
received_time?: string;
|
|
51
|
+
start_time?: string;
|
|
52
|
+
end_time?: string;
|
|
53
|
+
last_success_end_time?: string;
|
|
54
|
+
complete?: boolean;
|
|
55
|
+
active?: boolean;
|
|
56
|
+
is_readonly?: boolean;
|
|
57
|
+
site_name?: string;
|
|
58
58
|
};
|
|
59
59
|
export declare type AxiosZipDeployResult = AxiosHeaderWithLocation & AxiosOnlyStatusResult;
|
|
60
60
|
export declare type AxiosDeployQueryResult = AxiosOnlyStatusResult & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildAndDeployArgs.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/interface/buildAndDeployArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACp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AAE;QACP,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"buildAndDeployArgs.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/interface/buildAndDeployArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAEhC,oBAAY,IAAI,GAAG;IACjB,MAAM,EAAE,cAAc,GAAG,uBAAuB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;IAChG,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,oBAAY,UAAU,GAAG;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,WAAW,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC;IACzB,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,OAAO,EAAE;QACP,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IACpC,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,oBAAoB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC;AAEnF,oBAAY,sBAAsB,GAAG,qBAAqB,GAAG;IAAE,IAAI,CAAC,EAAE,YAAY,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseBuildDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/script/baseBuildDriver.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"baseBuildDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/script/baseBuildDriver.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,OAAO,EAAW,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAK1D,8BAAsB,eAAe;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,OAAO,EAAE,aAAa,CAAC;IACjC,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACnC,SAAS,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IACzC,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,QAAQ,sBAA6B;IACrD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAEjB,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM;IAcpE,SAAS,CAAC,MAAM,CAAC,WAAW,8DAIzB;IAEH,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS;IAInE,GAAG,IAAI,OAAO,CAAC,eAAe,CAAC;IA8BrC,UAAU,IAAI,MAAM;CAIrB"}
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.BaseBuildDriver = void 0;
|
|
9
9
|
const tslib_1 = require("tslib");
|
|
10
10
|
const common_1 = require("../../utils/common");
|
|
11
|
-
const utils_1 = require("../../code/utils");
|
|
12
11
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
13
12
|
const path = tslib_1.__importStar(require("path"));
|
|
14
13
|
const localizeUtils_1 = require("../../../common/localizeUtils");
|
|
15
14
|
const messages_1 = require("../../messages");
|
|
15
|
+
const scriptDriver_1 = require("./scriptDriver");
|
|
16
16
|
class BaseBuildDriver {
|
|
17
17
|
constructor(args, context, helpLink) {
|
|
18
18
|
var _a;
|
|
@@ -40,7 +40,7 @@ class BaseBuildDriver {
|
|
|
40
40
|
env = { PATH: `${this.execPath}${path.delimiter}${process.env.PATH}` };
|
|
41
41
|
}
|
|
42
42
|
await ((_a = this.progressBar) === null || _a === void 0 ? void 0 : _a.next(messages_1.ProgressMessages.runCommand(command, this.workingDirectory)));
|
|
43
|
-
const res = await
|
|
43
|
+
const res = await scriptDriver_1.executeCommand(command, this.context.projectPath, this.logProvider, this.context.ui, this.workingDirectory, env);
|
|
44
44
|
if (res.isErr()) {
|
|
45
45
|
return {
|
|
46
46
|
result: teamsfx_api_1.err(res.error),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseBuildDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/script/baseBuildDriver.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC;;GAEG;;;;AAGH,+CAAuF;AACvF,
|
|
1
|
+
{"version":3,"file":"baseBuildDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/script/baseBuildDriver.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC;;GAEG;;;;AAGH,+CAAuF;AACvF,wDAAmG;AAEnG,mDAA6B;AAE7B,iEAAmE;AACnE,6CAAkD;AAClD,iDAAgD;AAEhD,MAAsB,eAAe;IAWnC,YAAY,IAAa,EAAE,OAAsB,EAAE,QAAiB;;QAClE,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACxD,IAAI,CAAC,IAAI,CAAC,gBAAgB,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,gBAAgB,mCAAI,IAAI,CAAC;QAChE,4EAA4E;QAC5E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC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AAE,EACf,IAAI,CAAC,gBAAgB,EACrB,GAAG,CACJ,CAAC;QACF,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;YACf,OAAO;gBACL,MAAM,EAAE,iBAAG,CAAC,GAAG,CAAC,KAAK,CAAC;gBACtB,SAAS,EAAE,EAAE;aACd,CAAC;SACH;QACD,OAAO;YACL,MAAM,EAAE,gBAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;YACpC,SAAS,EAAE;gBACT,kCAAkB,CAAC,iCAAiC,EAAE,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC;aACtF;SACF,CAAC;IACJ,CAAC;IAED,UAAU;QACR,MAAM,aAAa,GAAG,yBAAgB,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9E,OAAO,GAAG,IAAI,CAAC,WAAW,IAAI,aAAa,EAAE,CAAC;IAChD,CAAC;;AApEH,0CAqEC;AA7DiB,wBAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAiBpC,2BAAW,GAAG,kBAAS,CAAY;IAClD,gBAAgB,EAAE,mBAAU,CAAC,iBAAQ,CAAC;IACtC,IAAI,EAAE,iBAAQ;IACd,QAAQ,EAAE,mBAAU,CAAC,iBAAQ,CAAC;CAC/B,CAAC,CAAC"}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
/**
|
|
2
3
|
* @author huajiezhang <huajiezhang@microsoft.com>
|
|
3
4
|
*/
|
|
4
|
-
import { FxError, Result } from "@microsoft/teamsfx-api";
|
|
5
|
+
import { FxError, Result, LogProvider } from "@microsoft/teamsfx-api";
|
|
5
6
|
import { DriverContext } from "../interface/commonArgs";
|
|
6
7
|
import { ExecutionResult, StepDriver } from "../interface/stepDriver";
|
|
8
|
+
import { DotenvOutput } from "../../utils/envUtil";
|
|
9
|
+
import { ScriptExecutionError, ScriptTimeoutError } from "../../../error/script";
|
|
10
|
+
import child_process from "child_process";
|
|
7
11
|
export declare class ScriptDriver implements StepDriver {
|
|
8
12
|
run(args: unknown, context: DriverContext): Promise<Result<Map<string, string>, FxError>>;
|
|
9
13
|
execute(args: unknown, ctx: DriverContext): Promise<ExecutionResult>;
|
|
10
14
|
}
|
|
11
15
|
export declare const scriptDriver: ScriptDriver;
|
|
16
|
+
export declare function executeCommand(command: string, projectPath: string, logProvider: LogProvider, ui: DriverContext["ui"], workingDirectory?: string, env?: NodeJS.ProcessEnv, shell?: string, timeout?: number, redirectTo?: string): Promise<Result<[string, DotenvOutput], FxError>>;
|
|
17
|
+
export declare function bufferToString(data: Buffer, systemEncoding: string): string;
|
|
18
|
+
export declare function convertScriptErrorToFxError(error: child_process.ExecException, run: string): ScriptTimeoutError | ScriptExecutionError;
|
|
19
|
+
export declare function parseSetOutputCommand(stdout: string): DotenvOutput;
|
|
20
|
+
export declare function maskSecretValues(stdout: string): string;
|
|
21
|
+
export declare function capitalizeFirstLetter(raw: string): string;
|
|
12
22
|
//# sourceMappingURL=scriptDriver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scriptDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/script/scriptDriver.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAO,OAAO,EAAM,MAAM,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"scriptDriver.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/script/scriptDriver.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAO,OAAO,EAAM,MAAM,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE/E,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKtE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,kB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2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.scriptDriver = exports.ScriptDriver = void 0;
|
|
3
|
+
exports.capitalizeFirstLetter = exports.maskSecretValues = exports.parseSetOutputCommand = exports.convertScriptErrorToFxError = exports.bufferToString = exports.executeCommand = exports.scriptDriver = exports.ScriptDriver = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/**
|
|
6
6
|
* @author huajiezhang <huajiezhang@microsoft.com>
|
|
@@ -10,15 +10,21 @@ const typedi_1 = require("typedi");
|
|
|
10
10
|
const hooks_1 = require("@feathersjs/hooks");
|
|
11
11
|
const addStartAndEndTelemetry_1 = require("../middleware/addStartAndEndTelemetry");
|
|
12
12
|
const commonConstant_1 = require("../../constant/commonConstant");
|
|
13
|
-
const utils_1 = require("../../code/utils");
|
|
14
13
|
const messages_1 = require("../../messages");
|
|
14
|
+
const script_1 = require("../../../error/script");
|
|
15
|
+
const charsetUtils_1 = require("../../utils/charsetUtils");
|
|
16
|
+
const path = tslib_1.__importStar(require("path"));
|
|
17
|
+
const os_1 = tslib_1.__importDefault(require("os"));
|
|
18
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
19
|
+
const iconv_lite_1 = tslib_1.__importDefault(require("iconv-lite"));
|
|
20
|
+
const child_process_1 = tslib_1.__importDefault(require("child_process"));
|
|
15
21
|
const ACTION_NAME = "script";
|
|
16
22
|
let ScriptDriver = class ScriptDriver {
|
|
17
23
|
async run(args, context) {
|
|
18
24
|
var _a, _b;
|
|
19
25
|
const typedArgs = args;
|
|
20
26
|
await ((_a = context.progressBar) === null || _a === void 0 ? void 0 : _a.next(messages_1.ProgressMessages.runCommand(typedArgs.run, (_b = typedArgs.workingDirectory) !== null && _b !== void 0 ? _b : "./")));
|
|
21
|
-
const res = await
|
|
27
|
+
const res = await executeCommand(typedArgs.run, context.projectPath, context.logProvider, context.ui, typedArgs.workingDirectory, undefined, typedArgs.shell, typedArgs.timeout, typedArgs.redirectTo);
|
|
22
28
|
if (res.isErr())
|
|
23
29
|
return teamsfx_api_1.err(res.error);
|
|
24
30
|
const outputs = res.value[1];
|
|
@@ -28,7 +34,7 @@ let ScriptDriver = class ScriptDriver {
|
|
|
28
34
|
async execute(args, ctx) {
|
|
29
35
|
const res = await this.run(args, ctx);
|
|
30
36
|
const summaries = res.isOk()
|
|
31
|
-
? [`Successfully executed command ${
|
|
37
|
+
? [`Successfully executed command ${maskSecretValues(args.run)}`]
|
|
32
38
|
: [];
|
|
33
39
|
return { result: res, summaries: summaries };
|
|
34
40
|
}
|
|
@@ -50,4 +56,115 @@ ScriptDriver = tslib_1.__decorate([
|
|
|
50
56
|
], ScriptDriver);
|
|
51
57
|
exports.ScriptDriver = ScriptDriver;
|
|
52
58
|
exports.scriptDriver = new ScriptDriver();
|
|
59
|
+
async function executeCommand(command, projectPath, logProvider, ui, workingDirectory, env, shell, timeout, redirectTo) {
|
|
60
|
+
return new Promise(async (resolve, reject) => {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
const platform = os_1.default.platform();
|
|
63
|
+
let workingDir = workingDirectory || ".";
|
|
64
|
+
workingDir = path.isAbsolute(workingDir) ? workingDir : path.join(projectPath, workingDir);
|
|
65
|
+
if (platform === "win32") {
|
|
66
|
+
workingDir = capitalizeFirstLetter(path.resolve(workingDir !== null && workingDir !== void 0 ? workingDir : ""));
|
|
67
|
+
}
|
|
68
|
+
// const defaultOsToShellMap: any = {
|
|
69
|
+
// win32: "powershell",
|
|
70
|
+
// darwin: "bash",
|
|
71
|
+
// linux: "bash",
|
|
72
|
+
// };
|
|
73
|
+
let run = command;
|
|
74
|
+
// shell = shell || defaultOsToShellMap[platform] || "pwsh";
|
|
75
|
+
let appendFile = undefined;
|
|
76
|
+
if (redirectTo) {
|
|
77
|
+
appendFile = path.isAbsolute(redirectTo) ? redirectTo : path.join(projectPath, redirectTo);
|
|
78
|
+
}
|
|
79
|
+
if (shell === "cmd") {
|
|
80
|
+
run = `%ComSpec% /D /E:ON /V:OFF /S /C "CALL ${command}"`;
|
|
81
|
+
}
|
|
82
|
+
await logProvider.info(`Start to run command: "${command}" on path: "${workingDir}".`);
|
|
83
|
+
const allOutputStrings = [];
|
|
84
|
+
const systemEncoding = await charsetUtils_1.getSystemEncoding();
|
|
85
|
+
const stderrStrings = [];
|
|
86
|
+
const cp = child_process_1.default.exec(run, {
|
|
87
|
+
shell: shell,
|
|
88
|
+
cwd: workingDir,
|
|
89
|
+
encoding: "buffer",
|
|
90
|
+
env: Object.assign(Object.assign({}, process.env), env),
|
|
91
|
+
timeout: timeout,
|
|
92
|
+
}, async (error) => {
|
|
93
|
+
if (error) {
|
|
94
|
+
error.message = stderrStrings.join("").trim() || error.message;
|
|
95
|
+
resolve(teamsfx_api_1.err(convertScriptErrorToFxError(error, run)));
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
// handle '::set-output' or '::set-teamsfx-env' pattern
|
|
99
|
+
const outputString = allOutputStrings.join("");
|
|
100
|
+
const outputObject = parseSetOutputCommand(outputString);
|
|
101
|
+
resolve(teamsfx_api_1.ok([outputString, outputObject]));
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
const dataHandler = (data) => {
|
|
105
|
+
if (appendFile) {
|
|
106
|
+
fs_extra_1.default.appendFileSync(appendFile, data);
|
|
107
|
+
}
|
|
108
|
+
allOutputStrings.push(data);
|
|
109
|
+
};
|
|
110
|
+
(_a = cp.stdout) === null || _a === void 0 ? void 0 : _a.on("data", (data) => {
|
|
111
|
+
const str = bufferToString(data, systemEncoding);
|
|
112
|
+
logProvider.info(` [script action stdout] ${maskSecretValues(str)}`);
|
|
113
|
+
dataHandler(str);
|
|
114
|
+
});
|
|
115
|
+
(_b = cp.stderr) === null || _b === void 0 ? void 0 : _b.on("data", (data) => {
|
|
116
|
+
const str = bufferToString(data, systemEncoding);
|
|
117
|
+
logProvider.warning(` [script action stderr] ${maskSecretValues(str)}`);
|
|
118
|
+
dataHandler(str);
|
|
119
|
+
stderrStrings.push(str);
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
exports.executeCommand = executeCommand;
|
|
124
|
+
function bufferToString(data, systemEncoding) {
|
|
125
|
+
const str = systemEncoding === "utf8" || systemEncoding === "utf-8"
|
|
126
|
+
? data.toString()
|
|
127
|
+
: iconv_lite_1.default.decode(data, systemEncoding);
|
|
128
|
+
return str;
|
|
129
|
+
}
|
|
130
|
+
exports.bufferToString = bufferToString;
|
|
131
|
+
function convertScriptErrorToFxError(error, run) {
|
|
132
|
+
if (error.killed) {
|
|
133
|
+
return new script_1.ScriptTimeoutError(run);
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
return new script_1.ScriptExecutionError(run, error.message);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.convertScriptErrorToFxError = convertScriptErrorToFxError;
|
|
140
|
+
function parseSetOutputCommand(stdout) {
|
|
141
|
+
const regex = /(::set-teamsfx-env|::set-output)\s+([^"'\s]+)=([^"'\s]+)/g;
|
|
142
|
+
const output = {};
|
|
143
|
+
let match;
|
|
144
|
+
while ((match = regex.exec(stdout))) {
|
|
145
|
+
if (match && match.length === 4) {
|
|
146
|
+
const key = match[2].trim();
|
|
147
|
+
const value = match[3].trim();
|
|
148
|
+
output[key] = value;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return output;
|
|
152
|
+
}
|
|
153
|
+
exports.parseSetOutputCommand = parseSetOutputCommand;
|
|
154
|
+
function maskSecretValues(stdout) {
|
|
155
|
+
for (const key of Object.keys(process.env)) {
|
|
156
|
+
if (key.startsWith("SECRET_")) {
|
|
157
|
+
const value = process.env[key];
|
|
158
|
+
if (value) {
|
|
159
|
+
stdout = stdout.replace(value, "***");
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return stdout;
|
|
164
|
+
}
|
|
165
|
+
exports.maskSecretValues = maskSecretValues;
|
|
166
|
+
function capitalizeFirstLetter(raw) {
|
|
167
|
+
return raw.charAt(0).toUpperCase() + raw.slice(1);
|
|
168
|
+
}
|
|
169
|
+
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
|
53
170
|
//# sourceMappingURL=scriptDriver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scriptDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/script/scriptDriver.ts"],"names":[],"mappings":";;;;AAAA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"scriptDriver.js","sourceRoot":"","sources":["../../../../src/component/driver/script/scriptDriver.ts"],"names":[],"mappings":";;;;AAAA;;GAEG;AACH,wDAA+E;AAC/E,mCAAiC;AAGjC,6CAA0C;AAC1C,mFAAgF;AAChF,kEAAkE;AAClE,6CAAkD;AAElD,kDAAiF;AACjF,2DAA6D;AAC7D,mDAA6B;AAC7B,oDAAoB;AACpB,gEAA0B;AAC1B,oEAA+B;AAC/B,0EAA0C;AAE1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAW7B,IAAa,YAAY,GAAzB,MAAa,YAAY;IAEvB,KAAK,CAAC,GAAG,CAAC,IAAa,EAAE,OAAsB;;QAC7C,MAAM,SAAS,GAAG,IAAwB,CAAC;QAC3C,MAAM,CAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,IAAI,CAC7B,2BAAgB,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,EAAE,MAAA,SAAS,CAAC,gBAAgB,mCAAI,IAAI,CAAC,CAC/E,CAAA,CAAC;QACF,MAAM,GAAG,GAAG,MAAM,cAAc,CAC9B,SAAS,CAAC,GAAG,EACb,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,EAAE,EACV,SAAS,CAAC,gBAAgB,EAC1B,SAAS,EACT,SAAS,CAAC,KAAK,EACf,SAAS,CAAC,OAAO,EACjB,SAAS,CAAC,UAAU,CACrB,CAAC;QACF,IAAI,GAAG,CAAC,KAAK,EAAE;YAAE,OAAO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I,EAAE,CAAC;YAC9B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SACrB;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAZD,sDAYC;AAED,SAAgB,gBAAgB,CAAC,MAAc;IAC7C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC1C,IAAI,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;YAC7B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC/B,IAAI,KAAK,EAAE;gBACT,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;aACvC;SACF;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAVD,4CAUC;AAED,SAAgB,qBAAqB,CAAC,GAAW;IAC/C,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AAFD,sDAEC"}
|
|
@@ -9,7 +9,6 @@ export declare class CreateAppPackageDriver implements StepDriver {
|
|
|
9
9
|
run(args: CreateAppPackageArgs, context: DriverContext): Promise<Result<Map<string, string>, FxError>>;
|
|
10
10
|
execute(args: CreateAppPackageArgs, context: DriverContext): Promise<ExecutionResult>;
|
|
11
11
|
build(args: CreateAppPackageArgs, context: WrapDriverContext): Promise<Result<Map<string, string>, FxError>>;
|
|
12
|
-
private loadCurrentState;
|
|
13
12
|
private validateArgs;
|
|
14
13
|
}
|
|
15
14
|
//# sourceMappingURL=createAppPackage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAppPackage.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/teamsApp/createAppPackage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createAppPackage.d.ts","sourceRoot":"","sources":["../../../../src/component/driver/teamsApp/createAppPackage.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,OAAO,EAA6B,MAAM,wBAAwB,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAQzE,eAAO,MAAM,UAAU,2BAA2B,CAAC;AAEnD,qBACa,sBAAuB,YAAW,UAAU;IACvD,WAAW,SAA4E;IAE1E,GAAG,CACd,IAAI,EAAE,oBAAoB,EAC1B,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;IAMnC,OAAO,CAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,eAAe,CAAC;IAad,KAAK,CAChB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,EAAE,iBAAiB,GACzB,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;IA4HhD,OAAO,CAAC,YAAY;CAuBrB"}
|