@microsoft/teamsfx-core 1.2.0 → 1.2.2-alpha.eb4575da.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/armInterface.d.ts +0 -20
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +1 -0
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
- package/build/common/deps-checker/depsChecker.js.map +1 -1
- package/build/common/deps-checker/depsManager.d.ts +2 -1
- package/build/common/deps-checker/depsManager.d.ts.map +1 -1
- package/build/common/deps-checker/depsManager.js +12 -7
- package/build/common/deps-checker/depsManager.js.map +1 -1
- package/build/common/deps-checker/index.d.ts +1 -0
- package/build/common/deps-checker/index.d.ts.map +1 -1
- package/build/common/deps-checker/index.js +1 -0
- package/build/common/deps-checker/index.js.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/dotnetChecker.js +2 -1
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +2 -1
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/ngrokChecker.js +2 -4
- package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +1 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +9 -1
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/deps-checker/util/extensionInstaller.d.ts +3 -0
- package/build/common/deps-checker/util/extensionInstaller.d.ts.map +1 -0
- package/build/common/deps-checker/util/extensionInstaller.js +47 -0
- package/build/common/deps-checker/util/extensionInstaller.js.map +1 -0
- package/build/common/deps-checker/util/index.d.ts +5 -0
- package/build/common/deps-checker/util/index.d.ts.map +1 -0
- package/build/common/deps-checker/util/index.js +10 -0
- package/build/common/deps-checker/util/index.js.map +1 -0
- package/build/common/index.d.ts +1 -3
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +1 -3
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +5 -0
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +7 -1
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/index.d.ts +5 -0
- package/build/common/local/index.d.ts.map +1 -0
- package/build/common/local/index.js +10 -0
- package/build/common/local/index.js.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.d.ts → common/local/localCertificateManager.d.ts} +4 -6
- package/build/common/local/localCertificateManager.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util/certificate.js → common/local/localCertificateManager.js} +37 -47
- package/build/common/local/localCertificateManager.js.map +1 -0
- package/build/common/local/localEnvManager.d.ts +6 -2
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +41 -1
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.d.ts +0 -0
- package/build/common/local/process.d.ts.map +1 -0
- package/build/{plugins/solution/fx-solution/debug/util → common/local}/process.js +0 -0
- package/build/common/local/process.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts +5 -5
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +28 -21
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/local/taskDefinition.d.ts +1 -1
- package/build/common/local/taskDefinition.d.ts.map +1 -1
- package/build/common/local/taskDefinition.js +6 -4
- package/build/common/local/taskDefinition.js.map +1 -1
- package/build/common/localSettingsConstants.d.ts +1 -0
- package/build/common/localSettingsConstants.d.ts.map +1 -1
- package/build/common/localSettingsConstants.js +1 -0
- package/build/common/localSettingsConstants.js.map +1 -1
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +1 -0
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/permissionInterface.d.ts +1 -0
- package/build/common/permissionInterface.d.ts.map +1 -1
- package/build/common/permissionInterface.js +1 -0
- package/build/common/permissionInterface.js.map +1 -1
- package/build/common/telemetry.d.ts +7 -2
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +10 -4
- package/build/common/telemetry.js.map +1 -1
- package/build/common/{templates.d.ts → template-utils/templates.d.ts} +0 -0
- package/build/common/template-utils/templates.d.ts.map +1 -0
- package/build/common/{templates.js → template-utils/templates.js} +1 -1
- package/build/common/template-utils/templates.js.map +1 -0
- package/build/common/{templatesActions.d.ts → template-utils/templatesActions.d.ts} +0 -0
- package/build/common/template-utils/templatesActions.d.ts.map +1 -0
- package/build/common/{templatesActions.js → template-utils/templatesActions.js} +3 -3
- package/build/common/template-utils/templatesActions.js.map +1 -0
- package/build/common/{templatesUtils.d.ts → template-utils/templatesUtils.d.ts} +0 -0
- package/build/common/template-utils/templatesUtils.d.ts.map +1 -0
- package/build/common/{templatesUtils.js → template-utils/templatesUtils.js} +1 -1
- package/build/common/template-utils/templatesUtils.js.map +1 -0
- package/build/common/tools.d.ts +1 -4
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +41 -12
- package/build/common/tools.js.map +1 -1
- package/build/core/index.d.ts +2 -2
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +14 -6
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/index.d.ts +0 -1
- package/build/core/middleware/index.d.ts.map +1 -1
- package/build/core/middleware/index.js +0 -1
- package/build/core/middleware/index.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +0 -9
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/permissionRequest.js +2 -2
- package/build/core/permissionRequest.js.map +1 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +7 -4
- package/build/core/question.js.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts +2 -2
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +1 -1
- package/build/plugins/resource/aad/aadAppClient.js +3 -4
- package/build/plugins/resource/aad/aadAppClient.js.map +1 -1
- package/build/plugins/resource/aad/errors.d.ts.map +1 -1
- package/build/plugins/resource/aad/errors.js +1 -2
- package/build/plugins/resource/aad/errors.js.map +1 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts +4 -0
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +1 -1
- package/build/plugins/resource/aad/plugin.js +33 -46
- package/build/plugins/resource/aad/plugin.js.map +1 -1
- package/build/plugins/resource/aad/utils/common.d.ts +2 -0
- package/build/plugins/resource/aad/utils/common.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/common.js +14 -14
- package/build/plugins/resource/aad/utils/common.js.map +1 -1
- package/build/plugins/resource/aad/utils/configs.d.ts +1 -0
- package/build/plugins/resource/aad/utils/configs.d.ts.map +1 -1
- package/build/plugins/resource/aad/utils/configs.js +20 -38
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/apim/error.d.ts.map +1 -1
- package/build/plugins/resource/apim/error.js +1 -4
- package/build/plugins/resource/apim/error.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +21 -58
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/questionManager.js +0 -7
- package/build/plugins/resource/apim/managers/questionManager.js.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.d.ts.map +1 -1
- package/build/plugins/resource/apim/questions/vscodeQuestion.js +6 -13
- package/build/plugins/resource/apim/questions/vscodeQuestion.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +3 -2
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +12 -11
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +2 -36
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +1 -31
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.js +16 -8
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts +1 -0
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +14 -1
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +1 -3
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.js +28 -16
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.d.ts.map +1 -1
- package/build/plugins/resource/bot/configs/provisionConfig.js +0 -10
- package/build/plugins/resource/bot/configs/provisionConfig.js.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts +1 -1
- package/build/plugins/resource/bot/languageStrategy.d.ts.map +1 -1
- package/build/plugins/resource/bot/languageStrategy.js +1 -1
- package/build/plugins/resource/bot/languageStrategy.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +14 -131
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/configs.d.ts +1 -1
- package/build/plugins/resource/frontend/configs.d.ts.map +1 -1
- package/build/plugins/resource/frontend/configs.js +3 -9
- package/build/plugins/resource/frontend/configs.js.map +1 -1
- package/build/plugins/resource/frontend/constants.d.ts +2 -8
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +3 -11
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.d.ts +52 -0
- package/build/plugins/resource/frontend/dotnet/constants.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/constants.js +69 -0
- package/build/plugins/resource/frontend/dotnet/constants.js.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/enum.js +39 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/enum.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts +0 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.d.ts.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js +3 -3
- package/build/plugins/resource/frontend/{blazor → dotnet}/error-factory.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts +0 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js +3 -3
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +34 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js +126 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts +35 -0
- package/build/plugins/resource/frontend/dotnet/resources/errors.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/errors.js +10 -22
- package/build/plugins/resource/frontend/dotnet/resources/errors.js.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.d.ts +0 -4
- package/build/plugins/resource/frontend/dotnet/resources/messages.d.ts.map +1 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/resources/messages.js +0 -4
- package/build/plugins/resource/frontend/dotnet/resources/messages.js.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts +6 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js +11 -0
- package/build/plugins/resource/frontend/dotnet/utils/azure-client.js.map +1 -0
- package/build/plugins/resource/frontend/index.d.ts +6 -3
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +27 -45
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/interface.d.ts +13 -0
- package/build/plugins/resource/frontend/interface.d.ts.map +1 -0
- package/build/plugins/resource/frontend/interface.js +3 -0
- package/build/plugins/resource/frontend/interface.js.map +1 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts +3 -0
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +43 -0
- package/build/plugins/resource/frontend/ops/deploy.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/plugin.d.ts +3 -3
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +13 -44
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +23 -20
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +31 -67
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js +1 -1
- package/build/plugins/resource/frontend/resources/templateInfo.js.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts +3 -1
- package/build/plugins/resource/frontend/utils/logger.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/logger.js +9 -6
- package/build/plugins/resource/frontend/utils/logger.js.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts +0 -8
- package/build/plugins/resource/frontend/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils/progress-helper.js +1 -19
- package/build/plugins/resource/frontend/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/frontend/v2/index.d.ts +1 -0
- package/build/plugins/resource/frontend/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/v2/index.js +3 -0
- package/build/plugins/resource/frontend/v2/index.js.map +1 -1
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts +15 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js +149 -0
- package/build/plugins/resource/frontend/v3/AzureStoragePlugin.js.map +1 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts +8 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js +95 -0
- package/build/plugins/resource/frontend/v3/ReactTabScaffoldPlugin.js.map +1 -0
- package/build/plugins/resource/frontend/v3/error.d.ts +23 -0
- package/build/plugins/resource/frontend/v3/error.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/error.js +66 -0
- package/build/plugins/resource/frontend/v3/error.js.map +1 -0
- package/build/plugins/resource/frontend/v3/index.d.ts +3 -0
- package/build/plugins/resource/frontend/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/frontend/v3/index.js +7 -0
- package/build/plugins/resource/frontend/v3/index.js.map +1 -0
- package/build/plugins/resource/function/index.d.ts +1 -1
- package/build/plugins/resource/function/index.d.ts.map +1 -1
- package/build/plugins/resource/function/index.js +8 -21
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/function/ops/deploy.js +8 -9
- package/build/plugins/resource/function/ops/deploy.js.map +1 -1
- package/build/plugins/resource/function/ops/scaffold.js +1 -1
- package/build/plugins/resource/function/ops/scaffold.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +33 -134
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/resources/message.d.ts +0 -1
- package/build/plugins/resource/function/resources/message.d.ts.map +1 -1
- package/build/plugins/resource/function/resources/message.js +0 -1
- package/build/plugins/resource/function/resources/message.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +11 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js +48 -0
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.js.map +1 -0
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts +6 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js +15 -8
- package/build/plugins/resource/function/utils/depsChecker/funcPluginLogger.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts +4 -3
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js +5 -4
- package/build/plugins/resource/function/utils/depsChecker/funcPluginTelemetry.js.map +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts +1 -1
- package/build/plugins/resource/function/utils/telemetry-helper.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.d.ts +0 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +2 -20
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/index.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/index.js +1 -6
- package/build/plugins/resource/simpleauth/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +0 -3
- package/build/plugins/resource/simpleauth/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/plugin.d.ts.map +1 -1
- package/build/plugins/resource/spfx/plugin.js +14 -9
- package/build/plugins/resource/spfx/plugin.js.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts +5 -4
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/constants.js +5 -4
- package/build/plugins/resource/spfx/utils/constants.js.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js +1 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +1 -1
- package/build/plugins/resource/sql/index.d.ts.map +1 -1
- package/build/plugins/resource/sql/index.js +1 -9
- package/build/plugins/resource/sql/index.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +26 -58
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts +1 -1
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +3 -3
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +9 -2
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +45 -11
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +4 -3
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +11 -10
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +1 -0
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +1 -0
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +0 -5
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.js +1 -7
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +2 -2
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +2 -2
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +5 -3
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +2 -2
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +32 -22
- package/build/plugins/solution/fx-solution/question.js.map +1 -1
- package/build/plugins/solution/fx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/solution.js +15 -15
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts +31 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js +222 -0
- package/build/plugins/solution/fx-solution/utils/ResourceGroupHelper.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/adaptor.js +1 -1
- package/build/plugins/solution/fx-solution/v2/adaptor.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -3
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +196 -122
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +2 -2
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +9 -14
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +81 -96
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/provision.js.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 +6 -0
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +2 -4
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.js +29 -6
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +6 -14
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addResource.js +23 -51
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/constants.js +2 -0
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +1 -3
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/init.js +9 -0
- package/build/plugins/solution/fx-solution/v3/init.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +8 -1
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provision.js +219 -16
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +96 -1
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +8 -13
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v3/scaffold.js +30 -52
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addModule.d.ts +2 -4
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/addModule.js +1 -1
- package/build/plugins/solution/spfx-solution/addModule.js.map +1 -1
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +2 -10
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/scaffold.js +3 -39
- package/build/plugins/solution/spfx-solution/scaffold.js.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.d.ts +12 -17
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -1
- package/build/plugins/solution/spfx-solution/solution.js +7 -7
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -1
- package/package.json +6 -7
- package/resource/strings.json +17 -7
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +1 -0
- package/templates/plugins/resource/apim/bicep/apimProvision.bicep +7 -5
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -0
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +12 -12
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
- package/templates/plugins/resource/bot/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +4 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -0
- package/templates/plugins/resource/function/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +15 -15
- package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +9 -7
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +2 -0
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +7 -7
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +8 -5
- package/templates/plugins/resource/webapp/bicep/config.template.bicep +10 -0
- package/templates/plugins/resource/webapp/bicep/provision.template.bicep +16 -0
- package/templates/plugins/resource/webapp/bicep/webappConfiguration.template.bicep +74 -0
- package/templates/plugins/resource/webapp/bicep/webappProvision.template.bicep +48 -0
- package/build/common/templates.d.ts.map +0 -1
- package/build/common/templates.js.map +0 -1
- package/build/common/templatesActions.d.ts.map +0 -1
- package/build/common/templatesActions.js.map +0 -1
- package/build/common/templatesUtils.d.ts.map +0 -1
- package/build/common/templatesUtils.js.map +0 -1
- package/build/core/middleware/projectUpgrader.d.ts +0 -6
- package/build/core/middleware/projectUpgrader.d.ts.map +0 -1
- package/build/core/middleware/projectUpgrader.js +0 -224
- package/build/core/middleware/projectUpgrader.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.d.ts +0 -75
- package/build/plugins/resource/frontend/blazor/constants.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/constants.js +0 -98
- package/build/plugins/resource/frontend/blazor/constants.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/enum.js +0 -39
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts +0 -8
- package/build/plugins/resource/frontend/blazor/ops/provision.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/ops/provision.js +0 -42
- package/build/plugins/resource/frontend/blazor/ops/provision.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.d.ts +0 -35
- package/build/plugins/resource/frontend/blazor/plugin.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/plugin.js +0 -190
- package/build/plugins/resource/frontend/blazor/plugin.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts +0 -41
- package/build/plugins/resource/frontend/blazor/resources/errors.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/errors.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/resources/messages.js.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts +0 -21
- package/build/plugins/resource/frontend/blazor/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js +0 -47
- package/build/plugins/resource/frontend/blazor/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.d.ts +0 -12
- package/build/plugins/resource/frontend/utils/azure-client.d.ts.map +0 -1
- package/build/plugins/resource/frontend/utils/azure-client.js +0 -29
- package/build/plugins/resource/frontend/utils/azure-client.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts +0 -9
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js +0 -55
- package/build/plugins/resource/function/utils/depsChecker/backendExtensionsInstall.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -54
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +0 -104
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +0 -84
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +0 -136
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts +0 -22
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js +0 -105
- package/build/plugins/resource/function/utils/depsChecker/cpUtils.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +0 -53
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +0 -387
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts +0 -14
- package/build/plugins/resource/function/utils/depsChecker/errors.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/errors.js +0 -41
- package/build/plugins/resource/function/utils/depsChecker/errors.js.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -26
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +0 -111
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/debug/util/process.js.map +0 -1
- package/resource/plugins/resource/function/dotnet-install.ps1 +0 -1095
- package/resource/plugins/resource/function/dotnet-install.sh +0 -1222
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Resources for web app
|
|
2
|
+
module webappProvision '\{{fx-resource-frontend-hosting.Provision.webapp.path}}' = {
|
|
3
|
+
name: 'webappProvision'
|
|
4
|
+
params: {
|
|
5
|
+
provisionParameters: provisionParameters
|
|
6
|
+
userAssignedIdentityId: userAssignedIdentityProvision.outputs.identityResourceId
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
output webappOutput object = {
|
|
11
|
+
teamsFxPluginId: 'fx-resource-frontend-hosting'
|
|
12
|
+
domain: webappProvision.outputs.domain
|
|
13
|
+
endpoint: webappProvision.outputs.endpoint
|
|
14
|
+
indexPath: webappProvision.outputs.indexPath
|
|
15
|
+
webAppResourceId: webappProvision.outputs.resourceId
|
|
16
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Auto generated content, please customize files under provision folder
|
|
2
|
+
|
|
3
|
+
@secure()
|
|
4
|
+
param provisionParameters object
|
|
5
|
+
param provisionOutputs object
|
|
6
|
+
@secure()
|
|
7
|
+
param currentAppSettings object
|
|
8
|
+
|
|
9
|
+
var webappName = split(provisionOutputs.webappOutput.value.webappResourceId, '/')[8]
|
|
10
|
+
|
|
11
|
+
var m365ClientId = provisionParameters['m365ClientId']
|
|
12
|
+
{{#if (contains "fx-resource-key-vault" plugins)}}
|
|
13
|
+
var m365ClientSecret = \{{fx-resource-key-vault.References.m365ClientSecretReference}}
|
|
14
|
+
{{else}}
|
|
15
|
+
var m365ClientSecret = provisionParameters['m365ClientSecret']
|
|
16
|
+
{{/if}}
|
|
17
|
+
|
|
18
|
+
var m365TenantId = provisionParameters['m365TenantId']
|
|
19
|
+
var m365OauthAuthorityHost = provisionParameters['m365OauthAuthorityHost']
|
|
20
|
+
var oauthAuthority = uri(m365OauthAuthorityHost, m365TenantId)
|
|
21
|
+
|
|
22
|
+
var webappDomain = provisionOutputs.webappOutput.value.domain
|
|
23
|
+
var webappEndpoint = provisionOutputs.webappOutput.value.endpoint
|
|
24
|
+
|
|
25
|
+
{{#if (contains "fx-resource-bot" plugins) }}
|
|
26
|
+
var botAadAppClientId = provisionParameters['botAadAppClientId']
|
|
27
|
+
{{#if (contains "fx-resource-key-vault" plugins) }}
|
|
28
|
+
var botAadAppClientSecret = \{{fx-resource-key-vault.References.botClientSecretReference}}
|
|
29
|
+
{{else}}
|
|
30
|
+
var botAadAppClientSecret = provisionParameters['botAadAppClientSecret']
|
|
31
|
+
{{/if}}
|
|
32
|
+
{{/if}}
|
|
33
|
+
|
|
34
|
+
{{#if (contains "fx-resource-bot" plugins) }}
|
|
35
|
+
var m365ApplicationIdUri = 'api://${webappDomain}/botid-${botAadAppClientId}'
|
|
36
|
+
{{else}}
|
|
37
|
+
var m365ApplicationIdUri = 'api://${webappDomain}/${m365ClientId}'
|
|
38
|
+
{{/if}}
|
|
39
|
+
var aadMetadataAddress = uri(m365OauthAuthorityHost, '${m365TenantId}/v2.0/.well-known/openid-configuration')
|
|
40
|
+
var initiateLoginEndpoint = uri(webappEndpoint, 'auth-start.html')
|
|
41
|
+
|
|
42
|
+
var teamsMobileOrDesktopAppClientId = '1fec8e78-bce4-4aaf-ab1b-5451cc387264'
|
|
43
|
+
var teamsWebAppClientId = '5e3ce6c0-2b1f-4285-8d4b-75ee78787346'
|
|
44
|
+
var officeWebAppClientId1 = '4345a7b9-9a63-4910-a426-35363201d503'
|
|
45
|
+
var officeWebAppClientId2 = '4765445b-32c6-49b0-83e6-1d93765276ca'
|
|
46
|
+
var outlookDesktopAppClientId = 'd3590ed6-52b3-4102-aeff-aad2292ab01c'
|
|
47
|
+
var outlookWebAppClientId = '00000002-0000-0ff1-ce00-000000000000'
|
|
48
|
+
var authorizedClientApplicationIds = '${teamsMobileOrDesktopAppClientId};${teamsWebAppClientId};${officeWebAppClientId1};${officeWebAppClientId2};${outlookDesktopAppClientId};${outlookWebAppClientId}'
|
|
49
|
+
|
|
50
|
+
resource appSettings 'Microsoft.Web/sites/config@2021-02-01' = {
|
|
51
|
+
name: '${webappName}/appsettings'
|
|
52
|
+
properties: union({
|
|
53
|
+
AAD_METADATA_ADDRESS: aadMetadataAddress
|
|
54
|
+
CLIENT_ID: m365ClientId
|
|
55
|
+
CLIENT_SECRET: m365ClientSecret
|
|
56
|
+
IDENTIFIER_URI: m365ApplicationIdUri
|
|
57
|
+
OAUTH_AUTHORITY: oauthAuthority
|
|
58
|
+
TAB_APP_ENDPOINT: webappEndpoint
|
|
59
|
+
TeamsFx__Authentication__ClientId: m365ClientId
|
|
60
|
+
TeamsFx__Authentication__InitiateLoginEndpoint: initiateLoginEndpoint
|
|
61
|
+
TeamsFx__Authentication__SimpleAuthEndpoint: webappEndpoint
|
|
62
|
+
ALLOWED_APP_IDS: authorizedClientApplicationIds
|
|
63
|
+
M365_TENANT_ID: m365TenantId
|
|
64
|
+
{{#if (contains "fx-resource-bot" plugins) }}
|
|
65
|
+
BOT_ID: botAadAppClientId
|
|
66
|
+
BOT_PASSWORD: botAadAppClientSecret
|
|
67
|
+
{{/if}}
|
|
68
|
+
{{#if (contains "fx-resource-azure-sql" plugins) }}
|
|
69
|
+
SQL_DATABASE_NAME: \{{fx-resource-azure-sql.References.databaseName}}
|
|
70
|
+
SQL_ENDPOINT: \{{fx-resource-azure-sql.References.sqlEndpoint}}
|
|
71
|
+
{{/if}}
|
|
72
|
+
IDENTITY_ID: \{{fx-resource-identity.References.identityClientId}}
|
|
73
|
+
}, currentAppSettings)
|
|
74
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@secure()
|
|
2
|
+
param provisionParameters object
|
|
3
|
+
param userAssignedIdentityId string
|
|
4
|
+
|
|
5
|
+
var resourceBaseName = provisionParameters.resourceBaseName
|
|
6
|
+
var serverFarmsName = contains(provisionParameters, 'webappServerfarmsName') ? provisionParameters['webappServerfarmsName'] : '${resourceBaseName}webapp'
|
|
7
|
+
var sku = contains(provisionParameters, 'webappServerfarmsSku') ? provisionParameters['webappServerfarmsSku'] : 'F1'
|
|
8
|
+
var webAppName = contains(provisionParameters, 'webappWebappName') ? provisionParameters['webappWebappName'] : '${resourceBaseName}webapp'
|
|
9
|
+
|
|
10
|
+
resource serverFarms 'Microsoft.Web/serverfarms@2021-02-01' = {
|
|
11
|
+
name: serverFarmsName
|
|
12
|
+
location: resourceGroup().location
|
|
13
|
+
sku: {
|
|
14
|
+
name: sku
|
|
15
|
+
}
|
|
16
|
+
kind: 'app'
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
resource webApp 'Microsoft.Web/sites@2021-02-01' = {
|
|
20
|
+
kind: 'app'
|
|
21
|
+
name: webAppName
|
|
22
|
+
location: resourceGroup().location
|
|
23
|
+
properties: {
|
|
24
|
+
serverFarmId: serverFarms.id
|
|
25
|
+
keyVaultReferenceIdentity: userAssignedIdentityId
|
|
26
|
+
siteConfig: {
|
|
27
|
+
appSettings: [
|
|
28
|
+
{
|
|
29
|
+
name: 'WEBSITE_RUN_FROM_PACKAGE'
|
|
30
|
+
value: '1'
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
identity: {
|
|
36
|
+
type: 'UserAssigned'
|
|
37
|
+
userAssignedIdentities: {
|
|
38
|
+
'${userAssignedIdentityId}': {}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
var siteDomain = webApp.properties.defaultHostName
|
|
44
|
+
|
|
45
|
+
output resourceId string = webApp.id
|
|
46
|
+
output endpoint string = 'https://${siteDomain}'
|
|
47
|
+
output domain string = siteDomain
|
|
48
|
+
output indexPath string = ''
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/common/templates.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,QAAiB,CAAC;AAC/C,eAAO,MAAM,SAAS,QAAmB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAAgD,CAAC;AACxE,eAAO,MAAM,UAAU,QAAoB,CAAC;AAE5C,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAK5D;AAED,eAAO,MAAM,WAAW,QAAS,MAAM,gBAAgB,MAAM,KAAG,MACA,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/common/templates.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,4DAA4B;AAC5B,4FAA6C;AAEhC,QAAA,gBAAgB,GAAG,+BAAM,CAAC,OAAO,CAAC;AAClC,QAAA,SAAS,GAAG,+BAAM,CAAC,SAAS,CAAC;AAC7B,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,EAAE,CAAC;AAC3D,QAAA,UAAU,GAAG,+BAAM,CAAC,UAAU,CAAC;AAE5C,SAAgB,SAAS,CAAC,IAAc;IACtC,MAAM,cAAc,GAAG,kBAAU,CAAC,CAAC,CAAC,SAAS,kBAAU,EAAE,CAAC,CAAC,CAAC,wBAAgB,CAAC;IAC7E,MAAM,WAAW,GAAG,IAAI,CAAC,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,OAAO,EAAE,CAAC;QAC7C,MAAM,SAAS,GAAW,aAAa;YACrC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE,YAAY,CAAC;YAC9C,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;QACpB,MAAM,SAAS,GAAoB,aAAa;YAC9C,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC;YACzC,CAAC,CAAC,YAAY,CAAC;QAEjB,MAAM,QAAQ,GAAW,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACvD,MAAM,OAAO,GAAW,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC/C,MAAM,kBAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC5B,MAAM,kBAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;KACzC;AACH,CAAC;AAtBD,sBAsBC;AAED,SAAgB,qBAAqB,CACnC,QAAgB,EAChB,IAAY,EACZ,SAAoC;IAEpC,IAAI,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,uBAAe,EAAE;QAC9C,OAAO,kBAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,CAAC,CAAC;KACpD;IACD,kIAAkI;IAClI,OAAO,IAAI,CAAC;AACd,CAAC;AAVD,sDAUC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Middleware } from "@feathersjs/hooks";
|
|
2
|
-
import { FxError, Result } from "@microsoft/teamsfx-api";
|
|
3
|
-
import { CoreHookContext } from "..";
|
|
4
|
-
export declare const ProjectUpgraderMW: Middleware;
|
|
5
|
-
export declare function upgradeContext(ctx: CoreHookContext): Promise<Result<undefined, FxError>>;
|
|
6
|
-
//# sourceMappingURL=projectUpgrader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectUpgrader.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/projectUpgrader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAIL,OAAO,EAKP,MAAM,EAEP,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAEL,eAAe,EAMhB,MAAM,IAAI,CAAC;AAuCZ,eAAO,MAAM,iBAAiB,EAAE,UAO/B,CAAC;AAGF,wBAAsB,cAAc,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAgG9F"}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.upgradeContext = exports.ProjectUpgraderMW = 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 __1 = require("..");
|
|
9
|
-
const __2 = require("../..");
|
|
10
|
-
const fileUtils_1 = require("../../common/fileUtils");
|
|
11
|
-
const telemetry_1 = require("../../common/telemetry");
|
|
12
|
-
const environment_1 = require("../environment");
|
|
13
|
-
const dotenv = tslib_1.__importStar(require("dotenv"));
|
|
14
|
-
const resourceContext = [
|
|
15
|
-
{
|
|
16
|
-
plugin: "fx-resource-aad-app-for-teams",
|
|
17
|
-
secret: "local_clientSecret",
|
|
18
|
-
relatedKeys: [
|
|
19
|
-
"local_clientId",
|
|
20
|
-
"local_objectId",
|
|
21
|
-
"local_oauth2PermissionScopeId",
|
|
22
|
-
"local_tenantId",
|
|
23
|
-
"local_applicationIdUris",
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
plugin: "fx-resource-bot",
|
|
28
|
-
secret: "localBotPassword",
|
|
29
|
-
relatedKeys: ["localBotId", "localObjectId", "local_redirectUri", "bots", "composeExtensions"],
|
|
30
|
-
},
|
|
31
|
-
];
|
|
32
|
-
const solutionContext = {
|
|
33
|
-
plugin: "solution",
|
|
34
|
-
relatedKeys: ["localDebugTeamsAppId", "teamsAppTenantId"],
|
|
35
|
-
};
|
|
36
|
-
const SolutionContextNotFoundError = "Failed to find solution context in env file.";
|
|
37
|
-
const ProjectUpgraderMW = async (ctx, next) => {
|
|
38
|
-
const res = await upgradeContext(ctx);
|
|
39
|
-
if (res.isErr()) {
|
|
40
|
-
ctx.result = res;
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
await next();
|
|
44
|
-
};
|
|
45
|
-
exports.ProjectUpgraderMW = ProjectUpgraderMW;
|
|
46
|
-
// This part is for update context and userdata file to support better local debug experience.
|
|
47
|
-
async function upgradeContext(ctx) {
|
|
48
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
49
|
-
const core = ctx.self;
|
|
50
|
-
const inputs = ctx.arguments[ctx.arguments.length - 1];
|
|
51
|
-
if (!inputs.projectPath) {
|
|
52
|
-
return teamsfx_api_1.err(__1.NoProjectOpenedError());
|
|
53
|
-
}
|
|
54
|
-
const projectPathExist = await fs.pathExists(inputs.projectPath);
|
|
55
|
-
if (!projectPathExist) {
|
|
56
|
-
return teamsfx_api_1.err(__1.PathNotExistError(inputs.projectPath));
|
|
57
|
-
}
|
|
58
|
-
const statesFolderPath = path.resolve(inputs.projectPath, `.${teamsfx_api_1.ConfigFolderName}`, teamsfx_api_1.StatesFolderName);
|
|
59
|
-
const defaultEnvName = environment_1.environmentManager.getDefaultEnvName();
|
|
60
|
-
const contextPath = path.resolve(statesFolderPath, teamsfx_api_1.EnvStateFileNameTemplate.replace("@envName", defaultEnvName));
|
|
61
|
-
const userDataPath = path.resolve(statesFolderPath, `${defaultEnvName}.userdata`);
|
|
62
|
-
// For the multi env scenario, state.{envName}.json and {envName}.userdata are not created when scaffolding
|
|
63
|
-
// These projects must be the new projects, so skip upgrading.
|
|
64
|
-
try {
|
|
65
|
-
await Promise.all([fs.stat(contextPath), fs.stat(userDataPath)]);
|
|
66
|
-
}
|
|
67
|
-
catch (error) {
|
|
68
|
-
return teamsfx_api_1.ok(undefined);
|
|
69
|
-
}
|
|
70
|
-
let context = {};
|
|
71
|
-
let userData = {};
|
|
72
|
-
try {
|
|
73
|
-
// Read context and userdata file.
|
|
74
|
-
context = await readContext(contextPath);
|
|
75
|
-
userData = await readUserData(userDataPath);
|
|
76
|
-
if (!context || !userData) {
|
|
77
|
-
// Do nothing if file does not exist.
|
|
78
|
-
return teamsfx_api_1.ok(undefined);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (error) {
|
|
82
|
-
const errorObject = __1.ReadFileError(error);
|
|
83
|
-
(_b = (_a = core === null || core === void 0 ? void 0 : core.tools) === null || _a === void 0 ? void 0 : _a.logProvider) === null || _b === void 0 ? void 0 : _b.info(errorObject.message);
|
|
84
|
-
telemetry_1.sendTelemetryErrorEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ProjectUpgrade, errorObject);
|
|
85
|
-
return teamsfx_api_1.err(errorObject);
|
|
86
|
-
}
|
|
87
|
-
try {
|
|
88
|
-
// Update value of specific key in context file to secret pattern.
|
|
89
|
-
// Return: map of updated values.
|
|
90
|
-
const updatedKeys = updateContextValue(context);
|
|
91
|
-
if (!updatedKeys || updatedKeys.size == 0) {
|
|
92
|
-
// No keys need to be updated, which means the file is up-to-date.
|
|
93
|
-
// Can quit directly.
|
|
94
|
-
return teamsfx_api_1.ok(undefined);
|
|
95
|
-
}
|
|
96
|
-
// Some keys updated. Send start telemetry.
|
|
97
|
-
telemetry_1.sendTelemetryEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ProjectUpgradeStart);
|
|
98
|
-
// Merge updatedKeys into UserData.
|
|
99
|
-
mergeKeysToUserDate(userData, updatedKeys);
|
|
100
|
-
}
|
|
101
|
-
catch (error) {
|
|
102
|
-
const errorObject = __1.ContextUpgradeError(error, error.message == SolutionContextNotFoundError);
|
|
103
|
-
(_d = (_c = core === null || core === void 0 ? void 0 : core.tools) === null || _c === void 0 ? void 0 : _c.logProvider) === null || _d === void 0 ? void 0 : _d.info(`Template upgrade failed. Please clean the env.default.json and default.userdata file and try again. Reason: ${error === null || error === void 0 ? void 0 : error.message}`);
|
|
104
|
-
telemetry_1.sendTelemetryErrorEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ProjectUpgrade, errorObject);
|
|
105
|
-
return teamsfx_api_1.err(errorObject);
|
|
106
|
-
}
|
|
107
|
-
try {
|
|
108
|
-
// Save the updated context and UserData.
|
|
109
|
-
await saveContext(contextPath, context);
|
|
110
|
-
await saveUserData(userDataPath, userData);
|
|
111
|
-
}
|
|
112
|
-
catch (error) {
|
|
113
|
-
const errorObject = __1.WriteFileError(error);
|
|
114
|
-
(_f = (_e = core === null || core === void 0 ? void 0 : core.tools) === null || _e === void 0 ? void 0 : _e.logProvider) === null || _f === void 0 ? void 0 : _f.info(errorObject.message);
|
|
115
|
-
telemetry_1.sendTelemetryErrorEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ProjectUpgrade, errorObject);
|
|
116
|
-
return teamsfx_api_1.err(errorObject);
|
|
117
|
-
}
|
|
118
|
-
// Send log.
|
|
119
|
-
(_h = (_g = core === null || core === void 0 ? void 0 : core.tools) === null || _g === void 0 ? void 0 : _g.logProvider) === null || _h === void 0 ? void 0 : _h.info("[core]: template version is too low. Updated context and moved some configs from env to userdata.");
|
|
120
|
-
telemetry_1.sendTelemetryEvent(telemetry_1.Component.core, telemetry_1.TelemetryEvent.ProjectUpgrade, {
|
|
121
|
-
[telemetry_1.TelemetryProperty.Success]: telemetry_1.TelemetrySuccess.Yes,
|
|
122
|
-
});
|
|
123
|
-
return teamsfx_api_1.ok(undefined);
|
|
124
|
-
}
|
|
125
|
-
exports.upgradeContext = upgradeContext;
|
|
126
|
-
// TODO: add readUserData as basic API in core since used in multiple places.
|
|
127
|
-
async function readUserData(userDataPath) {
|
|
128
|
-
let dict = {};
|
|
129
|
-
if (!(await fs.pathExists(userDataPath))) {
|
|
130
|
-
return undefined;
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
const dictContent = await fs.readFile(userDataPath, "UTF-8");
|
|
134
|
-
dict = dotenv.parse(dictContent);
|
|
135
|
-
}
|
|
136
|
-
return dict;
|
|
137
|
-
}
|
|
138
|
-
// TODO: add saveUserData as basic API in core since used in multiple places.
|
|
139
|
-
async function saveUserData(userDataPath, userData) {
|
|
140
|
-
await fs.writeFile(userDataPath, __2.serializeDict(userData));
|
|
141
|
-
}
|
|
142
|
-
async function readContext(contextPath) {
|
|
143
|
-
if (!(await fs.pathExists(contextPath))) {
|
|
144
|
-
return undefined;
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
const configJson = await fileUtils_1.readJson(contextPath);
|
|
148
|
-
return configJson;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
async function saveContext(contextPath, context) {
|
|
152
|
-
await fs.writeFile(contextPath, JSON.stringify(context, null, 4));
|
|
153
|
-
}
|
|
154
|
-
function updateContextValue(context) {
|
|
155
|
-
const res = new Map();
|
|
156
|
-
// Update solution context.
|
|
157
|
-
const pluginContext = context[solutionContext.plugin];
|
|
158
|
-
if (!pluginContext) {
|
|
159
|
-
throw new Error(SolutionContextNotFoundError);
|
|
160
|
-
}
|
|
161
|
-
for (const key of solutionContext.relatedKeys) {
|
|
162
|
-
if (pluginContext[key] && !isSecretPattern(pluginContext[key])) {
|
|
163
|
-
res.set(getUserDataKey(solutionContext.plugin, key), pluginContext[key]);
|
|
164
|
-
pluginContext[key] = getSecretPattern(solutionContext.plugin, key);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
// Update resource context.
|
|
168
|
-
for (const item of resourceContext) {
|
|
169
|
-
const pluginContext = context[item.plugin];
|
|
170
|
-
if (!pluginContext) {
|
|
171
|
-
continue;
|
|
172
|
-
}
|
|
173
|
-
for (const key of item.relatedKeys) {
|
|
174
|
-
// Save value to res and update value to secret pattern if value is not in secret pattern.
|
|
175
|
-
if (pluginContext[key] && !isSecretPattern(pluginContext[key])) {
|
|
176
|
-
res.set(getUserDataKey(item.plugin, key), pluginContext[key]);
|
|
177
|
-
pluginContext[key] = getSecretPattern(item.plugin, key);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return res;
|
|
182
|
-
}
|
|
183
|
-
function mergeKeysToUserDate(userData, updatedKeys) {
|
|
184
|
-
if (!userData) {
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
// Move resource context first to userdata
|
|
188
|
-
let moved = false;
|
|
189
|
-
for (const item of resourceContext) {
|
|
190
|
-
// Check whether corresponding secret exists.
|
|
191
|
-
if (!userData[getUserDataKey(item.plugin, item.secret)]) {
|
|
192
|
-
continue;
|
|
193
|
-
}
|
|
194
|
-
for (const key of item.relatedKeys) {
|
|
195
|
-
const userDataKey = getUserDataKey(item.plugin, key);
|
|
196
|
-
// Merge will only happen when userData does not contain certain key.
|
|
197
|
-
// Otherwise, value in userData will be regarded as source of truth.
|
|
198
|
-
if (!userData[userDataKey] && updatedKeys.has(userDataKey)) {
|
|
199
|
-
moved = true;
|
|
200
|
-
userData[userDataKey] = updatedKeys.get(userDataKey);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
// If any key moved, means at least one secret exists.
|
|
205
|
-
// Move solution context.
|
|
206
|
-
if (moved) {
|
|
207
|
-
for (const key of solutionContext.relatedKeys) {
|
|
208
|
-
const userDataKey = getUserDataKey(solutionContext.plugin, key);
|
|
209
|
-
if (!userData[userDataKey] && updatedKeys.has(userDataKey)) {
|
|
210
|
-
userData[userDataKey] = updatedKeys.get(userDataKey);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
function getUserDataKey(plugin, key) {
|
|
216
|
-
return `${plugin}.${key}`;
|
|
217
|
-
}
|
|
218
|
-
function isSecretPattern(value) {
|
|
219
|
-
return value.startsWith("{{") && value.endsWith("}}");
|
|
220
|
-
}
|
|
221
|
-
function getSecretPattern(plugin, key) {
|
|
222
|
-
return `{{${getUserDataKey(plugin, key)}}}`;
|
|
223
|
-
}
|
|
224
|
-
//# sourceMappingURL=projectUpgrader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectUpgrader.js","sourceRoot":"","sources":["../../../src/core/middleware/projectUpgrader.ts"],"names":[],"mappings":";;;;AACA,wDAWgC;AAChC,qDAA+B;AAC/B,mDAA6B;AAC7B,0BAQY;AACZ,6BAAsC;AACtC,sDAAkD;AAClD,sDAOgC;AAChC,gDAAoD;AACpD,uDAAiC;AACjC,MAAM,eAAe,GAAG;IACtB;QACE,MAAM,EAAE,+BAA+B;QACvC,MAAM,EAAE,oBAAoB;QAC5B,WAAW,EAAE;YACX,gBAAgB;YAChB,gBAAgB;YAChB,+BAA+B;YAC/B,gBAAgB;YAChB,yBAAyB;SAC1B;KACF;IACD;QACE,MAAM,EAAE,iBAAiB;QACzB,MAAM,EAAE,kBAAkB;QAC1B,WAAW,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,CAAC;KAC/F;CACF,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;CAC1D,CAAC;AAEF,MAAM,4BAA4B,GAAG,8CAA8C,CAAC;AAE7E,MAAM,iBAAiB,GAAe,KAAK,EAAE,GAAoB,EAAE,IAAkB,EAAE,EAAE;IAC9F,MAAM,GAAG,GAAG,MAAM,cAAc,CAAC,GAAG,CAAC,CAAC;IACtC,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;QACf,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;QACjB,OAAO;KACR;I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C,WAAW,EAAE;YAClC,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YACrD,qEAAqE;YACrE,oEAAoE;YACpE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;gBAC1D,KAAK,GAAG,IAAI,CAAC;gBACb,QAAQ,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;aACtD;SACF;KACF;IAED,sDAAsD;IACtD,yBAAyB;IACzB,IAAI,KAAK,EAAE;QACT,KAAK,MAAM,GAAG,IAAI,eAAe,CAAC,WAAW,EAAE;YAC7C,MAAM,WAAW,GAAG,cAAc,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAChE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;gBAC1D,QAAQ,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;aACtD;SACF;KACF;AACH,CAAC;AAED,SAAS,cAAc,CAAC,MAAc,EAAE,GAAW;IACjD,OAAO,GAAG,MAAM,IAAI,GAAG,EAAE,CAAC;AAC5B,CAAC;AAED,SAAS,eAAe,CAAC,KAAa;IACpC,OAAO,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC;AAED,SAAS,gBAAgB,CAAC,MAAc,EAAE,GAAW;IACnD,OAAO,KAAK,cAAc,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC;AAC9C,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export declare class Constants {
|
|
2
|
-
static readonly emptyString = "";
|
|
3
|
-
}
|
|
4
|
-
export declare class AzureInfo {
|
|
5
|
-
static readonly webappNameLenMax = 24;
|
|
6
|
-
static readonly suffixLenMax = 12;
|
|
7
|
-
static readonly zipDeployURL: (appName: string) => string;
|
|
8
|
-
static readonly aadMetadataAddress: (tenantId: string) => string;
|
|
9
|
-
}
|
|
10
|
-
export declare class RegularExpr {
|
|
11
|
-
static readonly allCharToBeSkippedInName: RegExp;
|
|
12
|
-
static readonly targetFramework: RegExp;
|
|
13
|
-
}
|
|
14
|
-
export declare class DefaultProvisionConfigs {
|
|
15
|
-
static readonly appServicePlansConfig: (location: string) => {
|
|
16
|
-
location: string;
|
|
17
|
-
kind: string;
|
|
18
|
-
sku: {
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
static readonly webAppConfig: (location: string) => {
|
|
23
|
-
kind: string;
|
|
24
|
-
location: string;
|
|
25
|
-
sku: {
|
|
26
|
-
name: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export declare class BlazorPluginInfo {
|
|
31
|
-
static readonly pluginName = "fx-resource-blazor";
|
|
32
|
-
static readonly displayName = "Blazor";
|
|
33
|
-
static readonly alias = "bz";
|
|
34
|
-
static readonly issueLink = "https://github.com/OfficeDev/TeamsFx/issues/new";
|
|
35
|
-
static readonly helpLink = "https://aka.ms/teamsfx-bz-help";
|
|
36
|
-
static readonly persistentConfig: string[];
|
|
37
|
-
static readonly defaultFramework = "net6.0";
|
|
38
|
-
static readonly defaultRuntime = "win-x86";
|
|
39
|
-
}
|
|
40
|
-
export declare class BlazorPathInfo {
|
|
41
|
-
static readonly publishFolderPath: (workingPath: string, framework?: string, runtime?: string) => string;
|
|
42
|
-
}
|
|
43
|
-
export declare class BlazorCommands {
|
|
44
|
-
static readonly buildRelease: (runtime: string) => string;
|
|
45
|
-
}
|
|
46
|
-
export declare class DependentPluginInfo {
|
|
47
|
-
static readonly solutionPluginName = "solution";
|
|
48
|
-
static readonly subscriptionId = "subscriptionId";
|
|
49
|
-
static readonly resourceGroupName = "resourceGroupName";
|
|
50
|
-
static readonly resourceNameSuffix = "resourceNameSuffix";
|
|
51
|
-
static readonly location = "location";
|
|
52
|
-
static readonly remoteTeamsAppId = "remoteTeamsAppId";
|
|
53
|
-
static readonly functionPluginName = "fx-resource-function";
|
|
54
|
-
static readonly functionEndpoint = "functionEndpoint";
|
|
55
|
-
static readonly runtimePluginName = "fx-resource-simple-auth";
|
|
56
|
-
static readonly runtimeEndpoint = "endpoint";
|
|
57
|
-
static readonly startLoginPageURL = "auth-start.html";
|
|
58
|
-
static readonly aadPluginName = "fx-resource-aad-app-for-teams";
|
|
59
|
-
static readonly clientID = "clientId";
|
|
60
|
-
static readonly tenantId = "tenantId";
|
|
61
|
-
static readonly aadClientSecret = "clientSecret";
|
|
62
|
-
static readonly oauthHost = "oauthHost";
|
|
63
|
-
static readonly applicationIdUris = "applicationIdUris";
|
|
64
|
-
static readonly botPluginName = "fx-resource-bot";
|
|
65
|
-
static readonly botId = "botId";
|
|
66
|
-
static readonly botPassword = "botPassword";
|
|
67
|
-
}
|
|
68
|
-
export declare class BlazorConfigInfo {
|
|
69
|
-
static readonly webAppName = "webAppName";
|
|
70
|
-
static readonly appServicePlanName = "appServicePlanName";
|
|
71
|
-
static readonly webAppEndpoint = "endpoint";
|
|
72
|
-
static readonly webAppDomain = "domain";
|
|
73
|
-
static readonly projectFilePath = "projectFilePath";
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/blazor/constants.ts"],"names":[],"mappings":"AAKA,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,WAAW,MAAM;CAClC;AAED,qBAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,CAAC,gBAAgB,MAAM;IACtC,MAAM,CAAC,QAAQ,CAAC,YAAY,MAAM;IAClC,MAAM,CAAC,QAAQ,CAAC,YAAY,YAAa,MA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gB,sBAAsB;IAEtD,MAAM,CAAC,QAAQ,CAAC,kBAAkB,0BAA0B;IAC5D,MAAM,CAAC,QAAQ,CAAC,gBAAgB,sBAAsB;IAEtD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,6BAA6B;IAC9D,MAAM,CAAC,QAAQ,CAAC,eAAe,cAAc;IAC7C,MAAM,CAAC,QAAQ,CAAC,iBAAiB,qBAAqB;IAEtD,MAAM,CAAC,QAAQ,CAAC,aAAa,mCAAmC;IAChE,MAAM,CAAC,QAAQ,CAAC,QAAQ,cAAc;IACtC,MAAM,CAAC,QAAQ,CAAC,QAAQ,cAAc;IACtC,MAAM,CAAC,QAAQ,CAAC,eAAe,kBAAkB;IACjD,MAAM,CAAC,QAAQ,CAAC,SAAS,eAAe;IACxC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,uBAAuB;IAExD,MAAM,CAAC,QAAQ,CAAC,aAAa,qBAAqB;IAClD,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAW;IAChC,MAAM,CAAC,QAAQ,CAAC,WAAW,iBAAiB;CAC7C;AAED,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,UAAU,gBAAgB;IAC1C,MAAM,CAAC,QAAQ,CAAC,kBAAkB,wBAAwB;IAC1D,MAAM,CAAC,QAAQ,CAAC,cAAc,cAAc;IAC5C,MAAM,CAAC,QAAQ,CAAC,YAAY,YAAY;IACxC,MAAM,CAAC,QAAQ,CAAC,eAAe,qBAAqB;CACrD"}
|
|
@@ -1,98 +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.BlazorConfigInfo = exports.DependentPluginInfo = exports.BlazorCommands = exports.BlazorPathInfo = exports.BlazorPluginInfo = exports.DefaultProvisionConfigs = exports.RegularExpr = exports.AzureInfo = exports.Constants = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
-
class Constants {
|
|
9
|
-
}
|
|
10
|
-
exports.Constants = Constants;
|
|
11
|
-
Constants.emptyString = "";
|
|
12
|
-
class AzureInfo {
|
|
13
|
-
}
|
|
14
|
-
exports.AzureInfo = AzureInfo;
|
|
15
|
-
AzureInfo.webappNameLenMax = 24;
|
|
16
|
-
AzureInfo.suffixLenMax = 12;
|
|
17
|
-
AzureInfo.zipDeployURL = (appName) => `https://${appName}.scm.azurewebsites.net/api/zipdeploy`;
|
|
18
|
-
// TODO: static readonly requiredResourceProviders = ["Microsoft.Web"];
|
|
19
|
-
AzureInfo.aadMetadataAddress = (tenantId) => `https://login.microsoftonline.com/${tenantId}/v2.0/.well-known/openid-configuration`;
|
|
20
|
-
class RegularExpr {
|
|
21
|
-
}
|
|
22
|
-
exports.RegularExpr = RegularExpr;
|
|
23
|
-
RegularExpr.allCharToBeSkippedInName = /[^a-zA-Z0-9]/g;
|
|
24
|
-
RegularExpr.targetFramework = /(?<=<TargetFramework>)(.*)(?=<)/gim;
|
|
25
|
-
class DefaultProvisionConfigs {
|
|
26
|
-
}
|
|
27
|
-
exports.DefaultProvisionConfigs = DefaultProvisionConfigs;
|
|
28
|
-
DefaultProvisionConfigs.appServicePlansConfig = (location) => ({
|
|
29
|
-
location: location,
|
|
30
|
-
kind: "app",
|
|
31
|
-
sku: {
|
|
32
|
-
name: "B1",
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
DefaultProvisionConfigs.webAppConfig = (location) => ({
|
|
36
|
-
kind: "app",
|
|
37
|
-
location: location,
|
|
38
|
-
sku: {
|
|
39
|
-
name: "B1",
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
class BlazorPluginInfo {
|
|
43
|
-
}
|
|
44
|
-
exports.BlazorPluginInfo = BlazorPluginInfo;
|
|
45
|
-
BlazorPluginInfo.pluginName = "fx-resource-blazor";
|
|
46
|
-
BlazorPluginInfo.displayName = "Blazor";
|
|
47
|
-
BlazorPluginInfo.alias = "bz";
|
|
48
|
-
BlazorPluginInfo.issueLink = "https://github.com/OfficeDev/TeamsFx/issues/new";
|
|
49
|
-
BlazorPluginInfo.helpLink = "https://aka.ms/teamsfx-bz-help";
|
|
50
|
-
BlazorPluginInfo.persistentConfig = [
|
|
51
|
-
"webAppName",
|
|
52
|
-
"appServicePlanName",
|
|
53
|
-
"endpoint",
|
|
54
|
-
"domain",
|
|
55
|
-
"projectFilePath",
|
|
56
|
-
];
|
|
57
|
-
BlazorPluginInfo.defaultFramework = "net6.0";
|
|
58
|
-
BlazorPluginInfo.defaultRuntime = "win-x86";
|
|
59
|
-
class BlazorPathInfo {
|
|
60
|
-
}
|
|
61
|
-
exports.BlazorPathInfo = BlazorPathInfo;
|
|
62
|
-
BlazorPathInfo.publishFolderPath = (workingPath, framework = BlazorPluginInfo.defaultFramework, runtime = BlazorPluginInfo.defaultRuntime) => path_1.default.join(workingPath, "bin", "Release", framework, runtime, "publish");
|
|
63
|
-
class BlazorCommands {
|
|
64
|
-
}
|
|
65
|
-
exports.BlazorCommands = BlazorCommands;
|
|
66
|
-
BlazorCommands.buildRelease = (runtime) => `dotnet publish --configuration Release --runtime ${runtime} --self-contained`;
|
|
67
|
-
class DependentPluginInfo {
|
|
68
|
-
}
|
|
69
|
-
exports.DependentPluginInfo = DependentPluginInfo;
|
|
70
|
-
DependentPluginInfo.solutionPluginName = "solution";
|
|
71
|
-
DependentPluginInfo.subscriptionId = "subscriptionId";
|
|
72
|
-
DependentPluginInfo.resourceGroupName = "resourceGroupName";
|
|
73
|
-
DependentPluginInfo.resourceNameSuffix = "resourceNameSuffix";
|
|
74
|
-
DependentPluginInfo.location = "location";
|
|
75
|
-
DependentPluginInfo.remoteTeamsAppId = "remoteTeamsAppId";
|
|
76
|
-
DependentPluginInfo.functionPluginName = "fx-resource-function";
|
|
77
|
-
DependentPluginInfo.functionEndpoint = "functionEndpoint";
|
|
78
|
-
DependentPluginInfo.runtimePluginName = "fx-resource-simple-auth";
|
|
79
|
-
DependentPluginInfo.runtimeEndpoint = "endpoint";
|
|
80
|
-
DependentPluginInfo.startLoginPageURL = "auth-start.html";
|
|
81
|
-
DependentPluginInfo.aadPluginName = "fx-resource-aad-app-for-teams";
|
|
82
|
-
DependentPluginInfo.clientID = "clientId";
|
|
83
|
-
DependentPluginInfo.tenantId = "tenantId";
|
|
84
|
-
DependentPluginInfo.aadClientSecret = "clientSecret";
|
|
85
|
-
DependentPluginInfo.oauthHost = "oauthHost";
|
|
86
|
-
DependentPluginInfo.applicationIdUris = "applicationIdUris";
|
|
87
|
-
DependentPluginInfo.botPluginName = "fx-resource-bot";
|
|
88
|
-
DependentPluginInfo.botId = "botId";
|
|
89
|
-
DependentPluginInfo.botPassword = "botPassword";
|
|
90
|
-
class BlazorConfigInfo {
|
|
91
|
-
}
|
|
92
|
-
exports.BlazorConfigInfo = BlazorConfigInfo;
|
|
93
|
-
BlazorConfigInfo.webAppName = "webAppName";
|
|
94
|
-
BlazorConfigInfo.appServicePlanName = "appServicePlanName";
|
|
95
|
-
BlazorConfigInfo.webAppEndpoint = "endpoint";
|
|
96
|
-
BlazorConfigInfo.webAppDomain = "domain";
|
|
97
|
-
BlazorConfigInfo.projectFilePath = "projectFilePath";
|
|
98
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/plugins/resource/frontend/blazor/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAAwB;AAExB,MAAa,SAAS;;AAAtB,8BAEC;AADiB,qBAAW,GAAG,EAAE,CAAC;AAGnC,MAAa,SAAS;;AAAtB,8BAQC;AAPiB,0BAAgB,GAAG,EAAE,CAAC;AACtB,sBAAY,GAAG,EAAE,CAAC;AAClB,sBAAY,GAAG,CAAC,OAAe,EAAE,EAAE,CACjD,WAAW,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