@microsoft/teamsfx-core 1.1.2 → 1.1.3-alpha.12edbb86.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 +1 -1
- package/build/common/armInterface.d.ts.map +1 -1
- package/build/common/constants.d.ts +3 -2
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +3 -2
- package/build/common/constants.js.map +1 -1
- package/build/common/deps-checker/checkerFactory.d.ts +8 -0
- package/build/common/deps-checker/checkerFactory.d.ts.map +1 -0
- package/build/common/deps-checker/checkerFactory.js +32 -0
- package/build/common/deps-checker/checkerFactory.js.map +1 -0
- package/build/common/deps-checker/constant/helpLink.d.ts +11 -0
- package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -0
- package/build/common/deps-checker/constant/helpLink.js +16 -0
- package/build/common/deps-checker/constant/helpLink.js.map +1 -0
- package/build/common/deps-checker/constant/index.d.ts +4 -0
- package/build/common/deps-checker/constant/index.d.ts.map +1 -0
- package/build/common/deps-checker/constant/index.js +9 -0
- package/build/common/deps-checker/constant/index.js.map +1 -0
- package/build/common/deps-checker/constant/message.d.ts +29 -0
- package/build/common/deps-checker/constant/message.d.ts.map +1 -0
- package/build/common/deps-checker/constant/message.js +57 -0
- package/build/common/deps-checker/constant/message.js.map +1 -0
- package/build/common/deps-checker/constant/telemetry.d.ts +43 -0
- package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -0
- package/build/common/deps-checker/constant/telemetry.js +51 -0
- package/build/common/deps-checker/constant/telemetry.js.map +1 -0
- package/build/common/deps-checker/depsChecker.d.ts +25 -0
- package/build/common/deps-checker/depsChecker.d.ts.map +1 -0
- package/build/common/deps-checker/depsChecker.js +13 -0
- package/build/common/deps-checker/depsChecker.js.map +1 -0
- package/build/common/deps-checker/depsError.d.ts +17 -0
- package/build/common/deps-checker/depsError.d.ts.map +1 -0
- package/build/common/deps-checker/depsError.js +42 -0
- package/build/common/deps-checker/depsError.js.map +1 -0
- package/build/common/deps-checker/depsLogger.d.ts +11 -0
- package/build/common/deps-checker/depsLogger.d.ts.map +1 -0
- package/build/common/deps-checker/depsLogger.js +5 -0
- package/build/common/deps-checker/depsLogger.js.map +1 -0
- package/build/common/deps-checker/depsManager.d.ts +36 -0
- package/build/common/deps-checker/depsManager.d.ts.map +1 -0
- package/build/common/deps-checker/depsManager.js +80 -0
- package/build/common/deps-checker/depsManager.js.map +1 -0
- package/build/common/deps-checker/depsTelemetry.d.ts +10 -0
- package/build/common/deps-checker/depsTelemetry.d.ts.map +1 -0
- package/build/common/deps-checker/depsTelemetry.js +5 -0
- package/build/common/deps-checker/depsTelemetry.js.map +1 -0
- package/build/common/deps-checker/index.d.ts +9 -0
- package/build/common/deps-checker/index.d.ts.map +1 -0
- package/build/common/deps-checker/index.js +14 -0
- package/build/common/deps-checker/index.js.map +1 -0
- package/build/common/deps-checker/internal/dotnetChecker.d.ts +50 -0
- package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/dotnetChecker.js +406 -0
- package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -0
- package/build/common/deps-checker/internal/funcToolChecker.d.ts +40 -0
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/funcToolChecker.js +280 -0
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -0
- package/build/common/deps-checker/internal/ngrokChecker.d.ts +28 -0
- package/build/common/deps-checker/internal/ngrokChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/ngrokChecker.js +181 -0
- package/build/common/deps-checker/internal/ngrokChecker.js.map +1 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts +40 -0
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -0
- package/build/common/deps-checker/internal/nodeChecker.js +144 -0
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -0
- package/build/common/deps-checker/util/cpUtils.d.ts +24 -0
- package/build/common/deps-checker/util/cpUtils.d.ts.map +1 -0
- package/build/common/deps-checker/util/cpUtils.js +99 -0
- package/build/common/deps-checker/util/cpUtils.js.map +1 -0
- 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/deps-checker/util/progressIndicator.d.ts +3 -0
- package/build/common/deps-checker/util/progressIndicator.d.ts.map +1 -0
- package/build/common/deps-checker/util/progressIndicator.js +18 -0
- package/build/common/deps-checker/util/progressIndicator.js.map +1 -0
- package/build/common/deps-checker/util/system.d.ts +5 -0
- package/build/common/deps-checker/util/system.d.ts.map +1 -0
- package/build/common/deps-checker/util/system.js +24 -0
- package/build/common/deps-checker/util/system.js.map +1 -0
- package/build/common/index.d.ts +4 -0
- package/build/common/index.d.ts.map +1 -1
- package/build/common/index.js +4 -0
- package/build/common/index.js.map +1 -1
- package/build/common/local/constants.d.ts +115 -0
- package/build/common/local/constants.d.ts.map +1 -0
- package/build/common/local/constants.js +122 -0
- package/build/common/local/constants.js.map +1 -0
- package/build/common/local/depsAdapter.d.ts +27 -0
- package/build/common/local/depsAdapter.d.ts.map +1 -0
- package/build/common/local/depsAdapter.js +86 -0
- package/build/common/local/depsAdapter.js.map +1 -0
- package/build/common/local/localEnvManager.d.ts +24 -0
- package/build/common/local/localEnvManager.d.ts.map +1 -0
- package/build/common/local/localEnvManager.js +113 -0
- package/build/common/local/localEnvManager.js.map +1 -0
- package/build/{plugins/resource/localdebug/localEnvMulti.d.ts → common/local/localEnvProvider.d.ts} +5 -4
- package/build/common/local/localEnvProvider.d.ts.map +1 -0
- package/build/{plugins/resource/localdebug/localEnvMulti.js → common/local/localEnvProvider.js} +19 -15
- package/build/common/local/localEnvProvider.js.map +1 -0
- package/build/common/local/localSettingsHelper.d.ts +3 -0
- package/build/common/local/localSettingsHelper.d.ts.map +1 -0
- package/build/common/local/localSettingsHelper.js +133 -0
- package/build/common/local/localSettingsHelper.js.map +1 -0
- package/build/common/local/npmLogHelper.d.ts +11 -0
- package/build/common/local/npmLogHelper.d.ts.map +1 -0
- package/build/common/local/npmLogHelper.js +82 -0
- package/build/common/local/npmLogHelper.js.map +1 -0
- package/build/common/local/packageJsonHelper.d.ts +4 -0
- package/build/common/local/packageJsonHelper.d.ts.map +1 -0
- package/build/common/local/packageJsonHelper.js +36 -0
- package/build/common/local/packageJsonHelper.js.map +1 -0
- package/build/common/local/portChecker.d.ts +3 -0
- package/build/common/local/portChecker.d.ts.map +1 -0
- package/build/common/local/portChecker.js +104 -0
- package/build/common/local/portChecker.js.map +1 -0
- package/build/common/local/projectSettingsHelper.d.ts +11 -0
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -0
- package/build/common/local/projectSettingsHelper.js +37 -0
- package/build/common/local/projectSettingsHelper.js.map +1 -0
- package/build/common/local/taskDefinition.d.ts +37 -0
- package/build/common/local/taskDefinition.d.ts.map +1 -0
- package/build/common/local/taskDefinition.js +231 -0
- package/build/common/local/taskDefinition.js.map +1 -0
- package/build/common/localSettingsProvider.d.ts +3 -3
- package/build/common/localSettingsProvider.d.ts.map +1 -1
- package/build/common/localSettingsProvider.js +12 -10
- package/build/common/localSettingsProvider.js.map +1 -1
- package/build/common/samples-config.json +14 -0
- package/build/common/templatesActions.d.ts +2 -0
- package/build/common/templatesActions.d.ts.map +1 -1
- package/build/common/templatesActions.js +33 -1
- package/build/common/templatesActions.js.map +1 -1
- package/build/common/tools.d.ts +11 -5
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +35 -85
- package/build/common/tools.js.map +1 -1
- package/build/core/SolutionPluginContainer.d.ts +2 -1
- package/build/core/SolutionPluginContainer.d.ts.map +1 -1
- package/build/core/SolutionPluginContainer.js +9 -1
- package/build/core/SolutionPluginContainer.js.map +1 -1
- package/build/core/dependencyChecker.d.ts +1 -0
- package/build/core/dependencyChecker.d.ts.map +1 -0
- package/build/core/dependencyChecker.js +2 -0
- package/build/core/dependencyChecker.js.map +1 -0
- package/build/core/downloadSample.d.ts +9 -0
- package/build/core/downloadSample.d.ts.map +1 -0
- package/build/core/downloadSample.js +150 -0
- package/build/core/downloadSample.js.map +1 -0
- package/build/core/environment.d.ts +5 -5
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +40 -25
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +2 -1
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +7 -3
- package/build/core/error.js.map +1 -1
- package/build/core/index.d.ts +54 -15
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +693 -575
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +23 -12
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts +5 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +52 -46
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts +3 -0
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoLoaderV3.js +64 -0
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -0
- package/build/core/middleware/envInfoWriter.js +14 -31
- package/build/core/middleware/envInfoWriter.js.map +1 -1
- package/build/core/middleware/envInfoWriterV3.d.ts +6 -0
- package/build/core/middleware/envInfoWriterV3.d.ts.map +1 -0
- package/build/core/middleware/envInfoWriterV3.js +63 -0
- package/build/core/middleware/envInfoWriterV3.js.map +1 -0
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +3 -5
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/localSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/localSettingsLoader.js +1 -2
- 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 +7 -18
- package/build/core/middleware/localSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectMigrator.d.ts.map +1 -1
- package/build/core/middleware/projectMigrator.js +25 -57
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +3 -6
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsLoaderV3.d.ts +4 -0
- package/build/core/middleware/projectSettingsLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/projectSettingsLoaderV3.js +49 -0
- package/build/core/middleware/projectSettingsLoaderV3.js.map +1 -0
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +5 -12
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/projectUpgrader.d.ts.map +1 -1
- package/build/core/middleware/projectUpgrader.js +7 -15
- package/build/core/middleware/projectUpgrader.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +14 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +319 -23
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/solutionLoader.d.ts +3 -2
- package/build/core/middleware/solutionLoader.d.ts.map +1 -1
- package/build/core/middleware/solutionLoader.js +21 -23
- package/build/core/middleware/solutionLoader.js.map +1 -1
- package/build/core/middleware/solutionLoaderV3.d.ts +4 -0
- package/build/core/middleware/solutionLoaderV3.d.ts.map +1 -0
- package/build/core/middleware/solutionLoaderV3.js +19 -0
- package/build/core/middleware/solutionLoaderV3.js.map +1 -0
- package/build/core/question.d.ts +9 -1
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +113 -3
- package/build/core/question.js.map +1 -1
- package/build/core/tools.d.ts +2 -1
- package/build/core/tools.d.ts.map +1 -1
- package/build/core/tools.js +19 -10
- package/build/core/tools.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/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 +18 -17
- 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 +10 -0
- 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 +7 -0
- package/build/plugins/resource/aad/utils/configs.js.map +1 -1
- package/build/plugins/resource/apim/config.d.ts +2 -1
- package/build/plugins/resource/apim/config.d.ts.map +1 -1
- package/build/plugins/resource/apim/config.js +5 -0
- package/build/plugins/resource/apim/config.js.map +1 -1
- package/build/plugins/resource/apim/constants.d.ts +1 -0
- package/build/plugins/resource/apim/constants.d.ts.map +1 -1
- package/build/plugins/resource/apim/constants.js +1 -0
- package/build/plugins/resource/apim/constants.js.map +1 -1
- package/build/plugins/resource/apim/index.js +2 -2
- package/build/plugins/resource/apim/index.js.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.d.ts +2 -2
- package/build/plugins/resource/apim/managers/apimManager.d.ts.map +1 -1
- package/build/plugins/resource/apim/managers/apimManager.js +26 -20
- package/build/plugins/resource/apim/managers/apimManager.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +106 -85
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/constants.d.ts +7 -6
- package/build/plugins/resource/appstudio/constants.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/constants.js +8 -152
- package/build/plugins/resource/appstudio/constants.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +9 -5
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +10 -5
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.d.ts +37 -1
- package/build/plugins/resource/appstudio/index.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/index.js +58 -21
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts +32 -0
- package/build/plugins/resource/appstudio/manifestTemplate.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/manifestTemplate.js +190 -0
- package/build/plugins/resource/appstudio/manifestTemplate.js.map +1 -0
- package/build/plugins/resource/appstudio/plugin.d.ts +2 -4
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +256 -465
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/utils/telemetry.js +12 -16
- package/build/plugins/resource/appstudio/utils/telemetry.js.map +1 -1
- package/build/plugins/resource/appstudio/v3/index.d.ts +73 -0
- package/build/plugins/resource/appstudio/v3/index.d.ts.map +1 -0
- package/build/plugins/resource/appstudio/v3/index.js +87 -0
- package/build/plugins/resource/appstudio/v3/index.js.map +1 -0
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +5 -1
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts +2 -2
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +40 -37
- package/build/plugins/resource/bot/plugin.js.map +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 -15
- package/build/plugins/resource/frontend/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/constants.js +3 -19
- package/build/plugins/resource/frontend/constants.js.map +1 -1
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.d.ts +7 -24
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.d.ts.map +1 -1
- package/build/plugins/resource/frontend/dotnet/constants.js +81 -0
- package/build/plugins/resource/frontend/{blazor → dotnet}/constants.js.map +1 -1
- 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 +2 -2
- package/build/plugins/resource/frontend/{blazor → dotnet}/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts +26 -0
- package/build/plugins/resource/frontend/dotnet/plugin.d.ts.map +1 -0
- package/build/plugins/resource/frontend/dotnet/plugin.js +69 -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/env.d.ts +22 -0
- package/build/plugins/resource/frontend/env.d.ts.map +1 -0
- package/build/plugins/resource/frontend/env.js +103 -0
- package/build/plugins/resource/frontend/env.js.map +1 -0
- package/build/plugins/resource/frontend/index.d.ts +2 -2
- package/build/plugins/resource/frontend/index.d.ts.map +1 -1
- package/build/plugins/resource/frontend/index.js +8 -20
- package/build/plugins/resource/frontend/index.js.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.d.ts +5 -4
- package/build/plugins/resource/frontend/ops/deploy.d.ts.map +1 -1
- package/build/plugins/resource/frontend/ops/deploy.js +35 -29
- package/build/plugins/resource/frontend/ops/deploy.js.map +1 -1
- package/build/plugins/resource/frontend/plugin.d.ts +2 -3
- package/build/plugins/resource/frontend/plugin.d.ts.map +1 -1
- package/build/plugins/resource/frontend/plugin.js +50 -75
- package/build/plugins/resource/frontend/plugin.js.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.d.ts +3 -18
- package/build/plugins/resource/frontend/resources/errors.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/errors.js +7 -39
- package/build/plugins/resource/frontend/resources/errors.js.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.d.ts +2 -0
- package/build/plugins/resource/frontend/resources/messages.d.ts.map +1 -1
- package/build/plugins/resource/frontend/resources/messages.js +2 -0
- package/build/plugins/resource/frontend/resources/messages.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/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 +8 -2
- package/build/plugins/resource/frontend/utils/telemetry-helper.js.map +1 -1
- package/build/plugins/resource/frontend/utils.d.ts +6 -1
- package/build/plugins/resource/frontend/utils.d.ts.map +1 -1
- package/build/plugins/resource/frontend/utils.js +17 -6
- package/build/plugins/resource/frontend/utils.js.map +1 -1
- 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 -12
- package/build/plugins/resource/function/index.js.map +1 -1
- package/build/plugins/resource/function/plugin.d.ts.map +1 -1
- package/build/plugins/resource/function/plugin.js +26 -21
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/checker.js +2 -2
- package/build/plugins/resource/function/utils/depsChecker/checker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts +2 -2
- package/build/plugins/resource/function/utils/depsChecker/common.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/common.js +6 -6
- package/build/plugins/resource/function/utils/depsChecker/common.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js +3 -2
- package/build/plugins/resource/function/utils/depsChecker/dotnetChecker.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts +0 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.d.ts.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js +1 -23
- package/build/plugins/resource/function/utils/depsChecker/funcPluginAdapter.js.map +1 -1
- package/build/plugins/resource/identity/index.d.ts.map +1 -1
- package/build/plugins/resource/identity/index.js +21 -17
- package/build/plugins/resource/identity/index.js.map +1 -1
- package/build/plugins/resource/keyvault/plugin.d.ts.map +1 -1
- package/build/plugins/resource/keyvault/plugin.js +17 -14
- package/build/plugins/resource/keyvault/plugin.js.map +1 -1
- package/build/plugins/resource/localdebug/index.d.ts +0 -7
- package/build/plugins/resource/localdebug/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/index.js +3 -501
- package/build/plugins/resource/localdebug/index.js.map +1 -1
- package/build/plugins/resource/localdebug/util/error.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/util/error.js +1 -1
- package/build/plugins/resource/localdebug/util/error.js.map +1 -1
- package/build/plugins/resource/localdebug/util/localService.d.ts +0 -1
- package/build/plugins/resource/localdebug/util/localService.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/util/localService.js +1 -40
- package/build/plugins/resource/localdebug/util/localService.js.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.d.ts.map +1 -1
- package/build/plugins/resource/localdebug/v2/index.js +41 -1
- package/build/plugins/resource/localdebug/v2/index.js.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +1 -1
- package/build/plugins/resource/simpleauth/plugin.js +26 -21
- 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 +3 -1
- package/build/plugins/resource/simpleauth/utils/common.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/config.d.ts +0 -1
- package/build/plugins/resource/sql/config.d.ts.map +1 -1
- package/build/plugins/resource/sql/config.js +0 -1
- package/build/plugins/resource/sql/config.js.map +1 -1
- package/build/plugins/resource/sql/constants.d.ts +1 -0
- package/build/plugins/resource/sql/constants.d.ts.map +1 -1
- package/build/plugins/resource/sql/constants.js +2 -1
- package/build/plugins/resource/sql/constants.js.map +1 -1
- package/build/plugins/resource/sql/errors.d.ts +3 -1
- package/build/plugins/resource/sql/errors.d.ts.map +1 -1
- package/build/plugins/resource/sql/errors.js +3 -1
- package/build/plugins/resource/sql/errors.js.map +1 -1
- package/build/plugins/resource/sql/managementClient.d.ts +3 -1
- package/build/plugins/resource/sql/managementClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/managementClient.js +11 -20
- package/build/plugins/resource/sql/managementClient.js.map +1 -1
- package/build/plugins/resource/sql/plugin.d.ts +3 -0
- package/build/plugins/resource/sql/plugin.d.ts.map +1 -1
- package/build/plugins/resource/sql/plugin.js +51 -40
- package/build/plugins/resource/sql/plugin.js.map +1 -1
- package/build/plugins/resource/sql/results.d.ts +2 -2
- package/build/plugins/resource/sql/results.d.ts.map +1 -1
- package/build/plugins/resource/sql/results.js +4 -4
- package/build/plugins/resource/sql/results.js.map +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +1 -1
- package/build/plugins/resource/sql/sqlClient.d.ts.map +1 -1
- package/build/plugins/resource/sql/sqlClient.js +33 -46
- package/build/plugins/resource/sql/sqlClient.js.map +1 -1
- package/build/plugins/resource/sql/utils/checkInput.js +2 -2
- package/build/plugins/resource/sql/utils/checkInput.js.map +1 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -1
- package/build/plugins/resource/sql/utils/message.d.ts.map +1 -1
- package/build/plugins/resource/sql/utils/message.js +0 -1
- package/build/plugins/resource/sql/utils/message.js.map +1 -1
- package/build/plugins/resource/utils4v2.d.ts.map +1 -1
- package/build/plugins/resource/utils4v2.js +0 -4
- package/build/plugins/resource/utils4v2.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts +26 -10
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +429 -146
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts +13 -2
- package/build/plugins/solution/fx-solution/commonQuestions.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/commonQuestions.js +24 -26
- package/build/plugins/solution/fx-solution/commonQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/constants.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/constants.js +2 -0
- package/build/plugins/solution/fx-solution/constants.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/constants.d.ts +10 -0
- package/build/plugins/solution/fx-solution/debug/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/constants.js +17 -0
- package/build/plugins/solution/fx-solution/debug/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts +9 -0
- package/build/plugins/solution/fx-solution/debug/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/error.js +36 -0
- package/build/plugins/solution/fx-solution/debug/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts +4 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js +237 -0
- package/build/plugins/solution/fx-solution/debug/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +5 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +165 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/certificate.d.ts +2 -2
- package/build/plugins/solution/fx-solution/debug/util/certificate.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/certificate.js +8 -9
- package/build/plugins/solution/fx-solution/debug/util/certificate.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/codespace.js +0 -0
- package/build/plugins/solution/fx-solution/debug/util/codespace.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/launch.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/launch.js +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launch.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.d.ts +3 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.js +52 -0
- package/build/plugins/solution/fx-solution/debug/util/localService.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/ngrok.js +2 -2
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/process.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/process.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/process.js +0 -0
- package/build/plugins/solution/fx-solution/debug/util/process.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts +2 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js +22 -0
- package/build/plugins/solution/fx-solution/debug/util/settings.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.d.ts +0 -0
- package/build/plugins/solution/fx-solution/debug/util/tasks.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug/util}/tasks.js +11 -11
- package/build/plugins/solution/fx-solution/debug/util/tasks.js.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/telemetry.d.ts +7 -6
- package/build/plugins/solution/fx-solution/debug/util/telemetry.d.ts.map +1 -0
- package/build/plugins/{resource/localdebug → solution/fx-solution/debug}/util/telemetry.js +16 -19
- package/build/plugins/solution/fx-solution/debug/util/telemetry.js.map +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts +1 -0
- package/build/plugins/solution/fx-solution/index.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/index.js +1 -0
- package/build/plugins/solution/fx-solution/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/question.d.ts +3 -3
- package/build/plugins/solution/fx-solution/question.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/question.js +4 -36
- 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 +19 -10
- package/build/plugins/solution/fx-solution/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js +13 -14
- package/build/plugins/solution/fx-solution/utils/depsChecker/bicepChecker.js.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts +2 -2
- package/build/plugins/solution/fx-solution/utils/progressHelper.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/utils/progressHelper.js +4 -4
- package/build/plugins/solution/fx-solution/utils/progressHelper.js.map +1 -1
- 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/constants.d.ts +2 -0
- package/build/plugins/solution/fx-solution/v2/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v2/constants.js +7 -0
- package/build/plugins/solution/fx-solution/v2/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +1 -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 +3 -0
- package/build/plugins/solution/fx-solution/v2/deploy.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 +199 -124
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +3 -1
- 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 +142 -120
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/listAllCollaborators.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 +13 -3
- 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 +12 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.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 +11 -0
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +2 -1
- package/build/plugins/solution/fx-solution/v2/solution.js.map +1 -1
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/addModule.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js +35 -0
- package/build/plugins/solution/fx-solution/v3/addModule.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts +37 -0
- package/build/plugins/solution/fx-solution/v3/addResource.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js +264 -0
- package/build/plugins/solution/fx-solution/v3/addResource.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts +20 -0
- package/build/plugins/solution/fx-solution/v3/constants.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/constants.js +25 -0
- package/build/plugins/solution/fx-solution/v3/constants.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts +6 -0
- package/build/plugins/solution/fx-solution/v3/deploy.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js +78 -0
- package/build/plugins/solution/fx-solution/v3/deploy.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts +8 -0
- package/build/plugins/solution/fx-solution/v3/error.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/error.js +17 -0
- package/build/plugins/solution/fx-solution/v3/error.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/init.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/init.js +35 -0
- package/build/plugins/solution/fx-solution/v3/init.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provision.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provision.js +124 -0
- package/build/plugins/solution/fx-solution/v3/provision.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js +13 -0
- package/build/plugins/solution/fx-solution/v3/provisionLocal.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/publish.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/publish.js +15 -0
- package/build/plugins/solution/fx-solution/v3/publish.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts +27 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js +241 -0
- package/build/plugins/solution/fx-solution/v3/scaffold.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts +32 -0
- package/build/plugins/solution/fx-solution/v3/solution.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/solution.js +45 -0
- package/build/plugins/solution/fx-solution/v3/solution.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts +4 -0
- package/build/plugins/solution/fx-solution/v3/userTask.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js +15 -0
- package/build/plugins/solution/fx-solution/v3/userTask.js.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts +3 -0
- package/build/plugins/solution/fx-solution/v3/utils.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/v3/utils.js +16 -0
- package/build/plugins/solution/fx-solution/v3/utils.js.map +1 -0
- package/build/plugins/solution/index.d.ts +1 -0
- package/build/plugins/solution/index.d.ts.map +1 -1
- package/build/plugins/solution/index.js +1 -0
- package/build/plugins/solution/index.js.map +1 -1
- package/build/plugins/solution/spfx-solution/addModule.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/addModule.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/addModule.js +29 -0
- package/build/plugins/solution/spfx-solution/addModule.js.map +1 -0
- package/build/plugins/solution/spfx-solution/constants.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/constants.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/constants.js +7 -0
- package/build/plugins/solution/spfx-solution/constants.js.map +1 -0
- package/build/plugins/solution/spfx-solution/error.d.ts +5 -0
- package/build/plugins/solution/spfx-solution/error.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/error.js +13 -0
- package/build/plugins/solution/spfx-solution/error.js.map +1 -0
- package/build/plugins/solution/spfx-solution/index.d.ts +2 -0
- package/build/plugins/solution/spfx-solution/index.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/index.js +7 -0
- package/build/plugins/solution/spfx-solution/index.js.map +1 -0
- package/build/plugins/solution/spfx-solution/init.d.ts +4 -0
- package/build/plugins/solution/spfx-solution/init.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/init.js +52 -0
- package/build/plugins/solution/spfx-solution/init.js.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts +4 -0
- package/build/plugins/solution/spfx-solution/questions.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/questions.js +10 -0
- package/build/plugins/solution/spfx-solution/questions.js.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffold.d.ts +13 -0
- package/build/plugins/solution/spfx-solution/scaffold.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/scaffold.js +105 -0
- package/build/plugins/solution/spfx-solution/scaffold.js.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts +22 -0
- package/build/plugins/solution/spfx-solution/solution.d.ts.map +1 -0
- package/build/plugins/solution/spfx-solution/solution.js +31 -0
- package/build/plugins/solution/spfx-solution/solution.js.map +1 -0
- package/build/plugins/solution/utils/error.d.ts +5 -0
- package/build/plugins/solution/utils/error.d.ts.map +1 -0
- package/build/plugins/solution/utils/error.js +13 -0
- package/build/plugins/solution/utils/error.js.map +1 -0
- package/build/plugins/solution/utils/questions.d.ts +16 -0
- package/build/plugins/solution/utils/questions.d.ts.map +1 -0
- package/build/plugins/solution/utils/questions.js +86 -0
- package/build/plugins/solution/utils/questions.js.map +1 -0
- package/package.json +21 -6
- package/resource/deps-checker/dotnet-install.ps1 +1095 -0
- package/resource/deps-checker/dotnet-install.sh +1222 -0
- package/resource/strings.json +18 -9
- package/templates/plugins/resource/apim/bicep/apimConfiguration.bicep +16 -16
- package/templates/plugins/resource/apim/bicep/config.template.bicep +1 -1
- package/templates/plugins/resource/apim/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/bot/bicep/botConfiguration.template.bicep +33 -38
- package/templates/plugins/resource/bot/bicep/botProvision.template.bicep +15 -11
- package/templates/plugins/resource/bot/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/bot/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/frontend/bicep/frontendHostingProvision.bicep +3 -2
- package/templates/plugins/resource/frontend/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/function/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/function/bicep/functionConfiguration.template.bicep +44 -42
- package/templates/plugins/resource/function/bicep/functionProvision.template.bicep +17 -14
- package/templates/plugins/resource/function/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/identity/bicep/identityProvision.template.bicep +2 -1
- package/templates/plugins/resource/identity/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/keyvault/bicep/keyVaultProvision.template.bicep +10 -7
- package/templates/plugins/resource/keyvault/bicep/provision.template.bicep +4 -2
- package/templates/plugins/resource/simpleauth/bicep/config.template.bicep +3 -1
- package/templates/plugins/resource/simpleauth/bicep/provision.template.bicep +2 -2
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthConfiguration.template.bicep +27 -31
- package/templates/plugins/resource/simpleauth/bicep/simpleAuthProvision.template.bicep +9 -6
- package/templates/plugins/resource/simpleauth/version.txt +2 -1
- package/templates/plugins/resource/sql/bicep/provision.template.bicep +1 -1
- package/templates/plugins/resource/sql/bicep/sqlProvision.template.bicep +8 -5
- package/build/plugins/resource/frontend/blazor/constants.js +0 -98
- 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/frontend/utils/environment-utils.d.ts +0 -9
- package/build/plugins/resource/frontend/utils/environment-utils.d.ts.map +0 -1
- package/build/plugins/resource/frontend/utils/environment-utils.js +0 -36
- package/build/plugins/resource/frontend/utils/environment-utils.js.map +0 -1
- package/build/plugins/resource/localdebug/certificate.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/certificate.js.map +0 -1
- package/build/plugins/resource/localdebug/launch.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/launch.js.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts +0 -6
- package/build/plugins/resource/localdebug/legacyPlugin.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/legacyPlugin.js +0 -208
- package/build/plugins/resource/localdebug/legacyPlugin.js.map +0 -1
- package/build/plugins/resource/localdebug/localEnvMulti.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/localEnvMulti.js.map +0 -1
- package/build/plugins/resource/localdebug/settings.d.ts +0 -2
- package/build/plugins/resource/localdebug/settings.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/settings.js +0 -18
- package/build/plugins/resource/localdebug/settings.js.map +0 -1
- package/build/plugins/resource/localdebug/tasks.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/tasks.js.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/codespace.js.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/ngrok.js.map +0 -1
- package/build/plugins/resource/localdebug/util/process.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/process.js.map +0 -1
- package/build/plugins/resource/localdebug/util/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/localdebug/util/telemetry.js.map +0 -1
- package/templates/azure/config.bicep +0 -25
- package/templates/azure/main.bicep +0 -20
- package/templates/azure/provision/azureSql.bicep +0 -39
- package/templates/azure/provision/frontendHosting.bicep +0 -23
- package/templates/azure/provision/function.bicep +0 -79
- package/templates/azure/provision/simpleAuth.bicep +0 -44
- package/templates/azure/provision.bicep +0 -58
- package/templates/azure/teamsFx/bot.bicep +0 -34
- package/templates/azure/teamsFx/function.bicep +0 -71
- package/templates/azure/teamsFx/simpleAuth.bicep +0 -40
- package/templates/plugins/resource/aad/bicep/param.template.bicep +0 -6
- package/templates/plugins/resource/aad/bicep/variables.template.bicep +0 -13
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TeamsSPFxSolutionQuestions = void 0;
|
|
6
|
+
var TeamsSPFxSolutionQuestions;
|
|
7
|
+
(function (TeamsSPFxSolutionQuestions) {
|
|
8
|
+
TeamsSPFxSolutionQuestions["Solution"] = "solution";
|
|
9
|
+
})(TeamsSPFxSolutionQuestions = exports.TeamsSPFxSolutionQuestions || (exports.TeamsSPFxSolutionQuestions = {}));
|
|
10
|
+
//# sourceMappingURL=questions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questions.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/questions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,IAAY,0BAEX;AAFD,WAAY,0BAA0B;IACpC,mDAAqB,CAAA;AACvB,CAAC,EAFW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAErC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FxError, Inputs, Json, Result, v2, AppStudioTokenProvider, Void, OptionItem, QTreeNode } from "@microsoft/teamsfx-api";
|
|
2
|
+
export declare function getQuestionsForScaffold(ctx: v2.Context, inputs: v2.InputsWithProjectPath): Promise<Result<QTreeNode | undefined, FxError>>;
|
|
3
|
+
export declare function scaffold(ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
4
|
+
module?: string;
|
|
5
|
+
template?: OptionItem;
|
|
6
|
+
}): Promise<Result<Void, FxError>>;
|
|
7
|
+
export declare function generateResourceTemplate(ctx: v2.Context, inputs: Inputs): Promise<Result<Json, FxError>>;
|
|
8
|
+
export declare function publishApplication(ctx: v2.Context, inputs: Inputs, envInfo: v2.EnvInfoV2, tokenProvider: AppStudioTokenProvider): Promise<Result<Void, FxError>>;
|
|
9
|
+
export declare function addResource(ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
10
|
+
module?: string;
|
|
11
|
+
resource?: string;
|
|
12
|
+
}): Promise<Result<Void, FxError>>;
|
|
13
|
+
//# sourceMappingURL=scaffold.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/scaffold.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,OAAO,EACP,MA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
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.addResource = exports.publishApplication = exports.generateResourceTemplate = exports.scaffold = exports.getQuestionsForScaffold = void 0;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
|
+
const typedi_1 = tslib_1.__importDefault(require("typedi"));
|
|
9
|
+
const constants_1 = require("../fx-solution/v3/constants");
|
|
10
|
+
const error_1 = require("../utils/error");
|
|
11
|
+
const questions_1 = require("../utils/questions");
|
|
12
|
+
async function getQuestionsForScaffold(ctx, inputs) {
|
|
13
|
+
const node = new teamsfx_api_1.QTreeNode({ type: "group" });
|
|
14
|
+
const solutionSettings = ctx.projectSetting.solutionSettings;
|
|
15
|
+
if (solutionSettings.modules) {
|
|
16
|
+
const moduleNode = questions_1.createSelectModuleQuestionNode(solutionSettings.modules);
|
|
17
|
+
node.addChild(moduleNode);
|
|
18
|
+
}
|
|
19
|
+
const templateNode = new teamsfx_api_1.QTreeNode(questions_1.selectScaffoldTemplateQuestion);
|
|
20
|
+
const staticOptions = [];
|
|
21
|
+
const spfxPlugin = typedi_1.default.get(constants_1.BuiltInScaffoldPluginNames.spfx);
|
|
22
|
+
const scaffoldPlugins = [spfxPlugin];
|
|
23
|
+
for (const plugin of scaffoldPlugins) {
|
|
24
|
+
const getTemplatesRes = await plugin.getTemplates(ctx, inputs);
|
|
25
|
+
if (getTemplatesRes.isErr()) {
|
|
26
|
+
return teamsfx_api_1.err(getTemplatesRes.error);
|
|
27
|
+
}
|
|
28
|
+
for (const template of getTemplatesRes.value) {
|
|
29
|
+
staticOptions.push({
|
|
30
|
+
id: `${plugin.name}/${template.name}`,
|
|
31
|
+
label: `${template.name}(${template.language})`,
|
|
32
|
+
detail: template.description,
|
|
33
|
+
data: {
|
|
34
|
+
pluginName: plugin.name,
|
|
35
|
+
templateName: template.name,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
if (plugin.getQuestionsForScaffold) {
|
|
40
|
+
const pluginQuestionsRes = await plugin.getQuestionsForScaffold(ctx, inputs);
|
|
41
|
+
if (pluginQuestionsRes.isOk()) {
|
|
42
|
+
const pluginNode = pluginQuestionsRes.value;
|
|
43
|
+
if (pluginNode) {
|
|
44
|
+
pluginNode.condition = {
|
|
45
|
+
validFunc: async (input, inputs) => {
|
|
46
|
+
if (input.data) {
|
|
47
|
+
if (input.data.pluginName === plugin.name)
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
return "";
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
templateNode.addChild(pluginNode);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
questions_1.selectScaffoldTemplateQuestion.staticOptions = staticOptions;
|
|
59
|
+
node.addChild(templateNode);
|
|
60
|
+
return teamsfx_api_1.ok(node);
|
|
61
|
+
}
|
|
62
|
+
exports.getQuestionsForScaffold = getQuestionsForScaffold;
|
|
63
|
+
async function scaffold(ctx, inputs) {
|
|
64
|
+
if (!inputs.template) {
|
|
65
|
+
return teamsfx_api_1.err(new error_1.InvalidInputError(inputs));
|
|
66
|
+
}
|
|
67
|
+
const template = inputs.template;
|
|
68
|
+
if (!template.data) {
|
|
69
|
+
return teamsfx_api_1.err(new error_1.InvalidInputError(inputs, "template.data is undefined"));
|
|
70
|
+
}
|
|
71
|
+
const data = template.data;
|
|
72
|
+
const pluginName = data.pluginName;
|
|
73
|
+
const templateName = data.templateName;
|
|
74
|
+
const plugin = typedi_1.default.get(pluginName);
|
|
75
|
+
const pluginInputs = Object.assign(Object.assign({}, inputs), { template: templateName });
|
|
76
|
+
const res = await plugin.scaffold(ctx, pluginInputs);
|
|
77
|
+
if (res.isErr()) {
|
|
78
|
+
return teamsfx_api_1.err(res.error);
|
|
79
|
+
}
|
|
80
|
+
const manifest = [];
|
|
81
|
+
if (res.value) {
|
|
82
|
+
manifest.push(res.value);
|
|
83
|
+
}
|
|
84
|
+
inputs.manifest = manifest;
|
|
85
|
+
pluginInputs.manifest = manifest;
|
|
86
|
+
//TODO
|
|
87
|
+
// //call appstudio.scaffold() API
|
|
88
|
+
// const appstudioPlugin = Container.get<v3.ScaffoldPlugin>(BuiltInResourcePluginNames.AppStudio);
|
|
89
|
+
// await appstudioPlugin.scaffold(ctx, pluginInputs);
|
|
90
|
+
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
91
|
+
}
|
|
92
|
+
exports.scaffold = scaffold;
|
|
93
|
+
async function generateResourceTemplate(ctx, inputs) {
|
|
94
|
+
return teamsfx_api_1.ok({});
|
|
95
|
+
}
|
|
96
|
+
exports.generateResourceTemplate = generateResourceTemplate;
|
|
97
|
+
async function publishApplication(ctx, inputs, envInfo, tokenProvider) {
|
|
98
|
+
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
99
|
+
}
|
|
100
|
+
exports.publishApplication = publishApplication;
|
|
101
|
+
async function addResource(ctx, inputs) {
|
|
102
|
+
return teamsfx_api_1.ok(teamsfx_api_1.Void);
|
|
103
|
+
}
|
|
104
|
+
exports.addResource = addResource;
|
|
105
|
+
//# sourceMappingURL=scaffold.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaffold.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/scaffold.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAcgC;AAEhC,4DAA+B;AAC/B,2DAAyE;AACzE,0CAAmD;AACnD,kDAAoG;AAE7F,KAAK,UAAU,uBAAuB,CAC3C,GAAe,EACf,MAAgC;IAEhC,MAAM,IAAI,GAAG,IAAI,uBAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9C,MAAM,gBAAgB,GAAG,GAAG,CAAC,cAAc,CAAC,gBAAgD,CAAC;IAC7F,IAAI,gBAAg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AAQ,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;IACrD,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;QACf,OAAO,iBAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACvB;IACD,MAAM,QAAQ,GAAG,EAAE,CAAC;IACpB,IAAI,GAAG,CAAC,KAAK,EAAE;QACb,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KAC1B;IACD,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,YAAY,CAAC,QAAQ,GAAG,QAAQ,CAAC;IACjC,MAAM;IACN,kCAAkC;IAClC,kGAAkG;IAClG,qDAAqD;IACrD,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AAlCD,4BAkCC;AAEM,KAAK,UAAU,wBAAwB,CAC5C,GAAe,EACf,MAAc;IAEd,OAAO,gBAAE,CAAC,EAAE,CAAC,CAAC;AAChB,CAAC;AALD,4DAKC;AAEM,KAAK,UAAU,kBAAkB,CACtC,GAAe,EACf,MAAc,EACd,OAAqB,EACrB,aAAqC;IAErC,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AAPD,gDAOC;AAEM,KAAK,UAAU,WAAW,CAC/B,GAAe,EACf,MAAyE;IAEzE,OAAO,gBAAE,CAAC,kBAAI,CAAC,CAAC;AAClB,CAAC;AALD,kCAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FxError, Inputs, Json, Result, v2, v3, AppStudioTokenProvider, Void, QTreeNode, OptionItem } from "@microsoft/teamsfx-api";
|
|
2
|
+
export declare class TeamsSPFxSolution implements v3.ISolution {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
init: (ctx: v2.Context, inputs: v2.InputsWithProjectPath) => Promise<Result<Void, FxError>>;
|
|
6
|
+
getQuestionsForInit?: (ctx: v2.Context, inputs: Inputs) => Promise<Result<QTreeNode | undefined, FxError>>;
|
|
7
|
+
scaffold: (ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
8
|
+
module?: string;
|
|
9
|
+
template?: OptionItem;
|
|
10
|
+
}) => Promise<Result<Void, FxError>>;
|
|
11
|
+
getQuestionsForScaffold?: (ctx: v2.Context, inputs: v2.InputsWithProjectPath) => Promise<Result<QTreeNode | undefined, FxError>>;
|
|
12
|
+
generateResourceTemplate: (ctx: v2.Context, inputs: Inputs) => Promise<Result<Json, FxError>>;
|
|
13
|
+
publishApplication: (ctx: v2.Context, inputs: Inputs, envInfo: v2.EnvInfoV2, tokenProvider: AppStudioTokenProvider) => Promise<Result<Void, FxError>>;
|
|
14
|
+
addResource: (ctx: v2.Context, inputs: v2.InputsWithProjectPath & {
|
|
15
|
+
module?: string;
|
|
16
|
+
resource?: string;
|
|
17
|
+
}) => Promise<Result<Void, FxError>>;
|
|
18
|
+
addModule: (ctx: v2.Context, localSettings: Json, inputs: v2.InputsWithProjectPath & {
|
|
19
|
+
capabilities?: string[];
|
|
20
|
+
}) => Promise<Result<Void, FxError>>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=solution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solution.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/solution.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,OAAO,EACP,MAAM,EACN,IAAI,EACJ,MAAM,EACN,EAAE,EACF,EAAE,EACF,sBAAsB,EACtB,IAAI,EACJ,SAAS,EACT,UAAU,EACX,MAAM,wBAAwB,CAAC;AAehC,qBACa,iBAAkB,YAAW,EAAE,CAAC,SAAS;IACpD,IAAI,SAA6B;IACjC,WAAW,EAAE,MAAM,CAAkC;IAErD,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,qBAAqB,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,C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AE,EAAE,CAAC,OAAO,EACf,aAAa,EAAE,IAAI,EACnB,MAAM,EAAE,EAAE,CAAC,qBAAqB,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,KAC3D,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAa;CACjD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TeamsSPFxSolution = void 0;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const constants_1 = require("../../../common/constants");
|
|
8
|
+
const scaffold_1 = require("./scaffold");
|
|
9
|
+
const init_1 = require("./init");
|
|
10
|
+
const typedi_1 = require("typedi");
|
|
11
|
+
const constants_2 = require("../fx-solution/v3/constants");
|
|
12
|
+
const addModule_1 = require("./addModule");
|
|
13
|
+
let TeamsSPFxSolution = class TeamsSPFxSolution {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = constants_2.BuiltInSolutionNames.spfx;
|
|
16
|
+
this.displayName = constants_1.PluginDisplayName.SpfxSolution;
|
|
17
|
+
this.init = init_1.init;
|
|
18
|
+
this.getQuestionsForInit = init_1.getQuestionsForInit;
|
|
19
|
+
this.scaffold = scaffold_1.scaffold;
|
|
20
|
+
this.getQuestionsForScaffold = scaffold_1.getQuestionsForScaffold;
|
|
21
|
+
this.generateResourceTemplate = scaffold_1.generateResourceTemplate;
|
|
22
|
+
this.publishApplication = scaffold_1.publishApplication;
|
|
23
|
+
this.addResource = scaffold_1.addResource;
|
|
24
|
+
this.addModule = addModule_1.addModule;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
TeamsSPFxSolution = tslib_1.__decorate([
|
|
28
|
+
typedi_1.Service(constants_2.BuiltInSolutionNames.spfx)
|
|
29
|
+
], TeamsSPFxSolution);
|
|
30
|
+
exports.TeamsSPFxSolution = TeamsSPFxSolution;
|
|
31
|
+
//# sourceMappingURL=solution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solution.js","sourceRoot":"","sources":["../../../../src/plugins/solution/spfx-solution/solution.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAelC,yDAA8D;AAE9D,yCAMoB;AACpB,iCAAmD;AACnD,mCAAiC;AACjC,2DAAmE;AACnE,2CAAwC;AAGxC,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,gCAAoB,CAAC,IAAI,CAAC;QACjC,gBAAW,GAAW,6BAAiB,CAAC,YAAY,CAAC;QAErD,SAAI,GACF,WAAI,CAAC;QACP,wBAAmB,GAGoC,0BAAmB,CAAC;QAE3E,aAAQ,GAG8B,mBAAQ,CAAC;QAC/C,4BAAuB,GAGgC,kCAAuB,CAAC;QAE/E,6BAAwB,GACtB,mCAAwB,CAAC;QAE3B,uBAAkB,GAKoB,6BAAkB,CAAC;QAEzD,gBAAW,GAG2B,sBAAW,CAAC;QAElD,cAAS,GAI6B,qBAAS,CAAC;IAClD,CAAC;CAAA,CAAA;AAxCY,iBAAiB;IAD7B,gBAAO,CAAC,gCAAoB,CAAC,IAAI,CAAC;GACtB,iBAAiB,CAwC7B;AAxCY,8CAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/error.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE3D,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAG5C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.InvalidInputError = void 0;
|
|
6
|
+
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
+
class InvalidInputError extends teamsfx_api_1.UserError {
|
|
8
|
+
constructor(inputs, reason) {
|
|
9
|
+
super(new.target.name, `Invalid inputs: ${JSON.stringify(inputs)} ${reason}`, "Solution");
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.InvalidInputError = InvalidInputError;
|
|
13
|
+
//# sourceMappingURL=error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/error.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAA2D;AAE3D,MAAa,iBAAkB,SAAQ,uBAAS;IAC9C,YAAY,MAAc,EAAE,MAAe;QACzC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,EAAE,EAAE,UAAU,CAAC,CAAC;IAC5F,CAAC;CACF;AAJD,8CAIC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MultiSelectQuestion, QTreeNode, SingleSelectQuestion, v3 } from "@microsoft/teamsfx-api";
|
|
2
|
+
export declare enum SolutionV3QuestionNames {
|
|
3
|
+
scaffoldTemplate = "template",
|
|
4
|
+
capabilities = "capabilities",
|
|
5
|
+
resource = "resource",
|
|
6
|
+
module = "module",
|
|
7
|
+
modules = "modules"
|
|
8
|
+
}
|
|
9
|
+
export declare const selectSingleModuleQuestion: SingleSelectQuestion;
|
|
10
|
+
export declare const selectMultiModulesQuestion: MultiSelectQuestion;
|
|
11
|
+
export declare function createSelectModuleQuestionNode(modules: v3.Module[]): QTreeNode;
|
|
12
|
+
export declare function createSelectModulesToDeployQuestionNode(modules: v3.Module[]): QTreeNode;
|
|
13
|
+
export declare const selectCapabilitiesQuestion: MultiSelectQuestion;
|
|
14
|
+
export declare const selectScaffoldTemplateQuestion: SingleSelectQuestion;
|
|
15
|
+
export declare const selectResourceQuestion: SingleSelectQuestion;
|
|
16
|
+
//# sourceMappingURL=questions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EAEnB,SAAS,EACT,oBAAoB,EACpB,EAAE,EACH,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,uBAAuB;IACjC,gBAAgB,aAAa;IAC7B,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,0BAA0B,EAAE,oBAKxC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,mBAKxC,CAAC;AAEF,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,EAAE,GAAG,SAAS,CAc9E;AAED,wBAAgB,uCAAuC,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,EAAE,GAAG,SAAS,CAkBvF;AAED,eAAO,MAAM,0BAA0B,EAAE,mBAOxC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,oBAM5C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,oBAKpC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.selectResourceQuestion = exports.selectScaffoldTemplateQuestion = exports.selectCapabilitiesQuestion = exports.createSelectModulesToDeployQuestionNode = exports.createSelectModuleQuestionNode = exports.selectMultiModulesQuestion = exports.selectSingleModuleQuestion = exports.SolutionV3QuestionNames = void 0;
|
|
6
|
+
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
|
+
const typedi_1 = require("typedi");
|
|
8
|
+
const question_1 = require("../fx-solution/question");
|
|
9
|
+
var SolutionV3QuestionNames;
|
|
10
|
+
(function (SolutionV3QuestionNames) {
|
|
11
|
+
SolutionV3QuestionNames["scaffoldTemplate"] = "template";
|
|
12
|
+
SolutionV3QuestionNames["capabilities"] = "capabilities";
|
|
13
|
+
SolutionV3QuestionNames["resource"] = "resource";
|
|
14
|
+
SolutionV3QuestionNames["module"] = "module";
|
|
15
|
+
SolutionV3QuestionNames["modules"] = "modules";
|
|
16
|
+
})(SolutionV3QuestionNames = exports.SolutionV3QuestionNames || (exports.SolutionV3QuestionNames = {}));
|
|
17
|
+
exports.selectSingleModuleQuestion = {
|
|
18
|
+
name: SolutionV3QuestionNames.module,
|
|
19
|
+
title: "Select a module",
|
|
20
|
+
type: "singleSelect",
|
|
21
|
+
staticOptions: [],
|
|
22
|
+
};
|
|
23
|
+
exports.selectMultiModulesQuestion = {
|
|
24
|
+
name: SolutionV3QuestionNames.modules,
|
|
25
|
+
title: "Select modules to deploy",
|
|
26
|
+
type: "multiSelect",
|
|
27
|
+
staticOptions: [],
|
|
28
|
+
};
|
|
29
|
+
function createSelectModuleQuestionNode(modules) {
|
|
30
|
+
const moduleNode = new teamsfx_api_1.QTreeNode(exports.selectSingleModuleQuestion);
|
|
31
|
+
const moduleOptions = [];
|
|
32
|
+
let i = 0;
|
|
33
|
+
for (const module of modules) {
|
|
34
|
+
const option = {
|
|
35
|
+
id: `${i++}`,
|
|
36
|
+
label: JSON.stringify(module),
|
|
37
|
+
};
|
|
38
|
+
moduleOptions.push(option);
|
|
39
|
+
}
|
|
40
|
+
moduleOptions.push({ id: "none", label: "none" });
|
|
41
|
+
exports.selectSingleModuleQuestion.staticOptions = moduleOptions;
|
|
42
|
+
return moduleNode;
|
|
43
|
+
}
|
|
44
|
+
exports.createSelectModuleQuestionNode = createSelectModuleQuestionNode;
|
|
45
|
+
function createSelectModulesToDeployQuestionNode(modules) {
|
|
46
|
+
const moduleNode = new teamsfx_api_1.QTreeNode(exports.selectMultiModulesQuestion);
|
|
47
|
+
const moduleOptions = [];
|
|
48
|
+
let i = 0;
|
|
49
|
+
for (const module of modules) {
|
|
50
|
+
if (module.hostingPlugin) {
|
|
51
|
+
const plugin = typedi_1.Container.get(module.hostingPlugin);
|
|
52
|
+
if (plugin.deploy) {
|
|
53
|
+
const option = {
|
|
54
|
+
id: `${i++}`,
|
|
55
|
+
label: JSON.stringify(module),
|
|
56
|
+
};
|
|
57
|
+
moduleOptions.push(option);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.selectMultiModulesQuestion.staticOptions = moduleOptions;
|
|
62
|
+
return moduleNode;
|
|
63
|
+
}
|
|
64
|
+
exports.createSelectModulesToDeployQuestionNode = createSelectModulesToDeployQuestionNode;
|
|
65
|
+
exports.selectCapabilitiesQuestion = {
|
|
66
|
+
name: SolutionV3QuestionNames.capabilities,
|
|
67
|
+
title: "Select capabilities",
|
|
68
|
+
type: "multiSelect",
|
|
69
|
+
staticOptions: [question_1.TabOptionItem, question_1.BotOptionItem, question_1.MessageExtensionItem],
|
|
70
|
+
default: [question_1.TabOptionItem.id],
|
|
71
|
+
skipSingleOption: true,
|
|
72
|
+
};
|
|
73
|
+
exports.selectScaffoldTemplateQuestion = {
|
|
74
|
+
name: SolutionV3QuestionNames.scaffoldTemplate,
|
|
75
|
+
title: "Select a scaffold template",
|
|
76
|
+
type: "singleSelect",
|
|
77
|
+
staticOptions: [],
|
|
78
|
+
returnObject: true,
|
|
79
|
+
};
|
|
80
|
+
exports.selectResourceQuestion = {
|
|
81
|
+
name: SolutionV3QuestionNames.resource,
|
|
82
|
+
title: "Select a resources",
|
|
83
|
+
type: "singleSelect",
|
|
84
|
+
staticOptions: [],
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=questions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questions.js","sourceRoot":"","sources":["../../../../src/plugins/solution/utils/questions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAMgC;AAChC,mCAAmC;AACnC,sDAA6F;AAE7F,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,wDAA6B,CAAA;IAC7B,gDAAqB,CAAA;IACrB,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;AACrB,CAAC,EANW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAMlC;AAEY,QAAA,0BAA0B,GAAyB;IAC9D,IAAI,EAAE,uBAAuB,CAAC,MAAM;IACpC,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,cAAc;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,0BAA0B,GAAwB;IAC7D,IAAI,EAAE,uBAAuB,CAAC,OAAO;IACrC,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF,SAAgB,8BAA8B,CAAC,OAAoB;IACjE,MAAM,UAAU,GAAG,IAAI,uBAAS,CAAC,kCAA0B,CAAC,CAAC;IAC7D,MAAM,aAAa,GAAiB,EAAE,CAAC;IACvC,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC5B,MAAM,MAAM,GAAe;YACzB,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE;YACZ,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;SAC9B,CAAC;QACF,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC5B;IACD,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAClD,kCAA0B,CAAC,aAAa,GAA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uBAAuB,CAAC,QAAQ;IACtC,KAAK,EAAE,oBAAoB;IAC3B,IAAI,EAAE,cAAc;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3-alpha.12edbb86.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"lint:staged": "lint-staged",
|
|
9
9
|
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
10
10
|
"test:bot": "nyc mocha \"tests/plugins/resource/bot/**/*.test.ts\"",
|
|
11
|
-
"test:
|
|
11
|
+
"test:dotnet": "nyc mocha \"tests/plugins/resource/dotnet/**/*.test.ts\"",
|
|
12
12
|
"test:function": "nyc mocha \"tests/plugins/resource/function/**/*.test.ts\"",
|
|
13
13
|
"test:localdebug": "nyc mocha \"tests/plugins/resource/localdebug/**/*.test.ts\"",
|
|
14
14
|
"test:frontend": "nyc mocha \"tests/plugins/resource/frontend/**/*.test.ts\"",
|
|
@@ -21,18 +21,27 @@
|
|
|
21
21
|
"test:apim": "nyc mocha \"tests/plugins/resource/apim/**/*.test.ts\"",
|
|
22
22
|
"test:keyvault": "nyc mocha \"tests/plugins/resource/keyvault/**/*.test.ts\"",
|
|
23
23
|
"test:unit": "nyc --no-clean mocha \"tests/**/*.test.ts\"",
|
|
24
|
+
"test:common": "nyc --no-clean mocha \"tests/common/*.test.ts\"",
|
|
24
25
|
"test:solution": "nyc mocha \"tests/plugins/solution/*.test.ts\"",
|
|
25
|
-
"test:
|
|
26
|
+
"test:solution:debug": "nyc mocha \"tests/plugins/solution/debug/**/*.test.ts\"",
|
|
27
|
+
"test:core": "nyc mocha \"tests/core/**/*.test.ts\"",
|
|
28
|
+
"test:core:sample": "nyc mocha \"tests/core/sample.test.ts\"",
|
|
29
|
+
"test:corev3": "nyc mocha \"tests/core/corev3.test.ts\"",
|
|
26
30
|
"test:core-mw": "nyc mocha \"tests/core/middleware/*.test.ts\"",
|
|
27
31
|
"test:core-tools": "nyc mocha \"tests/core/tools.test.ts\"",
|
|
28
32
|
"test:apiv2": "nyc mocha \"tests/plugins/resource/apiv2/*.test.ts\"",
|
|
33
|
+
"test:solutionv3": "nyc mocha \"tests/plugins/solutionv3/*.test.ts\"",
|
|
34
|
+
"test:env-checker": "npx mocha \"tests/common/deps-checker/**/*.it.ts\"",
|
|
29
35
|
"clean": "rm -rf build",
|
|
30
36
|
"build": "rimraf build && npx tsc -p ./",
|
|
31
37
|
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
32
38
|
"prepare": "npm run build && node ./scripts/download-templates-zip.js $(git tag --list)",
|
|
33
39
|
"prepublishOnly": "npm run test:unit && npm run build",
|
|
34
40
|
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
35
|
-
"precommit": "lint-staged"
|
|
41
|
+
"precommit": "lint-staged",
|
|
42
|
+
"install:api": "cd api && npm install",
|
|
43
|
+
"install:tabs": "cd tabs && npm install",
|
|
44
|
+
"installAll": "npm run install:api & npm run install:tabs"
|
|
36
45
|
},
|
|
37
46
|
"dependencies": {
|
|
38
47
|
"@apidevtools/swagger-parser": "^10.0.2",
|
|
@@ -48,7 +57,7 @@
|
|
|
48
57
|
"@azure/storage-blob": "^12.7.0",
|
|
49
58
|
"@dbpiper/timer": "1.0.0-beta.2",
|
|
50
59
|
"@feathersjs/hooks": "^0.6.5",
|
|
51
|
-
"@microsoft/teamsfx-api": "
|
|
60
|
+
"@microsoft/teamsfx-api": "0.12.1-alpha.12edbb86.0",
|
|
52
61
|
"@npmcli/package-json": "^1.0.1",
|
|
53
62
|
"@types/jwt-decode": "3.1.0",
|
|
54
63
|
"@types/proper-lockfile": "^4.1.1",
|
|
@@ -78,6 +87,7 @@
|
|
|
78
87
|
"node-ts-uuid": "^1.0.8",
|
|
79
88
|
"openapi-types": "^7.2.3",
|
|
80
89
|
"proper-lockfile": "^4.1.2",
|
|
90
|
+
"read-package-json-fast": "^2.0.3",
|
|
81
91
|
"reflect-metadata": "^0.1.13",
|
|
82
92
|
"semver": "^7.3.4",
|
|
83
93
|
"tedious": "^9.2.1",
|
|
@@ -98,6 +108,7 @@
|
|
|
98
108
|
"@types/adm-zip": "^0.4.33",
|
|
99
109
|
"@types/chai": "^4.2.14",
|
|
100
110
|
"@types/chai-as-promised": "^7.1.3",
|
|
111
|
+
"@types/chai-spies": "^1.0.3",
|
|
101
112
|
"@types/cryptr": "^4.0.1",
|
|
102
113
|
"@types/dateformat": "^3.0.1",
|
|
103
114
|
"@types/express": "^4.17.9",
|
|
@@ -119,6 +130,7 @@
|
|
|
119
130
|
"@types/semver": "^7.3.4",
|
|
120
131
|
"@types/sinon": "^9.0.10",
|
|
121
132
|
"@types/tedious": "^4.0.3",
|
|
133
|
+
"@types/tmp": "^0.2.0",
|
|
122
134
|
"@types/url-parse": "^1.4.3",
|
|
123
135
|
"@types/uuid": "^8.3.0",
|
|
124
136
|
"@types/validator": "^13.1.1",
|
|
@@ -126,12 +138,14 @@
|
|
|
126
138
|
"@typescript-eslint/parser": "^4.19.0",
|
|
127
139
|
"chai": "^4.2.0",
|
|
128
140
|
"chai-as-promised": "^7.1.1",
|
|
141
|
+
"chai-spies": "^1.0.0",
|
|
129
142
|
"copy-webpack-plugin": "^6.4.1",
|
|
130
143
|
"dotenv": "^8.2.0",
|
|
131
144
|
"eslint": "^7.22.0",
|
|
132
145
|
"eslint-plugin-import": "^2.25.2",
|
|
133
146
|
"eslint-plugin-prettier": "^4.0.0",
|
|
134
147
|
"faker": "^5.5.2",
|
|
148
|
+
"find-process": "^1.4.4",
|
|
135
149
|
"lint-staged": "^10.5.4",
|
|
136
150
|
"mocha": "^9.1.3",
|
|
137
151
|
"mocha-junit-reporter": "^2.0.2",
|
|
@@ -141,6 +155,7 @@
|
|
|
141
155
|
"prettier": "^2.4.1",
|
|
142
156
|
"sinon": "^9.2.2",
|
|
143
157
|
"source-map-support": "^0.5.19",
|
|
158
|
+
"tmp": "^0.2.1",
|
|
144
159
|
"ts-loader": "^8.0.3",
|
|
145
160
|
"ts-node": "^9.1.1",
|
|
146
161
|
"tslint": "^6.1.3",
|
|
@@ -155,7 +170,7 @@
|
|
|
155
170
|
"resource/**/*",
|
|
156
171
|
"templates/**/*"
|
|
157
172
|
],
|
|
158
|
-
"gitHead": "
|
|
173
|
+
"gitHead": "9cbb2c946f31a04619d1036b8e4cabf5ddcff484",
|
|
159
174
|
"publishConfig": {
|
|
160
175
|
"access": "public"
|
|
161
176
|
},
|