@microsoft/teamsfx-core 2.0.1 → 2.0.2-alpha.bd1241522.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.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/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.map +1 -1
- package/build/component/resource/aadApp/aadApp.js +6 -24
- package/build/component/resource/aadApp/aadApp.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/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 -272
- 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/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,77 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
// This is just an example workflow for continuous deployment.
|
|
3
|
-
// The example workflow is expected to run on Ubuntu stable versions, for example, 20.04lts and later.
|
|
4
|
-
// You should customize it to meet your own requirements.
|
|
5
|
-
pipeline {
|
|
6
|
-
// To customize the agent field, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#agent.
|
|
7
|
-
agent any
|
|
8
|
-
|
|
9
|
-
// To customize triggers, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#triggers.
|
|
10
|
-
triggers { pollSCM('H */4 * * 1-5') }
|
|
11
|
-
|
|
12
|
-
// To learn more about environment, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#environment.
|
|
13
|
-
environment {
|
|
14
|
-
<%#hosting_type_contains_spfx%>
|
|
15
|
-
M365_ACCOUNT_NAME = credentials('M365_ACCOUNT_NAME')
|
|
16
|
-
M365_ACCOUNT_PASSWORD = credentials('M365_ACCOUNT_PASSWORD')
|
|
17
|
-
M365_TENANT_ID = credentials('M365_TENANT_ID')
|
|
18
|
-
<%/hosting_type_contains_spfx%>
|
|
19
|
-
// To enable M365 account login by environment variables and non-interactive mode.
|
|
20
|
-
CI_ENABLED = 'true'
|
|
21
|
-
// To specify the env name for multi-env feature.
|
|
22
|
-
TEAMSFX_ENV_NAME = '<%env_name%>'
|
|
23
|
-
// To specify the version of TTK CLI for use.
|
|
24
|
-
TEAMSFX_CLI_VERSION = '1.*'
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
stages {
|
|
28
|
-
// Setup environment.
|
|
29
|
-
stage('Setup environment') {
|
|
30
|
-
steps {
|
|
31
|
-
// Install the TTK CLI for later use.
|
|
32
|
-
sh 'npm install @microsoft/teamsfx-cli@${TEAMSFX_CLI_VERSION}'
|
|
33
|
-
// Check the version of teamsfx.
|
|
34
|
-
sh 'npx teamsfx -v'
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Build the project.
|
|
39
|
-
// The way to build the current project depends on how you scaffold it.
|
|
40
|
-
// Different folder structures require different commands set.
|
|
41
|
-
// 'npm ci' may be used here to install dependencies and it depends on package-lock.json.
|
|
42
|
-
// If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
43
|
-
stage('Build the project') {
|
|
44
|
-
steps {
|
|
45
|
-
sh '<%build_script%>'
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Run unit test.
|
|
50
|
-
// Currently, no opinionated solution for unit test provided during scaffolding, so,
|
|
51
|
-
// set up any unit test framework you prefer (for example, mocha or jest) and update the commands accordingly in below.
|
|
52
|
-
// stage('Run unit test') {
|
|
53
|
-
// steps {
|
|
54
|
-
// sh 'npm run test'
|
|
55
|
-
// }
|
|
56
|
-
// }
|
|
57
|
-
<%#hosting_type_contains_azure%>
|
|
58
|
-
|
|
59
|
-
stage('Login Azure by service principal') {
|
|
60
|
-
environment {
|
|
61
|
-
SP_NAME = credentials('AZURE_SERVICE_PRINCIPAL_NAME')
|
|
62
|
-
SP_PASSWORD = credentials('AZURE_SERVICE_PRINCIPAL_PASSWORD')
|
|
63
|
-
TENANT_ID = credentials('AZURE_TENANT_ID')
|
|
64
|
-
}
|
|
65
|
-
steps {
|
|
66
|
-
sh 'npx teamsfx account login azure --service-principal --username ${SP_NAME} --password ${SP_PASSWORD} --tenant ${TENANT_ID}'
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
<%/hosting_type_contains_azure%>
|
|
70
|
-
|
|
71
|
-
stage('Deploy to hosting environment') {
|
|
72
|
-
steps {
|
|
73
|
-
sh 'npx teamsfx deploy --env ${TEAMSFX_ENV_NAME}<%#cloud_resources_contains_apim%> --api-version v1 --open-api-document openapi/openapi.json --api-prefix <%api_prefix%><%/cloud_resources_contains_apim%>'
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
// This is just an example workflow for continuous integration.
|
|
3
|
-
// The example workflow is expected to run on Ubuntu stable versions, for example, 20.04lts and later.
|
|
4
|
-
// You should customize it to meet your own requirements.
|
|
5
|
-
// The file may be renamed to Jenkinsfile, and put into dev branch.
|
|
6
|
-
pipeline {
|
|
7
|
-
// To customize the agent field, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#agent.
|
|
8
|
-
agent any
|
|
9
|
-
|
|
10
|
-
// To customize triggers, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#triggers.
|
|
11
|
-
triggers { pollSCM('H */4 * * 1-5') }
|
|
12
|
-
|
|
13
|
-
stages {
|
|
14
|
-
// Build the project.
|
|
15
|
-
// The way to build the current project depends on how you scaffold it.
|
|
16
|
-
// Different folder structures require different commands set.
|
|
17
|
-
// 'npm ci' may be used here to install dependencies and it depends on package-lock.json.
|
|
18
|
-
// If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
19
|
-
stage('Build the project') {
|
|
20
|
-
steps {
|
|
21
|
-
sh '<%build_script%>'
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Run unit test.
|
|
26
|
-
// Currently, no opinionated solution for unit test provided during scaffolding, so,
|
|
27
|
-
// set up any unit test framework you prefer (for example, mocha or jest) and update the commands accordingly in below.
|
|
28
|
-
// stage('Run Unit Test') {
|
|
29
|
-
// steps {
|
|
30
|
-
// sh 'npm run test'
|
|
31
|
-
// }
|
|
32
|
-
// }
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
// This is just an example workflow for provision.
|
|
3
|
-
// The example workflow is expected to run on Ubuntu stable versions, for example, 20.04lts and later.
|
|
4
|
-
// You should customize it to meet your own requirements.
|
|
5
|
-
pipeline {
|
|
6
|
-
// To customize the agent field, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#agent.
|
|
7
|
-
agent any
|
|
8
|
-
|
|
9
|
-
// Manually trigger this workflow.
|
|
10
|
-
// To customize triggers, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#triggers.
|
|
11
|
-
// triggers { pollSCM('H */4 * * 1-5') }
|
|
12
|
-
|
|
13
|
-
// To learn more about environment, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#environment.
|
|
14
|
-
environment {
|
|
15
|
-
M365_ACCOUNT_NAME = credentials('M365_ACCOUNT_NAME')
|
|
16
|
-
M365_ACCOUNT_PASSWORD = credentials('M365_ACCOUNT_PASSWORD')
|
|
17
|
-
M365_TENANT_ID = credentials('M365_TENANT_ID')
|
|
18
|
-
// To enable M365 account login by non-interactive mode.
|
|
19
|
-
CI_ENABLED = 'true'
|
|
20
|
-
|
|
21
|
-
// To specify the env name for multi-env feature.
|
|
22
|
-
TEAMSFX_ENV_NAME = '<%env_name%>'
|
|
23
|
-
// To specify the version of TTK CLI for use.
|
|
24
|
-
TEAMSFX_CLI_VERSION = '1.*'
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
stages {
|
|
28
|
-
// Setup environment.
|
|
29
|
-
stage('Setup environment') {
|
|
30
|
-
steps {
|
|
31
|
-
// Install the TTK CLI for later use.
|
|
32
|
-
sh 'npm install @microsoft/teamsfx-cli@${TEAMSFX_CLI_VERSION}'
|
|
33
|
-
// Check the version of teamsfx.
|
|
34
|
-
sh 'npx teamsfx -v'
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
<%#hosting_type_contains_azure%>
|
|
38
|
-
|
|
39
|
-
stage('Login Azure by service principal') {
|
|
40
|
-
environment {
|
|
41
|
-
SP_NAME = credentials('AZURE_SERVICE_PRINCIPAL_NAME')
|
|
42
|
-
SP_PASSWORD = credentials('AZURE_SERVICE_PRINCIPAL_PASSWORD')
|
|
43
|
-
TENANT_ID = credentials('AZURE_TENANT_ID')
|
|
44
|
-
}
|
|
45
|
-
steps {
|
|
46
|
-
sh 'npx teamsfx account login azure --service-principal --username ${SP_NAME} --password ${SP_PASSWORD} --tenant ${TENANT_ID}'
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
<%/hosting_type_contains_azure%>
|
|
50
|
-
|
|
51
|
-
// We suggest to do the `npx teamsfx provision` step manually or in a separate pipeline. The following steps are for your reference.
|
|
52
|
-
// After provisioning, you should commit necessary files under .fx into the repository.
|
|
53
|
-
stage('Provision hosting environment') {
|
|
54
|
-
<%#hosting_type_contains_azure%>
|
|
55
|
-
environment {
|
|
56
|
-
AZURE_SUBSCRIPTION_ID = credentials('AZURE_SUBSCRIPTION_ID')
|
|
57
|
-
<%#cloud_resources_contains_sql%>
|
|
58
|
-
SQL_ADMIN_NAME = credentials('SQL_ADMIN_NAME')
|
|
59
|
-
SQL_PASSWORD = credentials('SQL_PASSWORD')
|
|
60
|
-
<%/cloud_resources_contains_sql%>
|
|
61
|
-
}
|
|
62
|
-
<%/hosting_type_contains_azure%>
|
|
63
|
-
steps {
|
|
64
|
-
sh 'npx teamsfx provision<%#hosting_type_contains_azure%> --subscription ${AZURE_SUBSCRIPTION_ID}<%/hosting_type_contains_azure%> --env ${TEAMSFX_ENV_NAME}<%#cloud_resources_contains_sql%> --sql-admin-name ${SQL_ADMIN_NAME} --sql-password ${SQL_PASSWORD}<%/cloud_resources_contains_sql%>'
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
stage('Commit provision configs if necessary') {
|
|
69
|
-
steps {
|
|
70
|
-
sh 'git config user.name "azdo-agent"'
|
|
71
|
-
sh 'git config user.email "azdo-agent@azure.com"'
|
|
72
|
-
sh 'git add .'
|
|
73
|
-
sh 'git commit -m "chore: commit provision configs"'
|
|
74
|
-
// Using awk to extract origin and branch name.
|
|
75
|
-
sh 'git push `echo $GIT_BRANCH | awk -F\'/\' \'{print $1, "HEAD:"$2}\'`'
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
// This is just an example workflow for publish.
|
|
3
|
-
// The example workflow is expected to run on Ubuntu stable versions, for example, 20.04lts and later.
|
|
4
|
-
// You should customize it to meet your own requirements.
|
|
5
|
-
pipeline {
|
|
6
|
-
// To customize the agent field, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#agent.
|
|
7
|
-
agent any
|
|
8
|
-
|
|
9
|
-
// Manually trigger this workflow.
|
|
10
|
-
// To customize triggers, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#triggers.
|
|
11
|
-
// triggers { pollSCM('H */4 * * 1-5') }
|
|
12
|
-
|
|
13
|
-
// To learn more about environment, please refer to https://www.jenkins.io/doc/book/pipeline/syntax/#environment.
|
|
14
|
-
environment {
|
|
15
|
-
M365_ACCOUNT_NAME = credentials('M365_ACCOUNT_NAME')
|
|
16
|
-
M365_ACCOUNT_PASSWORD = credentials('M365_ACCOUNT_PASSWORD')
|
|
17
|
-
M365_TENANT_ID = credentials('M365_TENANT_ID')
|
|
18
|
-
// To enable M365 account login by non-interactive mode.
|
|
19
|
-
CI_ENABLED = 'true'
|
|
20
|
-
// To specify the env name for multi-env feature.
|
|
21
|
-
TEAMSFX_ENV_NAME = '<%env_name%>'
|
|
22
|
-
// To specify the version of TTK CLI for use.
|
|
23
|
-
TEAMSFX_CLI_VERSION = '1.*'
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
stages {
|
|
27
|
-
// Setup environment.
|
|
28
|
-
stage('Setup environment') {
|
|
29
|
-
steps {
|
|
30
|
-
// Install the TTK CLI for later use.
|
|
31
|
-
sh 'npm install @microsoft/teamsfx-cli@${TEAMSFX_CLI_VERSION}'
|
|
32
|
-
// Check the version of teamsfx.
|
|
33
|
-
sh 'npx teamsfx -v'
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// This step is to pack the Teams App as zip file,
|
|
38
|
-
// which can be used to be uploaded onto Teams Client for installation.
|
|
39
|
-
stage('Package Teams App for publishing') {
|
|
40
|
-
steps {
|
|
41
|
-
sh 'npx teamsfx package --env ${TEAMSFX_ENV_NAME}'
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
stage('Upload Teams App package as artifact') {
|
|
46
|
-
steps {
|
|
47
|
-
archiveArtifacts artifacts: 'build/appPackage/appPackage.<%env_name%>.zip'
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
stage('Publish Teams App') {
|
|
52
|
-
steps {
|
|
53
|
-
sh 'npx teamsfx publish --env ${TEAMSFX_ENV_NAME}'
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# How to use pre-cooked pipelines on Jenkins
|
|
2
|
-
|
|
3
|
-
## Prerequisites
|
|
4
|
-
- Teams app projects are version controlled.
|
|
5
|
-
- (Optional) An Microsoft 365 account. If you do not have Microsoft 365 account, apply one from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program). The Microsoft 365 account credentials are required for steps of provision, publish and deployment for SPFx projects. Any extra interactive verification steps should be disabled for the Microsoft 365 account, and please check details in sections below.
|
|
6
|
-
- (Optional) An Azure service principal with necessary permissions. The Azure service principal credentials are required for steps of provision and deploy for Azure based projects.
|
|
7
|
-
|
|
8
|
-
## Steps
|
|
9
|
-
After the pre-cooked pipelines are scaffolded successfully, the following steps are expected to be performed:
|
|
10
|
-
1. Commit and push your project source code to your remote repository, including the CI/CD Jenkinsfiles.
|
|
11
|
-
1. Create corresponding Jenkins pipelines by following [Create your first Jenkins Pipeline](https://www.jenkins.io/doc/pipeline/tour/hello-world/).
|
|
12
|
-
1. Configure necessary Jenkins credentials if your projects require credentials by checking into the Jenkinsfiles.
|
|
13
|
-
1. Trigger your pipeline automatically, manually or do customization (Check the `triggers` section in Jenkinsfiles to find the triggers). More about triggers in Jenkins, refer to [Jenkins triggers](https://www.jenkins.io/doc/book/pipeline/syntax/#triggers).
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Jenkins Credentials
|
|
17
|
-
Please follow [using-credentials](https://www.jenkins.io/doc/book/using/using-credentials/) to create credentials on Jenkins.
|
|
18
|
-
|
|
19
|
-
|Name|Description|
|
|
20
|
-
|---|---|
|
|
21
|
-
|AZURE_SERVICE_PRINCIPAL_NAME|The service principal name of Azure used to provision resources.|
|
|
22
|
-
|AZURE_SERVICE_PRINCIPAL_PASSWORD|The password of Azure service principal.|
|
|
23
|
-
|AZURE_SUBSCRIPTION_ID|To identify the subscription in which the resources will be provisioned.|
|
|
24
|
-
|AZURE_TENANT_ID|To identify the tenant in which the subscription resides.|
|
|
25
|
-
|M365_ACCOUNT_NAME|The Microsoft 365 account for creating and publishing the Teams App.|
|
|
26
|
-
|M365_ACCOUNT_PASSWORD|The password of the Microsoft 365 account.|
|
|
27
|
-
|M365_TENANT_ID|To identify the tenant in which the Teams App will be created/published. This value is optional unless you have a multi-tenant account and you want to use another tenant. Read more on [how to find your Microsoft 365 tenant ID](https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant).|
|
|
28
|
-
> Note: Currently, a non-interactive authentication style for Microsoft 365 is used in CI/CD workflows, so please ensure that your Microsoft 365 account has sufficient privileges in your tenant and doesn't have multi-factor authentication or other advanced security features enabled. Please refer to the [Configure Microsoft 365 Credentials](https://github.com/OfficeDev/teamsfx-cli-action/blob/main/README.md#configure-m365azure-credentials-as-github-secret) to make sure you have disabled Multi-factor Authentication and Security Defaults for the credentials used in the workflow.
|
|
29
|
-
|
|
30
|
-
> Note: Currently, service principal for Azure is used in CI/CD workflows, and to create Azure service principals for use, refer to [here](#how-to-create-azure-service-principals-for-use).
|
|
31
|
-
|
|
32
|
-
# How to create Azure service principals for use?
|
|
33
|
-
To provision and deploy resources targeting Azure inside CI/CD, you must create an Azure service principal for use.
|
|
34
|
-
|
|
35
|
-
Briefly, the steps include:
|
|
36
|
-
1. Register an Azure AD application in single tenant, and it requires sufficient permissions in your Azure AD tenant.
|
|
37
|
-
2. Assign a role to your Azure AD application to access your Azure subscription, and `Contributor` role is recommended.
|
|
38
|
-
3. Create a new Azure AD application secret.
|
|
39
|
-
4. Grab your tenant id, application id(AZURE_SERVICE_PRINCIPAL_NAME), and the secret(AZURE_SERVICE_PRINCIPAL_PASSWORD) for use.
|
|
40
|
-
|
|
41
|
-
For detailed guidelines, refer to [the official document](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal). There're three ways to create service principal, [Azure portal](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal), [PowerShell](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-authenticate-service-principal-powershell), [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli), and you can choose the way you like.
|
|
42
|
-
|
|
43
|
-
# Additional Notes
|
|
44
|
-
* [Create your first Jenkins Pipeline](https://www.jenkins.io/doc/pipeline/tour/hello-world/)
|
|
45
|
-
* [Manage your apps with the Developer Portal for Microsoft Teams](https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/teams-developer-portal)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# How to use pre-cooked pipelines on Azure DevOps
|
|
2
|
-
|
|
3
|
-
## Prerequisites
|
|
4
|
-
- Teams app projects are version controlled by Azure DevOps.
|
|
5
|
-
- (Optional) An Microsoft 365 account. If you do not have Microsoft 365 account, apply one from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program). The Microsoft 365 account credentials are required for steps of provision, publish and deployment for SPFx projects. Any extra interactive verification steps should be disabled for the Microsoft 365 account, and please check details in sections below.
|
|
6
|
-
- (Optional) An Azure service principal with necessary permissions. The Azure service principal credentials are required for steps of provision and deploy for Azure based projects.
|
|
7
|
-
|
|
8
|
-
## Steps
|
|
9
|
-
After the pre-cooked pipelines are scaffolded successfully, the following steps are expected to be performed:
|
|
10
|
-
1. Commit and push your project source code to Azure DevOps remote repository, including the CI/CD yml files.
|
|
11
|
-
1. Create corresponding Azure DevOps pipelines by following [Create your first Azure DevOps Pipeline](https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Ctfs-2018-2%2Cbrowser).
|
|
12
|
-
1. Configure necessary Azure DevOps Pipeline variables if your pipelines require credentials by checking into the yml files.
|
|
13
|
-
1. Trigger your pipelines automatically, manually or do customization (Check the `trigger:` or `pr:` section in yml files to find the triggers). More about triggers in Azure DevOps, refer to [Triggers in Azure pipelines](https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops).
|
|
14
|
-
|
|
15
|
-
## Azure DevOps Pipeline Variables
|
|
16
|
-
Steps to create Pipeline variables in Azure DevOps:
|
|
17
|
-
1. In the Pipeline editing page, click `Variables` on top right and click `New variable`.
|
|
18
|
-
1. Enter Name/Value pair for your variable.
|
|
19
|
-
1. Toggle the checkbox of `Keep this value secret` if necessary.
|
|
20
|
-
1. Click `OK` to create the variable.
|
|
21
|
-
|
|
22
|
-
|Name|Description|
|
|
23
|
-
|---|---|
|
|
24
|
-
|AZURE_SERVICE_PRINCIPAL_NAME|The service principal name of Azure used to provision resources.|
|
|
25
|
-
|AZURE_SERVICE_PRINCIPAL_PASSWORD|The password of Azure service principal.|
|
|
26
|
-
|AZURE_SUBSCRIPTION_ID|To identify the subscription in which the resources will be provisioned.|
|
|
27
|
-
|AZURE_TENANT_ID|To identify the tenant in which the subscription resides.|
|
|
28
|
-
|M365_ACCOUNT_NAME|The Microsoft 365 account for creating and publishing the Teams App.|
|
|
29
|
-
|M365_ACCOUNT_PASSWORD|The password of the Microsoft 365 account.|
|
|
30
|
-
|M365_TENANT_ID|To identify the tenant in which the Teams App will be created/published. This value is optional unless you have a multi-tenant account and you want to use another tenant. Read more on [how to find your Microsoft 365 tenant ID](https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant).|
|
|
31
|
-
> Note: Currently, a non-interactive authentication style for Microsoft 365 is used in CI/CD workflows, so please ensure that your Microsoft 365 account has sufficient privileges in your tenant and doesn't have multi-factor authentication or other advanced security features enabled. Please refer to the [Configure Microsoft 365 Credentials](https://github.com/OfficeDev/teamsfx-cli-action/blob/main/README.md#configure-m365azure-credentials-as-github-secret) to make sure you have disabled Multi-factor Authentication and Security Defaults for the credentials used in the workflow.
|
|
32
|
-
|
|
33
|
-
> Note: Currently, service principal for Azure is used in CI/CD workflows, and to create Azure service principals for use, refer to [here](#how-to-create-azure-service-principals-for-use).
|
|
34
|
-
|
|
35
|
-
# How to create Azure service principals for use?
|
|
36
|
-
To provision and deploy resources targeting Azure inside CI/CD, you must create an Azure service principal for use.
|
|
37
|
-
|
|
38
|
-
Briefly, the steps include:
|
|
39
|
-
1. Register an Azure AD application in single tenant, and it requires sufficient permissions in your Azure AD tenant.
|
|
40
|
-
2. Assign a role to your Azure AD application to access your Azure subscription, and `Contributor` role is recommended.
|
|
41
|
-
3. Create a new Azure AD application secret.
|
|
42
|
-
4. Grab your tenant id, application id(AZURE_SERVICE_PRINCIPAL_NAME), and the secret(AZURE_SERVICE_PRINCIPAL_PASSWORD) for use.
|
|
43
|
-
|
|
44
|
-
For detailed guidelines, refer to [the official document](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal). There're three ways to create service principal, [Azure portal](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal), [PowerShell](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-authenticate-service-principal-powershell), [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli), and you can choose the way you like.
|
|
45
|
-
|
|
46
|
-
# Additional Notes
|
|
47
|
-
* [Create your first Azure DevOps Pipeline](https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Ctfs-2018-2%2Cbrowser)
|
|
48
|
-
* [Manage your apps with the Developer Portal for Microsoft Teams](https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/teams-developer-portal)
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
# This is just an example workflow for continuous deployment.
|
|
3
|
-
# You should customize it to meet your own requirements.
|
|
4
|
-
trigger:
|
|
5
|
-
# When new commits are pushed onto the main branch.
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
pool:
|
|
9
|
-
vmImage: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
steps:
|
|
12
|
-
# Setup environment.
|
|
13
|
-
- task: NodeTool@0
|
|
14
|
-
inputs:
|
|
15
|
-
versionSpec: '14.17.0'
|
|
16
|
-
checkLatest: true
|
|
17
|
-
|
|
18
|
-
- task: Bash@3
|
|
19
|
-
env:
|
|
20
|
-
<%#hosting_type_contains_spfx%>
|
|
21
|
-
M365_ACCOUNT_NAME: $(M365_ACCOUNT_NAME)
|
|
22
|
-
M365_ACCOUNT_PASSWORD: $(M365_ACCOUNT_PASSWORD)
|
|
23
|
-
M365_TENANT_ID: $(M365_TENANT_ID)
|
|
24
|
-
<%/hosting_type_contains_spfx%>
|
|
25
|
-
# To enable M365 account login by environment variables and non-interactive mode.
|
|
26
|
-
CI_ENABLED: 'true'
|
|
27
|
-
TEAMSFX_ENV_NAME: <%env_name%>
|
|
28
|
-
inputs:
|
|
29
|
-
targetType: 'inline'
|
|
30
|
-
script: |
|
|
31
|
-
set -evuxo pipefail
|
|
32
|
-
|
|
33
|
-
# Install the local dev dependency of @microsoft/teamsfx-cli.
|
|
34
|
-
# 'npm ci' is used here to install dependencies and it depends on package-lock.json.
|
|
35
|
-
# If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
36
|
-
npm ci
|
|
37
|
-
|
|
38
|
-
# Build the project.
|
|
39
|
-
# The way to build the current project depends on how you scaffold it.
|
|
40
|
-
# Different folder structures require different commands set.
|
|
41
|
-
# 'npm ci' may be used here to install dependencies and it depends on package-lock.json.
|
|
42
|
-
# If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
43
|
-
<%build_script%>
|
|
44
|
-
|
|
45
|
-
# Run unit test.
|
|
46
|
-
# Currently, no opinioned solution for unit test provided during scaffolding, so,
|
|
47
|
-
# set up any unit test framework you prefer (for example, mocha or jest) and update the commands accordingly in below.
|
|
48
|
-
# npm run test
|
|
49
|
-
|
|
50
|
-
<%#hosting_type_contains_azure%>
|
|
51
|
-
# Login Azure by service principal
|
|
52
|
-
npx teamsfx account login azure --service-principal --username $(AZURE_SERVICE_PRINCIPAL_NAME) --password $(AZURE_SERVICE_PRINCIPAL_PASSWORD) --tenant $(AZURE_TENANT_ID)
|
|
53
|
-
<%/hosting_type_contains_azure%>
|
|
54
|
-
|
|
55
|
-
# Deploy to hosting environment.
|
|
56
|
-
npx teamsfx deploy --env ${TEAMSFX_ENV_NAME}<%#cloud_resources_contains_apim%> --api-version v1 --open-api-document openapi/openapi.json --api-prefix <%api_prefix%><%/cloud_resources_contains_apim%>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
# This is just an example workflow for continuous integration.
|
|
3
|
-
# You should customize it to meet your own requirements.
|
|
4
|
-
pr:
|
|
5
|
-
# When pull requests targeting the dev branch created.
|
|
6
|
-
- dev
|
|
7
|
-
|
|
8
|
-
pool:
|
|
9
|
-
vmImage: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
steps:
|
|
12
|
-
# Setup environment.
|
|
13
|
-
- task: NodeTool@0
|
|
14
|
-
inputs:
|
|
15
|
-
versionSpec: '14.17.0'
|
|
16
|
-
checkLatest: true
|
|
17
|
-
|
|
18
|
-
- task: Bash@3
|
|
19
|
-
inputs:
|
|
20
|
-
targetType: 'inline'
|
|
21
|
-
script: |
|
|
22
|
-
set -evuxo pipefail
|
|
23
|
-
|
|
24
|
-
# This is just an example workflow for continuous integration.
|
|
25
|
-
# You should customize it to meet your own requirements.
|
|
26
|
-
|
|
27
|
-
# Build the project.
|
|
28
|
-
# The way to build the current project depends on how you scaffold it.
|
|
29
|
-
# Different folder structures require different commands set.
|
|
30
|
-
# 'npm ci' may be used here to install dependencies and it depends on package-lock.json.
|
|
31
|
-
# If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
32
|
-
<%build_script%>
|
|
33
|
-
|
|
34
|
-
# Run unit test.
|
|
35
|
-
# Currently, no opinionated solution for unit test provided during scaffolding, so,
|
|
36
|
-
# set up any unit test framework you prefer (for example, mocha or jest) and update the commands accordingly in below.
|
|
37
|
-
# npm run test
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
# This is just an example workflow for provision.
|
|
3
|
-
# You should customize it to meet your own requirements.
|
|
4
|
-
trigger: none
|
|
5
|
-
# Manually trigger this workflow, and you should pick the right branch.
|
|
6
|
-
|
|
7
|
-
pool:
|
|
8
|
-
vmImage: ubuntu-latest
|
|
9
|
-
|
|
10
|
-
steps:
|
|
11
|
-
# Setup environment.
|
|
12
|
-
- task: NodeTool@0
|
|
13
|
-
inputs:
|
|
14
|
-
versionSpec: '14.17.0'
|
|
15
|
-
checkLatest: true
|
|
16
|
-
|
|
17
|
-
# Check out
|
|
18
|
-
- checkout: self
|
|
19
|
-
persistCredentials: true
|
|
20
|
-
|
|
21
|
-
- task: Bash@3
|
|
22
|
-
env:
|
|
23
|
-
M365_ACCOUNT_NAME: $(M365_ACCOUNT_NAME)
|
|
24
|
-
M365_ACCOUNT_PASSWORD: $(M365_ACCOUNT_PASSWORD)
|
|
25
|
-
M365_TENANT_ID: $(M365_TENANT_ID)
|
|
26
|
-
CI_ENABLED: 'true'
|
|
27
|
-
TEAMSFX_ENV_NAME: <%env_name%>
|
|
28
|
-
inputs:
|
|
29
|
-
targetType: 'inline'
|
|
30
|
-
script: |
|
|
31
|
-
set -evuxo pipefail
|
|
32
|
-
|
|
33
|
-
# Install the local dev dependency of @microsoft/teamsfx-cli.
|
|
34
|
-
# 'npm ci' is used here to install dependencies and it depends on package-lock.json.
|
|
35
|
-
# If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
36
|
-
npm ci
|
|
37
|
-
<%#hosting_type_contains_azure%>
|
|
38
|
-
|
|
39
|
-
# Login Azure by service principal
|
|
40
|
-
npx teamsfx account login azure --service-principal --username $(AZURE_SERVICE_PRINCIPAL_NAME) --password $(AZURE_SERVICE_PRINCIPAL_PASSWORD) --tenant $(AZURE_TENANT_ID)
|
|
41
|
-
<%/hosting_type_contains_azure%>
|
|
42
|
-
|
|
43
|
-
# We suggest to do the `teamsfx provision` step manually or in a separate workflow. The following steps are for your reference.
|
|
44
|
-
# After provisioning, you should commit necessary files under .fx into the repository.
|
|
45
|
-
npx teamsfx provision<%#hosting_type_contains_azure%> --subscription $(AZURE_SUBSCRIPTION_ID)<%/hosting_type_contains_azure%> --env ${TEAMSFX_ENV_NAME}<%#cloud_resources_contains_sql%> --sql-admin-name $(SQL_ADMIN_NAME) --sql-password $(SQL_PASSWORD)<%/cloud_resources_contains_sql%>
|
|
46
|
-
|
|
47
|
-
# Commit provision configs if necessary.
|
|
48
|
-
# To enable scripts to run git commands, check https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/git-commands?view=azure-devops&tabs=yaml
|
|
49
|
-
git config user.name "azdo-agent"
|
|
50
|
-
git config user.email "azdo-agent@azure.com"
|
|
51
|
-
git add .
|
|
52
|
-
git commit -m "chore: commit provision configs"
|
|
53
|
-
git push origin HEAD:${BUILD_SOURCEBRANCHNAME}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{{=<% %>=}}
|
|
2
|
-
# This is just an example workflow for publishing Teams app.
|
|
3
|
-
# You should customize it to meet your own requirements.
|
|
4
|
-
trigger: none
|
|
5
|
-
# Manually trigger this workflow, and you should pick the right branch.
|
|
6
|
-
|
|
7
|
-
pool:
|
|
8
|
-
vmImage: ubuntu-latest
|
|
9
|
-
|
|
10
|
-
steps:
|
|
11
|
-
# Setup environment.
|
|
12
|
-
- task: NodeTool@0
|
|
13
|
-
inputs:
|
|
14
|
-
versionSpec: '14.17.0'
|
|
15
|
-
checkLatest: true
|
|
16
|
-
|
|
17
|
-
- task: Bash@3
|
|
18
|
-
env:
|
|
19
|
-
M365_ACCOUNT_NAME: $(M365_ACCOUNT_NAME)
|
|
20
|
-
M365_ACCOUNT_PASSWORD: $(M365_ACCOUNT_PASSWORD)
|
|
21
|
-
M365_TENANT_ID: $(M365_TENANT_ID)
|
|
22
|
-
# To enable M365 account login by non-interactive mode.
|
|
23
|
-
CI_ENABLED: 'true'
|
|
24
|
-
TEAMSFX_ENV_NAME: <%env_name%>
|
|
25
|
-
inputs:
|
|
26
|
-
targetType: 'inline'
|
|
27
|
-
script: |
|
|
28
|
-
set -evuxo pipefail
|
|
29
|
-
|
|
30
|
-
# Install the local dev dependency of @microsoft/teamsfx-cli.
|
|
31
|
-
# 'npm ci' is used here to install dependencies and it depends on package-lock.json.
|
|
32
|
-
# If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
33
|
-
npm ci
|
|
34
|
-
|
|
35
|
-
# This step is to pack the Teams App as zip file,
|
|
36
|
-
# which can be used to be uploaded onto Teams Client for installation.
|
|
37
|
-
# Build Teams App's Package.
|
|
38
|
-
npx teamsfx package --env ${TEAMSFX_ENV_NAME}
|
|
39
|
-
|
|
40
|
-
# Upload Teams App's Package as artifacts.
|
|
41
|
-
# Choose what your workflow/pipeline platform provided to
|
|
42
|
-
# upload build/appPackage/appPackage.staging.zip as artifacts.
|
|
43
|
-
|
|
44
|
-
# Publish Teams App.
|
|
45
|
-
npx teamsfx publish --env ${TEAMSFX_ENV_NAME}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# How to use pre-cooked workflows on GitHub
|
|
2
|
-
|
|
3
|
-
## Prerequisites
|
|
4
|
-
- Teams app projects are version controlled by GitHub.
|
|
5
|
-
- (Optional) An Microsoft 365 account. If you do not have Microsoft 365 account, apply one from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program). The Microsoft 365 account credentials are required for steps of provision, publish and deployment for SPFx projects. Any extra interactive verification steps should be disabled for the Microsoft 365 account, and please check details in sections below.
|
|
6
|
-
- (Optional) An Azure service principal with necessary permissions. The Azure service principal credentials are required for steps of provision and deploy for Azure based projects.
|
|
7
|
-
|
|
8
|
-
## Steps
|
|
9
|
-
After the pre-cooked workflows are scaffolded successfully, the following steps are expected to be performed:
|
|
10
|
-
1. Commit and push your project source code to GitHub remote repository, including the CI/CD yml files.
|
|
11
|
-
1. Configure necessary GitHub secrets if your workflows require credentials by checking into the yml files.
|
|
12
|
-
1. Trigger your workflows automatically, manually or do customization (Check the `on:` section in yml files to find the triggers). More about triggers in GitHub, refer to [trigger a workflow](https://docs.github.com/en/actions/using-workflows/triggering-a-workflow).
|
|
13
|
-
|
|
14
|
-
## GitHub Secrets
|
|
15
|
-
Steps to create secrets by environment in GitHub (Environment feature is not available in Private repositories.):
|
|
16
|
-
1. In the project `Settings` page, navigate to `Environments` section and click `New environment`.
|
|
17
|
-
1. Enter a name for your environment. The default environment name provided in the template is `test_environment`. Click `Configure environment` to proceed.
|
|
18
|
-
1. In the next page, click `Add Secret` to add secrets for each of the items listed in the table below.
|
|
19
|
-
|
|
20
|
-
Or create repository secrets by follow the path of `Settings` > `Security` > `Secrets` > `Actions` > `New repository secret`.
|
|
21
|
-
|
|
22
|
-
|Name|Description|
|
|
23
|
-
|---|---|
|
|
24
|
-
|AZURE_SERVICE_PRINCIPAL_NAME|The service principal name of Azure used to provision resources.|
|
|
25
|
-
|AZURE_SERVICE_PRINCIPAL_PASSWORD|The password of Azure service principal.|
|
|
26
|
-
|AZURE_SUBSCRIPTION_ID|To identify the subscription in which the resources will be provisioned.|
|
|
27
|
-
|AZURE_TENANT_ID|To identify the tenant in which the subscription resides.|
|
|
28
|
-
|M365_ACCOUNT_NAME|The Microsoft 365 account for creating and publishing the Teams App.|
|
|
29
|
-
|M365_ACCOUNT_PASSWORD|The password of the Microsoft 365 account.|
|
|
30
|
-
|M365_TENANT_ID|To identify the tenant in which the Teams App will be created/published. This value is optional unless you have a multi-tenant account and you want to use another tenant. Read more on [how to find your Microsoft 365 tenant ID](https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant).|
|
|
31
|
-
> Note: Currently, a non-interactive authentication style for Microsoft 365 is used in CI/CD workflows, so please ensure that your Microsoft 365 account has sufficient privileges in your tenant and doesn't have multi-factor authentication or other advanced security features enabled. Please refer to the [Configure Microsoft 365 Credentials](https://github.com/OfficeDev/teamsfx-cli-action/blob/main/README.md#configure-m365azure-credentials-as-github-secret) to make sure you have disabled Multi-factor Authentication and Security Defaults for the credentials used in the workflow.
|
|
32
|
-
|
|
33
|
-
> Note: Currently, service principal for Azure is used in CI/CD workflows, and to create Azure service principals for use, refer to [here](#how-to-create-azure-service-principals-for-use).
|
|
34
|
-
|
|
35
|
-
# How to create Azure service principals for use?
|
|
36
|
-
To provision and deploy resources targeting Azure inside CI/CD, you must create an Azure service principal for use.
|
|
37
|
-
|
|
38
|
-
Briefly, the steps include:
|
|
39
|
-
1. Register an Azure AD application in single tenant, and it requires sufficient permissions in your Azure AD tenant.
|
|
40
|
-
1. Assign a role to your Azure AD application to access your Azure subscription, and `Contributor` role is recommended.
|
|
41
|
-
1. Create a new Azure AD application secret.
|
|
42
|
-
1. Grab your tenant id, application id(AZURE_SERVICE_PRINCIPAL_NAME), and the secret(AZURE_SERVICE_PRINCIPAL_PASSWORD) for use.
|
|
43
|
-
|
|
44
|
-
For detailed guidelines, refer to [the official document](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal). There're three ways to create service principal, [Azure portal](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal), [PowerShell](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-authenticate-service-principal-powershell), [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli), and you can choose the way you like.
|
|
45
|
-
|
|
46
|
-
# Additional Notes
|
|
47
|
-
* [Quick Start for GitHub Actions](https://docs.github.com/en/actions/quickstart#creating-your-first-workflow)
|
|
48
|
-
* [Manage your apps with the Developer Portal for Microsoft Teams](https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/teams-developer-portal)
|