@microsoft/teamsfx-core 1.5.0 → 1.5.1-alpha.3fc0dea41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/constants.d.ts +7 -0
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +8 -0
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/index.d.ts +1 -0
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +1 -0
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +5 -0
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +6 -1
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +3 -2
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/projectSettingsHelper.d.ts +1 -0
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +9 -5
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts +1 -1
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +4 -1
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/localizeUtils.d.ts +3 -0
- package/build/common/localizeUtils.d.ts.map +1 -0
- package/build/common/localizeUtils.js +38 -0
- package/build/common/localizeUtils.js.map +1 -0
- package/build/common/projectSettingsHelper.d.ts +11 -0
- package/build/common/projectSettingsHelper.d.ts.map +1 -0
- package/build/common/projectSettingsHelper.js +134 -0
- package/build/common/projectSettingsHelper.js.map +1 -0
- package/build/common/template-utils/templatesActions.d.ts.map +1 -1
- package/build/common/template-utils/templatesActions.js +3 -2
- package/build/common/template-utils/templatesActions.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +8 -2
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +62 -10
- package/build/common/tools.js.map +1 -1
- package/build/core/FxCore.d.ts +78 -0
- package/build/core/FxCore.d.ts.map +1 -0
- package/build/core/FxCore.js +1305 -0
- package/build/core/FxCore.js.map +1 -0
- package/build/core/SolutionPluginContainer.d.ts.map +1 -1
- package/build/core/SolutionPluginContainer.js.map +1 -1
- package/build/core/collaborator.d.ts +1 -4
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +56 -77
- package/build/core/collaborator.js.map +1 -1
- package/build/core/downloadSample.d.ts +2 -2
- package/build/core/downloadSample.d.ts.map +1 -1
- package/build/core/downloadSample.js +6 -5
- package/build/core/downloadSample.js.map +1 -1
- package/build/core/environment.d.ts +4 -2
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +50 -43
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +27 -12
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +45 -33
- package/build/core/error.js.map +1 -1
- package/build/core/globalVars.d.ts +12 -0
- package/build/core/globalVars.d.ts.map +1 -0
- package/build/core/globalVars.js +41 -0
- package/build/core/globalVars.js.map +1 -0
- package/build/core/index.d.ts +4 -101
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +5 -1377
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts +1 -0
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +17 -12
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts +1 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +28 -21
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +2 -3
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/envInfoWriter.js +3 -4
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/envInfoWriterV3.js +3 -4
- package/build/core/middleware/envInfoWriterV3.js.map +1 -1
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +7 -5
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +3 -4
- package/build/core/middleware/localSettingsLoader.js.map +1 -1
- package/build/core/middleware/localSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/localSettingsWriter.js +4 -4
- package/build/core/middleware/localSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +52 -57
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +12 -10
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +2 -2
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +78 -48
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts +1 -1
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/solutionLoaderV3.js.map +1 -1
- package/build/core/pvm/broker.js +1 -1
- package/build/core/pvm/broker.js.map +1 -1
- package/build/core/question.d.ts +10 -7
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +156 -109
- package/build/core/question.js.map +1 -1
- package/build/core/types.d.ts +14 -0
- package/build/core/types.d.ts.map +1 -0
- package/build/core/types.js +5 -0
- package/build/core/types.js.map +1 -0
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +8 -9
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/aadAppManifestManager.d.ts +9 -0
- package/build/plugins/resource/aad/aadAppManifestManager.d.ts.map +1 -0
- package/build/plugins/resource/aad/aadAppManifestManager.js +78 -0
- package/build/plugins/resource/aad/aadAppManifestManager.js.map +1 -0
- package/build/plugins/resource/aad/appStudio.js +2 -2
- package/build/plugins/resource/aad/appStudio.js.map +1 -1
- package/build/plugins/resource/aad/constants.d.ts +5 -5
- package/build/plugins/resource/aad/constants.d.ts.map +1 -1
- package/build/plugins/resource/aad/constants.js +10 -9
- package/build/plugins/resource/aad/constants.js.map +1 -1
- package/build/plugins/resource/aad/errors.d.ts +19 -19
- package/build/plugins/resource/aad/errors.d.ts.map +1 -1
- package/build/plugins/resource/aad/errors.js +44 -48
- package/build/plugins/resource/aad/errors.js.map +1 -1
- package/build/plugins/resource/aad/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/index.js +2 -6
- package/build/plugins/resource/aad/index.js.map +1 -1
- package/build/plugins/resource/aad/interfaces/AADApplication.d.ts +122 -0
- package/build/plugins/resource/aad/interfaces/AADApplication.d.ts.map +1 -0
- package/build/plugins/resource/aad/interfaces/AADApplication.js +3 -0
- package/build/plugins/resource/aad/interfaces/AADApplication.js.map +1 -0
- package/build/plugins/resource/aad/interfaces/AADManifest.d.ts +111 -0
- package/build/plugins/resource/aad/interfaces/AADManifest.d.ts.map +1 -0
- package/build/plugins/resource/aad/interfaces/AADManifest.js +3 -0
- package/build/plugins/resource/aad/interfaces/AADManifest.js.map +1 -0
- package/build/plugins/resource/aad/permissions/index.d.ts +5 -0
- package/build/plugins/resource/aad/permissions/index.d.ts.map +1 -0
- package/build/plugins/resource/aad/permissions/index.js +38 -0
- package/build/plugins/resource/aad/permissions/index.js.map +1 -0
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +21 -22
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/aadManifestHelper.d.ts +7 -0
- package/build/plugins/resource/aad/utils/aadManifestHelper.d.ts.map +1 -0
- package/build/plugins/resource/aad/utils/aadManifestHelper.js +150 -0
- package/build/plugins/resource/aad/utils/aadManifestHelper.js.map +1 -0
- package/build/plugins/resource/aad/utils/configs.d.ts +18 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +128 -7
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/aad/utils/telemetry.js +3 -3
- package/build/plugins/resource/aad/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/aad/v3/index.d.ts +1 -5
- package/build/plugins/resource/aad/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/aad/v3/index.js +8 -42
- package/build/plugins/resource/aad/v3/index.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +8 -7
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +55 -55
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/error.d.ts +0 -1
- package/build/plugins/resource/apim/error.d.ts.map +1 -1
- package/build/plugins/resource/apim/error.js +20 -24
- package/build/plugins/resource/apim/error.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +2 -2
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +11 -0
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +12 -1
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +9 -33
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +37 -64
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +1 -1
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +12 -9
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +10 -4
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +147 -63
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -2
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +110 -58
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/questions.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/questions.js +5 -4
- package/build/plugins/resource/appstudio/questions.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/utils.js +2 -1
- package/build/plugins/resource/appstudio/utils/utils.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.d.ts +2 -3
- package/build/plugins/resource/appstudio/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +1 -2
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +2 -2
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +2 -2
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.d.ts +2 -2
- package/build/plugins/resource/appstudio/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/plugin.js +3 -3
- package/build/plugins/resource/appstudio/v3/plugin.js.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.d.ts.map +1 -1
- package/build/plugins/resource/bot/aadRegistration.js +4 -8
- package/build/plugins/resource/bot/aadRegistration.js.map +1 -1
- package/build/plugins/resource/bot/appStudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/bot/appStudio/appStudio.js +5 -8
- package/build/plugins/resource/bot/appStudio/appStudio.js.map +1 -1
- package/build/plugins/resource/bot/azureOps.d.ts +0 -1
- package/build/plugins/resource/bot/azureOps.d.ts.map +1 -1
- package/build/plugins/resource/bot/azureOps.js +2 -21
- package/build/plugins/resource/bot/azureOps.js.map +1 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/localDebugConfig.js +13 -38
- package/build/plugins/resource/bot/configs/localDebugConfig.js.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts +11 -0
- package/build/plugins/resource/bot/configs/scaffoldConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/scaffoldConfig.js +55 -6
- package/build/plugins/resource/bot/configs/scaffoldConfig.js.map +1 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.js +8 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.js.map +1 -1
- package/build/plugins/resource/bot/constants.d.ts +25 -2
- package/build/plugins/resource/bot/constants.d.ts.map +1 -1
- package/build/plugins/resource/bot/constants.js +27 -3
- package/build/plugins/resource/bot/constants.js.map +1 -1
- package/build/plugins/resource/bot/enums/pluginActRoles.d.ts +2 -1
- package/build/plugins/resource/bot/enums/pluginActRoles.d.ts.map +1 -1
- package/build/plugins/resource/bot/enums/pluginActRoles.js +1 -0
- package/build/plugins/resource/bot/enums/pluginActRoles.js.map +1 -1
- package/build/plugins/resource/bot/errors.d.ts +44 -23
- package/build/plugins/resource/bot/errors.d.ts.map +1 -1
- package/build/plugins/resource/bot/errors.js +57 -44
- package/build/plugins/resource/bot/errors.js.map +1 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.d.ts +7 -0
- package/build/plugins/resource/bot/functionsHostedBot/plugin.d.ts.map +1 -0
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js +39 -0
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js.map +1 -0
- package/build/plugins/resource/bot/index.d.ts +8 -3
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +84 -31
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts +4 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.js +30 -3
- package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +3 -6
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +42 -110
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/question.d.ts +12 -0
- package/build/plugins/resource/bot/question.d.ts.map +1 -0
- package/build/plugins/resource/bot/question.js +69 -0
- package/build/plugins/resource/bot/question.js.map +1 -0
- package/build/plugins/resource/bot/resources/messages.d.ts +34 -56
- package/build/plugins/resource/bot/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/messages.js +58 -73
- package/build/plugins/resource/bot/resources/messages.js.map +1 -1
- package/build/plugins/resource/bot/resources/strings.d.ts +17 -28
- package/build/plugins/resource/bot/resources/strings.d.ts.map +1 -1
- package/build/plugins/resource/bot/resources/strings.js +19 -30
- package/build/plugins/resource/bot/resources/strings.js.map +1 -1
- package/build/plugins/resource/bot/utils/common.d.ts +5 -1
- package/build/plugins/resource/bot/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/bot/utils/common.js +19 -1
- package/build/plugins/resource/bot/utils/common.js.map +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.d.ts +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.d.ts.map +1 -1
- package/build/plugins/resource/bot/utils/retryHandler.js.map +1 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js +3 -1
- package/build/plugins/resource/bot/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/bot/v2/index.d.ts +3 -1
- package/build/plugins/resource/bot/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v2/index.js +6 -0
- package/build/plugins/resource/bot/v2/index.js.map +1 -1
- package/build/plugins/resource/bot/v3/index.d.ts +2 -1
- package/build/plugins/resource/bot/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/v3/index.js +15 -1
- package/build/plugins/resource/bot/v3/index.js.map +1 -1
- package/build/plugins/resource/cicd/constants.d.ts +39 -0
- package/build/plugins/resource/cicd/constants.d.ts.map +1 -0
- package/build/plugins/resource/cicd/constants.js +52 -0
- package/build/plugins/resource/cicd/constants.js.map +1 -0
- package/build/plugins/resource/cicd/errors.d.ts +24 -0
- package/build/plugins/resource/cicd/errors.d.ts.map +1 -0
- package/build/plugins/resource/cicd/errors.js +48 -0
- package/build/plugins/resource/cicd/errors.js.map +1 -0
- package/build/plugins/resource/cicd/index.d.ts +17 -0
- package/build/plugins/resource/cicd/index.d.ts.map +1 -0
- package/build/plugins/resource/cicd/index.js +117 -0
- package/build/plugins/resource/cicd/index.js.map +1 -0
- package/build/plugins/resource/cicd/logger.d.ts +10 -0
- package/build/plugins/resource/cicd/logger.d.ts.map +1 -0
- package/build/plugins/resource/cicd/logger.js +27 -0
- package/build/plugins/resource/cicd/logger.js.map +1 -0
- package/build/plugins/resource/cicd/plugin.d.ts +10 -0
- package/build/plugins/resource/cicd/plugin.d.ts.map +1 -0
- package/build/plugins/resource/cicd/plugin.js +78 -0
- package/build/plugins/resource/cicd/plugin.js.map +1 -0
- package/build/plugins/resource/cicd/providers/azdoProvider.d.ts +6 -0
- package/build/plugins/resource/cicd/providers/azdoProvider.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/azdoProvider.js +25 -0
- package/build/plugins/resource/cicd/providers/azdoProvider.js.map +1 -0
- package/build/plugins/resource/cicd/providers/enums.d.ts +12 -0
- package/build/plugins/resource/cicd/providers/enums.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/enums.js +19 -0
- package/build/plugins/resource/cicd/providers/enums.js.map +1 -0
- package/build/plugins/resource/cicd/providers/factory.d.ts +6 -0
- package/build/plugins/resource/cicd/providers/factory.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/factory.js +28 -0
- package/build/plugins/resource/cicd/providers/factory.js.map +1 -0
- package/build/plugins/resource/cicd/providers/githubProvider.d.ts +6 -0
- package/build/plugins/resource/cicd/providers/githubProvider.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/githubProvider.js +25 -0
- package/build/plugins/resource/cicd/providers/githubProvider.js.map +1 -0
- package/build/plugins/resource/cicd/providers/jenkinsProvider.d.ts +6 -0
- package/build/plugins/resource/cicd/providers/jenkinsProvider.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/jenkinsProvider.js +25 -0
- package/build/plugins/resource/cicd/providers/jenkinsProvider.js.map +1 -0
- package/build/plugins/resource/cicd/providers/provider.d.ts +11 -0
- package/build/plugins/resource/cicd/providers/provider.d.ts.map +1 -0
- package/build/plugins/resource/cicd/providers/provider.js +92 -0
- package/build/plugins/resource/cicd/providers/provider.js.map +1 -0
- package/build/plugins/resource/cicd/questions.d.ts +14 -0
- package/build/plugins/resource/cicd/questions.d.ts.map +1 -0
- package/build/plugins/resource/cicd/questions.js +45 -0
- package/build/plugins/resource/cicd/questions.js.map +1 -0
- package/build/plugins/resource/cicd/result.d.ts +11 -0
- package/build/plugins/resource/cicd/result.d.ts.map +1 -0
- package/build/plugins/resource/cicd/result.js +23 -0
- package/build/plugins/resource/cicd/result.js.map +1 -0
- package/build/plugins/resource/cicd/utils/buildScripts.d.ts +3 -0
- package/build/plugins/resource/cicd/utils/buildScripts.d.ts.map +1 -0
- package/build/plugins/resource/cicd/utils/buildScripts.js +34 -0
- package/build/plugins/resource/cicd/utils/buildScripts.js.map +1 -0
- package/build/plugins/resource/cicd/utils/telemetry-helper.d.ts +29 -0
- package/build/plugins/resource/cicd/utils/telemetry-helper.d.ts.map +1 -0
- package/build/plugins/resource/cicd/utils/telemetry-helper.js +46 -0
- package/build/plugins/resource/cicd/utils/telemetry-helper.js.map +1 -0
- package/build/plugins/resource/frontend/configs.js +4 -4
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.js +1 -2
- package/build/plugins/resource/frontend/dotnet/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +2 -2
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/env.d.ts.map +1 -1
- package/build/plugins/resource/frontend/env.js +2 -3
- package/build/plugins/resource/frontend/env.js.map +1 -1
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +3 -3
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js +1 -1
- package/build/plugins/resource/frontend/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +5 -4
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +50 -65
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.d.ts +0 -2
- package/build/plugins/resource/frontend/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.js +0 -2
- package/build/plugins/resource/frontend/resources/messages.js.map +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts +1 -0
- package/build/plugins/resource/frontend/resources/templateInfo.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js +3 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.d.ts +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/telemetry-helper.js +2 -3
- package/build/plugins/resource/frontend/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/error.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v3/error.js +8 -20
- package/build/plugins/resource/frontend/v3/error.js.map +1 -1
- package/build/plugins/resource/function/index.d.ts.map +1 -1
- package/build/plugins/resource/function/index.js +1 -2
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.js +1 -1
- package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts +0 -2
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +2 -50
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/errors.d.ts +2 -15
- package/build/plugins/resource/function/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/errors.js +40 -74
- package/build/plugins/resource/function/resources/errors.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts +1 -2
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.js +2 -3
- package/build/plugins/resource/function/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/function/v3/error.d.ts +1 -1
- package/build/plugins/resource/function/v3/error.d.ts.map +1 -1
- package/build/plugins/resource/function/v3/error.js +12 -23
- package/build/plugins/resource/function/v3/error.js.map +1 -1
- package/build/plugins/resource/function/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/function/v3/index.js +1 -1
- package/build/plugins/resource/function/v3/index.js.map +1 -1
- package/build/plugins/resource/identity/constants.d.ts +2 -1
- package/build/plugins/resource/identity/constants.d.ts.map +1 -1
- package/build/plugins/resource/identity/constants.js +2 -1
- package/build/plugins/resource/identity/constants.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts +4 -16
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +46 -119
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.d.ts +3 -3
- package/build/plugins/resource/identity/utils/telemetryUtil.d.ts.map +1 -1
- package/build/plugins/resource/identity/utils/telemetryUtil.js +6 -6
- package/build/plugins/resource/identity/utils/telemetryUtil.js.map +1 -1
- package/build/plugins/resource/identity/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v2/index.js.map +1 -1
- package/build/plugins/resource/identity/v3/index.d.ts +0 -2
- package/build/plugins/resource/identity/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/v3/index.js +0 -2
- package/build/plugins/resource/identity/v3/index.js.map +1 -1
- package/build/plugins/resource/index.d.ts +1 -0
- package/build/plugins/resource/index.d.ts.map +1 -1
- package/build/plugins/resource/index.js +1 -0
- package/build/plugins/resource/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/constants.d.ts +1 -1
- package/build/plugins/resource/simpleauth/constants.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/constants.js +4 -3
- package/build/plugins/resource/simpleauth/constants.js.map +1 -1
- package/build/plugins/resource/simpleauth/errors.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/errors.js +13 -12
- package/build/plugins/resource/simpleauth/errors.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +2 -13
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/utils/common.js +17 -50
- package/build/plugins/resource/simpleauth/utils/common.js.map +1 -1
- package/build/plugins/resource/spfx/error.d.ts.map +1 -1
- package/build/plugins/resource/spfx/error.js +8 -9
- package/build/plugins/resource/spfx/error.js.map +1 -1
- package/build/plugins/resource/spfx/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/index.js +3 -29
- package/build/plugins/resource/spfx/index.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +149 -78
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +11 -6
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +15 -8
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts +3 -0
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js +11 -0
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/questions.js +11 -4
- package/build/plugins/resource/spfx/utils/questions.js.map +1 -1
- package/build/plugins/resource/spfx/utils/utils.js +2 -2
- package/build/plugins/resource/spfx/utils/utils.js.map +1 -1
- package/build/plugins/resource/spfx/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v3/index.js +2 -14
- package/build/plugins/resource/spfx/v3/index.js.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/v3/plugin.js +9 -8
- package/build/plugins/resource/spfx/v3/plugin.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +0 -6
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +0 -6
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +0 -10
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +18 -27
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/questions.d.ts.map +1 -1
- package/build/plugins/resource/sql/questions.js +4 -3
- package/build/plugins/resource/sql/questions.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +8 -2
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/checkInput.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/checkInput.js +11 -11
- package/build/plugins/resource/sql/utils/checkInput.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -17
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -17
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +4 -0
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +30 -6
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +1 -0
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +1 -0
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +19 -14
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +5 -0
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.js +7 -1
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +18 -12
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +24 -41
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js +5 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/launchNext.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js +116 -1
- package/build/plugins/solution/fx-solution/debug/util/launchNext.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts +2 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js +151 -3
- package/build/plugins/solution/fx-solution/debug/util/tasksNext.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +16 -4
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +59 -78
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +5 -11
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +50 -59
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/types.d.ts +10 -0
- package/build/plugins/solution/fx-solution/types.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/types.js +12 -0
- package/build/plugins/solution/fx-solution/types.js.map +1 -0
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts +0 -3
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.js +4 -8
- package/build/plugins/solution/fx-solution/utils/progressHelper.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js +6 -6
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +20 -13
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +2 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +8 -10
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +52 -24
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +27 -11
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +16 -16
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +24 -17
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +20 -15
- package/build/plugins/solution/fx-solution/v2/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +10 -3
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +12 -6
- package/build/plugins/solution/fx-solution/v2/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +21 -21
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +21 -11
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addFeature.js +8 -15
- package/build/plugins/solution/fx-solution/v3/addFeature.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js +5 -7
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +34 -21
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/publish.js +4 -1
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/userTask.js +12 -11
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addFeature.js +2 -2
- package/build/plugins/solution/spfx-solution/addFeature.js.map +1 -1
- package/package.json +9 -9
- package/resource/package.nls.json +515 -0
- package/templates/core/README-auto-generated.md +0 -0
- package/templates/plugins/resource/aad/manifest/aad.template.json +116 -0
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +14 -8
- package/templates/plugins/resource/bot/bot.csharp.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot.ts.default.zip +0 -0
- package/templates/plugins/resource/cicd/azdo/README.md +48 -0
- package/templates/plugins/resource/cicd/azdo/cd.yml +55 -0
- package/templates/plugins/resource/cicd/azdo/ci.yml +37 -0
- package/templates/plugins/resource/cicd/azdo/provision.yml +54 -0
- package/templates/plugins/resource/cicd/azdo/publish.yml +46 -0
- package/templates/plugins/resource/cicd/github/README.md +48 -0
- package/templates/plugins/resource/cicd/github/cd.yml +71 -0
- package/templates/plugins/resource/cicd/github/ci.yml +34 -0
- package/templates/plugins/resource/cicd/github/provision.yml +65 -0
- package/templates/plugins/resource/cicd/github/publish.yml +47 -0
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.cd +78 -0
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.ci +34 -0
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.provision +79 -0
- package/templates/plugins/resource/cicd/jenkins/Jenkinsfile.publish +57 -0
- package/templates/plugins/resource/cicd/jenkins/README.md +45 -0
- package/templates/plugins/resource/dotnet/blazor-base.csharp.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.csharp.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.js.default.zip +0 -0
- package/templates/plugins/resource/frontend/tab.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.js.default.zip +0 -0
- package/templates/plugins/resource/function/function-base.ts.default.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/plugins/resource/function/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/build/common/fileUtils.d.ts +0 -2
- package/build/common/fileUtils.d.ts.map +0 -1
- package/build/common/fileUtils.js +0 -46
- package/build/common/fileUtils.js.map +0 -1
- package/build/common/projectSettingsValidator.d.ts +0 -3
- package/build/common/projectSettingsValidator.d.ts.map +0 -1
- package/build/common/projectSettingsValidator.js +0 -54
- package/build/common/projectSettingsValidator.js.map +0 -1
- package/build/core/tools.d.ts +0 -8
- package/build/core/tools.d.ts.map +0 -1
- package/build/core/tools.js +0 -72
- package/build/core/tools.js.map +0 -1
- package/build/core/utils.d.ts +0 -3
- package/build/core/utils.d.ts.map +0 -1
- package/build/core/utils.js +0 -10
- package/build/core/utils.js.map +0 -1
- package/build/plugins/resource/aad/utils/common.d.ts +0 -19
- package/build/plugins/resource/aad/utils/common.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/common.js +0 -132
- package/build/plugins/resource/aad/utils/common.js.map +0 -1
- package/build/plugins/resource/frontend/dotnet/error-factory.d.ts +0 -10
- package/build/plugins/resource/frontend/dotnet/error-factory.d.ts.map +0 -1
- package/build/plugins/resource/frontend/dotnet/error-factory.js +0 -20
- package/build/plugins/resource/frontend/dotnet/error-factory.js.map +0 -1
- package/build/plugins/resource/identity/config.d.ts +0 -11
- package/build/plugins/resource/identity/config.d.ts.map +0 -1
- package/build/plugins/resource/identity/config.js +0 -17
- package/build/plugins/resource/identity/config.js.map +0 -1
- package/build/plugins/resource/identity/errors.d.ts +0 -11
- package/build/plugins/resource/identity/errors.d.ts.map +0 -1
- package/build/plugins/resource/identity/errors.js +0 -15
- package/build/plugins/resource/identity/errors.js.map +0 -1
- package/build/plugins/resource/identity/results.d.ts +0 -10
- package/build/plugins/resource/identity/results.d.ts.map +0 -1
- package/build/plugins/resource/identity/results.js +0 -18
- package/build/plugins/resource/identity/results.js.map +0 -1
- package/build/plugins/resource/identity/utils/commonUtils.d.ts +0 -2
- package/build/plugins/resource/identity/utils/commonUtils.d.ts.map +0 -1
- package/build/plugins/resource/identity/utils/commonUtils.js +0 -10
- package/build/plugins/resource/identity/utils/commonUtils.js.map +0 -1
- package/build/plugins/resource/identity/utils/contextUtils.d.ts +0 -5
- package/build/plugins/resource/identity/utils/contextUtils.d.ts.map +0 -1
- package/build/plugins/resource/identity/utils/contextUtils.js +0 -11
- package/build/plugins/resource/identity/utils/contextUtils.js.map +0 -1
- package/build/plugins/resource/identity/utils/messages.d.ts +0 -10
- package/build/plugins/resource/identity/utils/messages.d.ts.map +0 -1
- package/build/plugins/resource/identity/utils/messages.js +0 -15
- package/build/plugins/resource/identity/utils/messages.js.map +0 -1
- package/resource/strings.json +0 -103
- package/templates/plugins/resource/bot/bot-msgext.csharp.default.zip +0 -0
- package/templates/plugins/resource/bot/bot-msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/bot-msgext.ts.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.js.default.zip +0 -0
- package/templates/plugins/resource/bot/msgext.ts.default.zip +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{{=<% %>=}}
|
|
2
|
+
# This is just an example workflow for publishing Teams app.
|
|
3
|
+
# You should customize it to meet your own requirements.
|
|
4
|
+
name: 'Publish Teams App'
|
|
5
|
+
on:
|
|
6
|
+
# Manually trigger this workflow, and you should pick the right branch.
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
jobs:
|
|
9
|
+
publishTeamsApp:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
# You can uncomment the line below to use environments (refer to https://docs.github.com/en/actions/reference/environments).
|
|
12
|
+
#environment: test_environment
|
|
13
|
+
env:
|
|
14
|
+
M365_ACCOUNT_NAME: ${{secrets.M365_ACCOUNT_NAME}}
|
|
15
|
+
M365_ACCOUNT_PASSWORD: ${{secrets.M365_ACCOUNT_PASSWORD}}
|
|
16
|
+
M365_TENANT_ID: ${{secrets.M365_TENANT_ID}}
|
|
17
|
+
# To specify the env name for multi-env feature.
|
|
18
|
+
TEAMSFX_ENV_NAME: <%env_name%>
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
# Setup environment.
|
|
22
|
+
- uses: actions/setup-node@v2
|
|
23
|
+
with:
|
|
24
|
+
node-version: '14'
|
|
25
|
+
|
|
26
|
+
- name: Checkout the code
|
|
27
|
+
uses: actions/checkout@v2
|
|
28
|
+
|
|
29
|
+
# This step is to pack the Teams App as zip file,
|
|
30
|
+
# which can be used to be uploaded onto Teams Client for installation.
|
|
31
|
+
- name: Package Teams App for publishing
|
|
32
|
+
uses: OfficeDev/teamsfx-cli-action@v1
|
|
33
|
+
with:
|
|
34
|
+
commands: package
|
|
35
|
+
env: ${{env.TEAMSFX_ENV_NAME}}
|
|
36
|
+
|
|
37
|
+
- name: Upload Teams App's package as artifact
|
|
38
|
+
uses: actions/upload-artifact@v2
|
|
39
|
+
with:
|
|
40
|
+
name: appPackage
|
|
41
|
+
path: build/appPackage/appPackage.${{env.TEAMSFX_ENV_NAME}}.zip
|
|
42
|
+
|
|
43
|
+
- name: Publish Teams App
|
|
44
|
+
uses: OfficeDev/teamsfx-cli-action@v1
|
|
45
|
+
with:
|
|
46
|
+
commands: publish
|
|
47
|
+
env: ${{env.TEAMSFX_ENV_NAME}}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
// To enable M365 account login by non-interactive mode.
|
|
19
|
+
CI_ENABLED = 'true'
|
|
20
|
+
<%/hosting_type_contains_spfx%>
|
|
21
|
+
|
|
22
|
+
// To specify the env name for multi-env feature.
|
|
23
|
+
TEAMSFX_ENV_NAME = '<%env_name%>'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
stages {
|
|
27
|
+
// Setup environment.
|
|
28
|
+
stage('Setup environment') {
|
|
29
|
+
steps {
|
|
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
|
+
sh 'npm ci'
|
|
34
|
+
// Check the version of teamsfx.
|
|
35
|
+
sh 'npx teamsfx -v'
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Build the project.
|
|
40
|
+
// The way to build the current project depends on how you scaffold it.
|
|
41
|
+
// Different folder structures require different commands set.
|
|
42
|
+
// 'npm ci' may be used here to install dependencies and it depends on package-lock.json.
|
|
43
|
+
// If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
44
|
+
stage('Build the project') {
|
|
45
|
+
steps {
|
|
46
|
+
sh '<%build_script%>'
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Run unit test.
|
|
51
|
+
// Currently, no opinionated solution for unit test provided during scaffolding, so,
|
|
52
|
+
// set up any unit test framework you prefer (for example, mocha or jest) and update the commands accordingly in below.
|
|
53
|
+
// stage('Run unit test') {
|
|
54
|
+
// steps {
|
|
55
|
+
// sh 'npm run test'
|
|
56
|
+
// }
|
|
57
|
+
// }
|
|
58
|
+
<%#hosting_type_contains_azure%>
|
|
59
|
+
|
|
60
|
+
stage('Login Azure by service principal') {
|
|
61
|
+
environment {
|
|
62
|
+
SP_NAME = credentials('AZURE_SERVICE_PRINCIPAL_NAME')
|
|
63
|
+
SP_PASSWORD = credentials('AZURE_SERVICE_PRINCIPAL_PASSWORD')
|
|
64
|
+
TENANT_ID = credentials('AZURE_TENANT_ID')
|
|
65
|
+
}
|
|
66
|
+
steps {
|
|
67
|
+
sh 'npx teamsfx account login azure --service-principal --username ${SP_NAME} --password ${SP_PASSWORD} --tenant ${TENANT_ID}'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
<%/hosting_type_contains_azure%>
|
|
71
|
+
|
|
72
|
+
stage('Deploy to hosting environment') {
|
|
73
|
+
steps {
|
|
74
|
+
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%>'
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
}
|
|
24
|
+
|
|
25
|
+
stages {
|
|
26
|
+
// Setup environment.
|
|
27
|
+
stage('Setup environment') {
|
|
28
|
+
steps {
|
|
29
|
+
// Install the local dev dependency of @microsoft/teamsfx-cli.
|
|
30
|
+
// 'npm ci' is 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
|
+
sh 'npm ci'
|
|
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
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
}
|
|
23
|
+
|
|
24
|
+
stages {
|
|
25
|
+
// Setup environment.
|
|
26
|
+
stage('Setup environment') {
|
|
27
|
+
steps {
|
|
28
|
+
// Install the local dev dependency of @microsoft/teamsfx-cli.
|
|
29
|
+
// 'npm ci' is used here to install dependencies and it depends on package-lock.json.
|
|
30
|
+
// If you prefer to use 'npm ci', please make sure to commit package-lock.json first, or just change it to 'npm install'.
|
|
31
|
+
sh 'npm ci'
|
|
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
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# How to use pre-cooked pipelines on Jenkins
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Teams app projects are version controlled.
|
|
5
|
+
- (Optional) An M365 account. If you do not have M365 account, apply one from [M365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program). The M365 account credentials are required for steps of provision, publish and deployment for SPFx projects. Any extra interactive verification steps should be disabled for the M365 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 M365 account for creating and publishing the Teams App.|
|
|
26
|
+
|M365_ACCOUNT_PASSWORD|The password of the M365 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 M365 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 M365 is used in CI/CD workflows, so please ensure that your M365 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 M365 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)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileUtils.d.ts","sourceRoot":"","sources":["../../src/common/fileUtils.ts"],"names":[],"mappings":"AAYA,wBAAsB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAgC7D"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.readJson = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
-
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
9
|
-
const path_1 = require("path");
|
|
10
|
-
const util_1 = require("util");
|
|
11
|
-
const core_1 = require("../core");
|
|
12
|
-
const telemetry_1 = require("./telemetry");
|
|
13
|
-
const sleep = util_1.promisify(setTimeout);
|
|
14
|
-
async function readJson(filePath) {
|
|
15
|
-
if (!(await fs_extra_1.default.pathExists(filePath))) {
|
|
16
|
-
throw new teamsfx_api_1.UserError("FileNotFoundError", `File not found, make sure you don't move the original file: ${filePath}`, core_1.CoreSource);
|
|
17
|
-
}
|
|
18
|
-
let rawError;
|
|
19
|
-
for (let i = 0; i < 5; ++i) {
|
|
20
|
-
try {
|
|
21
|
-
const json = await fs_extra_1.default.readJson(filePath);
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
catch (error) {
|
|
25
|
-
rawError = error;
|
|
26
|
-
await sleep(100);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* failed, read raw content into userData field, which will be reported in issue body
|
|
31
|
-
*/
|
|
32
|
-
const fxError = new teamsfx_api_1.SystemError(rawError, core_1.CoreSource, "ReadJsonError");
|
|
33
|
-
const fileName = path_1.basename(filePath);
|
|
34
|
-
fxError.message = `task '${core_1.currentStage}' failed because of ${fxError.name}(file:${fileName}):${fxError.message}, if your local file 'env.*.json' is not modified, please report to us by click 'Report Issue' button.`;
|
|
35
|
-
let content = undefined;
|
|
36
|
-
try {
|
|
37
|
-
content = fs_extra_1.default.readFileSync(filePath, { encoding: "utf-8" });
|
|
38
|
-
}
|
|
39
|
-
catch (e) { }
|
|
40
|
-
if (content)
|
|
41
|
-
fxError.userData = `file: ${fileName}\n------------FILE START--------\n${content}\n------------FILE END----------`;
|
|
42
|
-
telemetry_1.sendTelemetryErrorEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ReadJson, fxError);
|
|
43
|
-
throw fxError;
|
|
44
|
-
}
|
|
45
|
-
exports.readJson = readJson;
|
|
46
|
-
//# sourceMappingURL=fileUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileUtils.js","sourceRoot":"","sources":["../../src/common/fileUtils.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAgE;AAChE,gEAA0B;AAC1B,+BAAgC;AAChC,+BAAiC;AACjC,kCAAmD;AACnD,2CAAiF;AAEjF,MAAM,KAAK,GAAG,gBAAS,CAAC,UAAU,CAAC,CAAC;AAE7B,KAAK,UAAU,QAAQ,CAAC,QAAgB;IAC7C,IAAI,CAAC,CAAC,MAAM,kBAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE;QACpC,MAAM,IAAI,uBAAS,CACjB,mBAAmB,EACnB,+DAA+D,QAAQ,EAAE,EACzE,iBAAU,CACX,CAAC;KACH;IACD,IAAI,QAAQ,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,EAAE;QAC1B,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YACzC,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,KAAK,EAAE;YACd,QAAQ,GAAG,KAAK,CAAC;YACjB,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;SAClB;KACF;IACD;;OAEG;IACH,MAAM,OAAO,GAAgB,IAAI,yBAAW,CAAC,QAAiB,EAAE,iBAAU,EAAE,eAAe,CAAC,CAAC;IAC7F,MAAM,QAAQ,GAAG,eAAQ,CAAC,QAAQ,CAAC,CAAC;IACpC,OAAO,CAAC,OAAO,GAAG,SAAS,mBAAY,uBAAuB,OAAO,CAAC,IAAI,SAAS,QAAQ,KAAK,OAAO,CAAC,OAAO,wGAAwG,CAAC;IACxN,IAAI,OAAO,GAAuB,SAAS,CAAC;IAC5C,IAAI;QACF,OAAO,GAAG,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;KAC5D;IAAC,OAAO,CAAC,EAAE,GAAE;IACd,IAAI,OAAO;QACT,OAAO,CAAC,QAAQ,GAAG,SAAS,QAAQ,qCAAqC,OAAO,kCAAkC,CAAC;IACrH,mCAAuB,CAAC,qBAAS,CAAC,IAAI,EAAE,0BAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1E,MAAM,OAAO,CAAC;AAChB,CAAC;AAhCD,4BAgCC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectSettingsValidator.d.ts","sourceRoot":"","sources":["../../src/common/projectSettingsValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAQhF,wBAAgB,uBAAuB,CAAC,eAAe,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CA2B5F"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.validateProjectSettings = void 0;
|
|
6
|
-
const question_1 = require("../plugins/solution/fx-solution/question");
|
|
7
|
-
function validateProjectSettings(projectSettings) {
|
|
8
|
-
var _a;
|
|
9
|
-
if (!projectSettings)
|
|
10
|
-
return "empty projectSettings";
|
|
11
|
-
if (!projectSettings.solutionSettings)
|
|
12
|
-
return undefined;
|
|
13
|
-
const solutionSettings = projectSettings.solutionSettings;
|
|
14
|
-
let validateRes = validateStringArray(solutionSettings.azureResources);
|
|
15
|
-
if (validateRes) {
|
|
16
|
-
return `solutionSettings.azureResources validation failed: ${validateRes}`;
|
|
17
|
-
}
|
|
18
|
-
validateRes = validateStringArray(solutionSettings.capabilities, [
|
|
19
|
-
question_1.TabOptionItem.id,
|
|
20
|
-
question_1.BotOptionItem.id,
|
|
21
|
-
question_1.MessageExtensionItem.id,
|
|
22
|
-
question_1.TabSPFxItem.id,
|
|
23
|
-
]);
|
|
24
|
-
if (validateRes) {
|
|
25
|
-
return `solutionSettings.capabilities validation failed: ${validateRes}`;
|
|
26
|
-
}
|
|
27
|
-
validateRes = validateStringArray(solutionSettings.activeResourcePlugins);
|
|
28
|
-
if (validateRes) {
|
|
29
|
-
return `solutionSettings.activeResourcePlugins validation failed: ${validateRes}`;
|
|
30
|
-
}
|
|
31
|
-
if ((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.solutionSettings) === null || _a === void 0 ? void 0 : _a.migrateFromV1) {
|
|
32
|
-
return "The project created before v2.0.0 is only supported in the Teams Toolkit before v3.4.0.";
|
|
33
|
-
}
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
exports.validateProjectSettings = validateProjectSettings;
|
|
37
|
-
function validateStringArray(arr, enums) {
|
|
38
|
-
if (!arr) {
|
|
39
|
-
return "is undefined";
|
|
40
|
-
}
|
|
41
|
-
if (!Array.isArray(arr)) {
|
|
42
|
-
return "is not array";
|
|
43
|
-
}
|
|
44
|
-
for (const element of arr) {
|
|
45
|
-
if (typeof element !== "string") {
|
|
46
|
-
return "array elements is not string type";
|
|
47
|
-
}
|
|
48
|
-
if (enums && !enums.includes(element)) {
|
|
49
|
-
return `array elements is out of scope: ${enums}`;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=projectSettingsValidator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectSettingsValidator.js","sourceRoot":"","sources":["../../src/common/projectSettingsValidator.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,uEAKkD;AAElD,SAAgB,uBAAuB,CAAC,eAAgC;;IACtE,IAAI,CAAC,eAAe;QAAE,OAAO,uBAAuB,CAAC;IACrD,IAAI,CAAC,eAAe,CAAC,gBAAgB;QAAE,OAAO,SAAS,CAAC;IACxD,MAAM,gBAAgB,GAAG,eAAe,CAAC,gBAAyC,CAAC;IACnF,IAAI,WAAW,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;IACvE,IAAI,WAAW,EAAE;QACf,OAAO,sDAAsD,WAAW,EAAE,CAAC;KAC5E;IACD,WAAW,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,YAAY,EAAE;QAC/D,wBAAa,CAAC,EAAE;QAChB,wBAAa,CAAC,EAAE;QAChB,+BAAoB,CAAC,EAAE;QACvB,sBAAW,CAAC,EAAE;KACf,CAAC,CAAC;IACH,IAAI,WAAW,EAAE;QACf,OAAO,oDAAoD,WAAW,EAAE,CAAC;KAC1E;IACD,WAAW,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;IAC1E,IAAI,WAAW,EAAE;QACf,OAAO,6DAA6D,WAAW,EAAE,CAAC;KACnF;IAED,IAAI,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,gBAAgB,0CAAE,aAAa,EAAE;QACpD,OAAO,yFAAyF,CAAC;KAClG;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AA3BD,0DA2BC;AAED,SAAS,mBAAmB,CAAC,GAAS,EAAE,KAAgB;IACtD,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,cAAc,CAAC;KACvB;IACD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACvB,OAAO,cAAc,CAAC;KACvB;IACD,KAAK,MAAM,OAAO,IAAI,GAAY,EAAE;QAClC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC/B,OAAO,mCAAmC,CAAC;SAC5C;QACD,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;YACrC,OAAO,mCAAmC,KAAK,EAAE,CAAC;SACnD;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/build/core/tools.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EnvConfig, EnvInfo, ProjectSettings, SolutionContext, v3 } from "@microsoft/teamsfx-api";
|
|
2
|
-
export declare function validateProject(solutionContext: SolutionContext): string | undefined;
|
|
3
|
-
export declare function validateSettings(projectSettings?: ProjectSettings): string | undefined;
|
|
4
|
-
export declare function isValidProject(workspacePath?: string): boolean;
|
|
5
|
-
export declare function newEnvInfo(envName?: string, config?: EnvConfig, state?: Map<string, any>): EnvInfo;
|
|
6
|
-
export declare function newEnvInfoV3(envName?: string, config?: EnvConfig, state?: v3.ResourceStates): v3.EnvInfoV3;
|
|
7
|
-
export declare function getLockFolder(projectPath: string): string;
|
|
8
|
-
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/core/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,OAAO,EAEP,eAAe,EAEf,eAAe,EACf,EAAE,EACH,MAAM,wBAAwB,CAAC;AAShC,wBAAgB,eAAe,CAAC,eAAe,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAGpF;AAED,wBAAgB,gBAAgB,CAAC,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAGtF;AAED,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAW9D;AAED,wBAAgB,UAAU,CACxB,OAAO,CAAC,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,SAAS,EAClB,KAAK,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,GACvB,OAAO,CAYT;AAED,wBAAgB,YAAY,CAC1B,OAAO,CAAC,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,SAAS,EAClB,KAAK,CAAC,EAAE,EAAE,CAAC,cAAc,GACxB,EAAE,CAAC,SAAS,CAYd;AAED,wBAAgB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAKzD"}
|
package/build/core/tools.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLockFolder = exports.newEnvInfoV3 = exports.newEnvInfo = exports.isValidProject = exports.validateSettings = exports.validateProject = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
6
|
-
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
7
|
-
const path = tslib_1.__importStar(require("path"));
|
|
8
|
-
const constants_1 = require("../plugins/solution/fx-solution/constants");
|
|
9
|
-
const environment_1 = require("./environment");
|
|
10
|
-
const crypto_1 = tslib_1.__importDefault(require("crypto"));
|
|
11
|
-
const os = tslib_1.__importStar(require("os"));
|
|
12
|
-
const projectSettingsValidator_1 = require("../common/projectSettingsValidator");
|
|
13
|
-
function validateProject(solutionContext) {
|
|
14
|
-
const res = validateSettings(solutionContext.projectSettings);
|
|
15
|
-
return res;
|
|
16
|
-
}
|
|
17
|
-
exports.validateProject = validateProject;
|
|
18
|
-
function validateSettings(projectSettings) {
|
|
19
|
-
if (!projectSettings)
|
|
20
|
-
return "empty projectSettings";
|
|
21
|
-
return projectSettingsValidator_1.validateProjectSettings(projectSettings);
|
|
22
|
-
}
|
|
23
|
-
exports.validateSettings = validateSettings;
|
|
24
|
-
function isValidProject(workspacePath) {
|
|
25
|
-
if (!workspacePath)
|
|
26
|
-
return false;
|
|
27
|
-
try {
|
|
28
|
-
const confFolderPath = path.resolve(workspacePath, `.${teamsfx_api_1.ConfigFolderName}`, "configs");
|
|
29
|
-
const settingsFile = path.resolve(confFolderPath, teamsfx_api_1.ProjectSettingsFileName);
|
|
30
|
-
const projectSettings = fs.readJsonSync(settingsFile);
|
|
31
|
-
if (validateSettings(projectSettings))
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
catch (e) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.isValidProject = isValidProject;
|
|
40
|
-
function newEnvInfo(envName, config, state) {
|
|
41
|
-
return {
|
|
42
|
-
envName: envName !== null && envName !== void 0 ? envName : environment_1.environmentManager.getDefaultEnvName(),
|
|
43
|
-
config: config !== null && config !== void 0 ? config : {
|
|
44
|
-
manifest: {
|
|
45
|
-
appName: {
|
|
46
|
-
short: "teamsfx_app",
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
state: state !== null && state !== void 0 ? state : new Map([[constants_1.GLOBAL_CONFIG, new teamsfx_api_1.ConfigMap()]]),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.newEnvInfo = newEnvInfo;
|
|
54
|
-
function newEnvInfoV3(envName, config, state) {
|
|
55
|
-
return {
|
|
56
|
-
envName: envName !== null && envName !== void 0 ? envName : environment_1.environmentManager.getDefaultEnvName(),
|
|
57
|
-
config: config !== null && config !== void 0 ? config : {
|
|
58
|
-
manifest: {
|
|
59
|
-
appName: {
|
|
60
|
-
short: "teamsfx_app",
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
state: state !== null && state !== void 0 ? state : { solution: {} },
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
exports.newEnvInfoV3 = newEnvInfoV3;
|
|
68
|
-
function getLockFolder(projectPath) {
|
|
69
|
-
return path.join(os.tmpdir(), `${teamsfx_api_1.ProductName}-${crypto_1.default.createHash("md5").update(projectPath).digest("hex")}`);
|
|
70
|
-
}
|
|
71
|
-
exports.getLockFolder = getLockFolder;
|
|
72
|
-
//# sourceMappingURL=tools.js.map
|
package/build/core/tools.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/core/tools.ts"],"names":[],"mappings":";;;;AAAA,wDAUgC;AAChC,qDAA+B;AAC/B,mDAA6B;AAC7B,yEAA0E;AAC1E,+CAAmD;AACnD,4DAA4B;AAC5B,+CAAyB;AACzB,iFAA6E;AAE7E,SAAgB,eAAe,CAAC,eAAgC;IAC9D,MAAM,GAAG,GAAG,gBAAgB,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;IAC9D,OAAO,GAAG,CAAC;AACb,CAAC;AAHD,0CAGC;AAED,SAAgB,gBAAgB,CAAC,eAAiC;IAChE,IAAI,CAAC,eAAe;QAAE,OAAO,uBAAuB,CAAC;IACrD,OAAO,kDAAuB,CAAC,eAAe,CAAC,CAAC;AAClD,CAAC;AAHD,4CAGC;AAED,SAAgB,cAAc,CAAC,aAAsB;IACnD,IAAI,CAAC,aAAa;QAAE,OAAO,KAAK,CAAC;IACjC,IAAI;QACF,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,8BAAgB,EAAE,EAAE,SAAS,CAAC,CAAC;QACtF,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,qCAAuB,CAAC,CAAC;QAC3E,MAAM,eAAe,GAAoB,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;QACvE,IAAI,gBAAgB,CAAC,eAAe,CAAC;YAAE,OAAO,KAAK,CAAC;QACpD,OAAO,IAAI,CAAC;KACb;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,KAAK,CAAC;KACd;AACH,CAAC;AAXD,wCAWC;AAED,SAAgB,UAAU,CACxB,OAAgB,EAChB,MAAkB,EAClB,KAAwB;IAExB,OAAO;QACL,OAAO,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,gCAAkB,CAAC,iBAAiB,EAAE;QAC1D,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI;YAChB,QAAQ,EAAE;gBACR,OAAO,EAAE;oBACP,KAAK,EAAE,aAAa;iBACrB;aACF;SACF;QACD,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAI,GAAG,CAAc,CAAC,CAAC,yBAAa,EAAE,IAAI,uBAAS,EAAE,CAAC,CAAC,CAAC;KACzE,CAAC;AACJ,CAAC;AAhBD,gCAgBC;AAED,SAAgB,YAAY,CAC1B,OAAgB,EAChB,MAAkB,EAClB,KAAyB;IAEzB,OAAO;QACL,OAAO,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,gCAAkB,CAAC,iBAAiB,EAAE;QAC1D,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI;YAChB,QAAQ,EAAE;gBACR,OAAO,EAAE;oBACP,KAAK,EAAE,aAAa;iBACrB;aACF;SACF;QACD,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;KACjC,CAAC;AACJ,CAAC;AAhBD,oCAgBC;AAED,SAAgB,aAAa,CAAC,WAAmB;IAC/C,OAAO,IAAI,CAAC,IAAI,CACd,EAAE,CAAC,MAAM,EAAE,EACX,GAAG,yBAAW,IAAI,gBAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAC/E,CAAC;AACJ,CAAC;AALD,sCAKC"}
|
package/build/core/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/core/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,wBAAgB,iBAAiB,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAE3E"}
|
package/build/core/utils.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isPureExistingApp = void 0;
|
|
6
|
-
function isPureExistingApp(projectSettings) {
|
|
7
|
-
return projectSettings.solutionSettings === undefined;
|
|
8
|
-
}
|
|
9
|
-
exports.isPureExistingApp = isPureExistingApp;
|
|
10
|
-
//# sourceMappingURL=utils.js.map
|
package/build/core/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/core/utils.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,SAAgB,iBAAiB,CAAC,eAAgC;IAChE,OAAO,eAAe,CAAC,gBAAgB,KAAK,SAAS,CAAC;AACxD,CAAC;AAFD,8CAEC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { GraphTokenProvider, LogProvider, PluginContext, v2, v3 } from "@microsoft/teamsfx-api";
|
|
2
|
-
import { Messages } from "../constants";
|
|
3
|
-
import { IAADDefinition } from "../interfaces/IAADDefinition";
|
|
4
|
-
export declare class Utils {
|
|
5
|
-
static addLogAndTelemetryWithLocalDebug(logProvider: LogProvider | undefined, message: Messages, messageLocal: Messages, isLocalDebug?: boolean, properties?: {
|
|
6
|
-
[key: string]: string;
|
|
7
|
-
}): void;
|
|
8
|
-
static addLogAndTelemetry(logProvider: LogProvider | undefined, message: Messages): void;
|
|
9
|
-
static addLocalDebugPrefix(isLocalDebug: boolean, key: string): string;
|
|
10
|
-
static getPermissionErrorMessage(message: string, isGrantPermission?: boolean, objectId?: string): string;
|
|
11
|
-
static getConfigFileName(envName?: string): string;
|
|
12
|
-
static getInputFileName(envName: string): string;
|
|
13
|
-
static getCurrentTenantId(graphTokenProvider?: GraphTokenProvider): Promise<string>;
|
|
14
|
-
static skipCreateAadForProvision(envInfo: v3.EnvInfoV3): boolean;
|
|
15
|
-
static skipCreateAadForLocalProvision(localSettings: v2.LocalSettings): boolean;
|
|
16
|
-
static skipAADProvision(ctx: PluginContext, isLocalDebug?: boolean): boolean;
|
|
17
|
-
static parseRedirectUriMessage(redirectUris: IAADDefinition): string;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/aad/utils/common.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,EAAE,EACF,EAAE,EACH,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAyC,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE/E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAK9D,qBAAa,KAAK;WACF,gCAAgC,CAC5C,WAAW,EAAE,WAAW,GAAG,SAAS,EACpC,OAAO,EAAE,QAAQ,EACjB,YAAY,EAAE,QAAQ,EACtB,YAAY,UAAQ,EACpB,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GACrC,IAAI;WAUO,kBAAkB,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,IAAI;WAKjF,mBAAmB,CAAC,YAAY,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;WAI/D,yBAAyB,CACrC,OAAO,EAAE,MAAM,EACf,iBAAiB,UAAQ,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM;WAMK,iBAAiB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM;WAQ3C,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;WAInC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;WAMlF,yBAAyB,CAAC,OAAO,EAAE,EAAE,CAAC,SAAS,GAAG,OAAO;WAsBzD,8BAA8B,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,GAAG,OAAO;WAgBxE,gBAAgB,CAAC,GAAG,EAAE,aAAa,EAAE,YAAY,UAAQ,GAAG,OAAO;WAoCnE,uBAAuB,CAAC,YAAY,EAAE,cAAc,GAAG,MAAM;CAc5E"}
|