@microsoft/teamsfx-core 2.0.0-beta.2023041904.0 → 2.0.0-rc.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/deps-checker/constant/helpLink.d.ts +6 -6
- package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
- package/build/common/deps-checker/constant/helpLink.js +14 -7
- package/build/common/deps-checker/constant/helpLink.js.map +1 -1
- package/build/common/deps-checker/constant/message.d.ts +6 -5
- package/build/common/deps-checker/constant/message.d.ts.map +1 -1
- package/build/common/deps-checker/constant/message.js +13 -9
- package/build/common/deps-checker/constant/message.js.map +1 -1
- package/build/common/deps-checker/constant/telemetry.d.ts +12 -1
- package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
- package/build/common/deps-checker/constant/telemetry.js +11 -0
- package/build/common/deps-checker/constant/telemetry.js.map +1 -1
- package/build/common/deps-checker/depsChecker.d.ts +6 -1
- 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/internal/funcToolChecker.d.ts +20 -40
- package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/funcToolChecker.js +208 -295
- package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.d.ts +3 -3
- package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/nodeChecker.js +4 -6
- package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
- package/build/common/deps-checker/internal/vxTestAppChecker.d.ts +0 -1
- package/build/common/deps-checker/internal/vxTestAppChecker.d.ts.map +1 -1
- package/build/common/deps-checker/internal/vxTestAppChecker.js +3 -21
- package/build/common/deps-checker/internal/vxTestAppChecker.js.map +1 -1
- package/build/common/deps-checker/util/fileHelper.d.ts +4 -0
- package/build/common/deps-checker/util/fileHelper.d.ts.map +1 -0
- package/build/common/deps-checker/util/fileHelper.js +45 -0
- package/build/common/deps-checker/util/fileHelper.js.map +1 -0
- package/build/common/local/constants.d.ts +7 -0
- package/build/common/local/constants.d.ts.map +1 -1
- package/build/common/local/constants.js +7 -0
- package/build/common/local/constants.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +2 -3
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/samples-config-v3.json +23 -0
- package/build/common/samples.js +1 -1
- package/build/common/samples.js.map +1 -1
- package/build/common/telemetry.d.ts +1 -0
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +1 -0
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +1 -0
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +6 -2
- package/build/common/tools.js.map +1 -1
- package/build/common/versionMetadata.d.ts +5 -0
- package/build/common/versionMetadata.d.ts.map +1 -1
- package/build/common/versionMetadata.js +11 -0
- package/build/common/versionMetadata.js.map +1 -1
- package/build/component/configManager/diagnostic.d.ts +9 -0
- package/build/component/configManager/diagnostic.d.ts.map +1 -0
- package/build/component/configManager/diagnostic.js +47 -0
- package/build/component/configManager/diagnostic.js.map +1 -0
- package/build/component/configManager/parser.d.ts.map +1 -1
- package/build/component/configManager/parser.js +11 -5
- package/build/component/configManager/parser.js.map +1 -1
- package/build/component/constants.d.ts +4 -0
- package/build/component/constants.d.ts.map +1 -1
- package/build/component/constants.js +49 -26
- package/build/component/constants.js.map +1 -1
- package/build/component/coordinator/index.d.ts +2 -2
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +55 -70
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/debugHandler/appManifest.js +2 -1
- package/build/component/debugHandler/appManifest.js.map +1 -1
- package/build/component/debugHandler/error.d.ts +0 -1
- package/build/component/debugHandler/error.d.ts.map +1 -1
- package/build/component/debugHandler/error.js +1 -5
- package/build/component/debugHandler/error.js.map +1 -1
- package/build/component/developerPortalScaffoldUtils.d.ts +4 -1
- package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
- package/build/component/developerPortalScaffoldUtils.js +5 -5
- package/build/component/developerPortalScaffoldUtils.js.map +1 -1
- package/build/component/driver/aad/create.d.ts.map +1 -1
- package/build/component/driver/aad/create.js +5 -14
- package/build/component/driver/aad/create.js.map +1 -1
- package/build/component/driver/aad/update.d.ts.map +1 -1
- package/build/component/driver/aad/update.js +17 -8
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/aad/utility/buildAadManifest.js +1 -1
- package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
- package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
- package/build/component/driver/arm/deployImpl.js +4 -1
- package/build/component/driver/arm/deployImpl.js.map +1 -1
- package/build/component/driver/arm/validator.d.ts.map +1 -1
- package/build/component/driver/arm/validator.js +0 -15
- package/build/component/driver/arm/validator.js.map +1 -1
- package/build/component/driver/botAadApp/create.d.ts.map +1 -1
- package/build/component/driver/botAadApp/create.js +5 -6
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
- package/build/component/driver/botFramework/createOrUpdateBot.js +1 -2
- package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
- package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/azureStorageDeployDriver.js +7 -15
- package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -1
- package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +3 -3
- package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +11 -11
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts +2 -3
- package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +45 -13
- package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts +1 -1
- package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/impl/baseDeployImpl.js +6 -0
- package/build/component/driver/deploy/azure/impl/baseDeployImpl.js.map +1 -1
- package/build/component/driver/devTool/installDriver.d.ts +1 -1
- package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
- package/build/component/driver/devTool/installDriver.js +42 -13
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts +5 -1
- package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts.map +1 -1
- package/build/component/driver/error/outputEnvironmentVariableUndefinedError.d.ts +5 -0
- package/build/component/driver/error/outputEnvironmentVariableUndefinedError.d.ts.map +1 -0
- package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js +22 -0
- package/build/component/driver/error/outputEnvironmentVariableUndefinedError.js.map +1 -0
- package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js +1 -2
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
- package/build/component/driver/file/createOrUpdateJsonFile.d.ts.map +1 -1
- package/build/component/driver/file/createOrUpdateJsonFile.js +1 -2
- package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
- package/build/component/driver/m365/acquire.d.ts.map +1 -1
- package/build/component/driver/m365/acquire.js +3 -4
- package/build/component/driver/m365/acquire.js.map +1 -1
- package/build/component/driver/middleware/addStartAndEndTelemetry.d.ts.map +1 -1
- package/build/component/driver/middleware/addStartAndEndTelemetry.js +11 -5
- package/build/component/driver/middleware/addStartAndEndTelemetry.js.map +1 -1
- package/build/component/driver/script/scriptDriver.js +4 -2
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts +5 -0
- package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts.map +1 -1
- package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
- package/build/component/driver/teamsApp/validate.js +31 -13
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/validateAppPackage.js +26 -8
- package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
- package/build/component/error/deployError.d.ts +0 -17
- package/build/component/error/deployError.d.ts.map +1 -1
- package/build/component/error/deployError.js +0 -80
- package/build/component/error/deployError.js.map +1 -1
- package/build/component/feature/apiconnector/errors.d.ts +0 -4
- package/build/component/feature/apiconnector/errors.d.ts.map +1 -1
- package/build/component/feature/apiconnector/errors.js +12 -16
- package/build/component/feature/apiconnector/errors.js.map +1 -1
- package/build/component/feature/bot/bot.js +8 -8
- package/build/component/feature/bot/bot.js.map +1 -1
- package/build/component/feature/bot/question.d.ts +6 -6
- package/build/component/feature/bot/question.d.ts.map +1 -1
- package/build/component/feature/bot/question.js +69 -38
- package/build/component/feature/bot/question.js.map +1 -1
- package/build/component/generator/constant.d.ts +2 -0
- package/build/component/generator/constant.d.ts.map +1 -1
- package/build/component/generator/constant.js +3 -1
- package/build/component/generator/constant.js.map +1 -1
- package/build/component/generator/error.d.ts +9 -0
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +19 -1
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/generator.d.ts +1 -1
- package/build/component/generator/generator.d.ts.map +1 -1
- package/build/component/generator/generator.js +25 -8
- package/build/component/generator/generator.js.map +1 -1
- package/build/component/generator/generatorAction.d.ts +5 -2
- package/build/component/generator/generatorAction.d.ts.map +1 -1
- package/build/component/generator/generatorAction.js +20 -10
- package/build/component/generator/generatorAction.js.map +1 -1
- package/build/component/generator/officeAddin/question.d.ts.map +1 -1
- package/build/component/generator/officeAddin/question.js +3 -3
- package/build/component/generator/officeAddin/question.js.map +1 -1
- package/build/component/generator/utils.d.ts +2 -0
- package/build/component/generator/utils.d.ts.map +1 -1
- package/build/component/generator/utils.js +64 -2
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/messages.d.ts +3 -3
- package/build/component/messages.d.ts.map +1 -1
- package/build/component/messages.js +3 -3
- package/build/component/messages.js.map +1 -1
- package/build/component/question.d.ts.map +1 -1
- package/build/component/question.js +1 -10
- package/build/component/question.js.map +1 -1
- package/build/component/resource/appManifest/appStudio.d.ts.map +1 -1
- package/build/component/resource/appManifest/appStudio.js +2 -1
- package/build/component/resource/appManifest/appStudio.js.map +1 -1
- package/build/component/resource/appManifest/errors.d.ts +0 -4
- package/build/component/resource/appManifest/errors.d.ts.map +1 -1
- package/build/component/resource/appManifest/errors.js +0 -7
- package/build/component/resource/appManifest/errors.js.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +1 -0
- package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/resource/appManifest/utils/ManifestUtils.js +8 -5
- package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
- package/build/component/resource/appManifest/utils/utils.d.ts.map +1 -1
- package/build/component/resource/appManifest/utils/utils.js +5 -1
- package/build/component/resource/appManifest/utils/utils.js.map +1 -1
- package/build/component/resource/azureSql/errors.js +28 -28
- package/build/component/resource/azureSql/errors.js.map +1 -1
- package/build/component/resource/azureStorage/configs.d.ts +1 -1
- package/build/component/utils/ResourceGroupHelper.d.ts +1 -6
- package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
- package/build/component/utils/ResourceGroupHelper.js +65 -131
- package/build/component/utils/ResourceGroupHelper.js.map +1 -1
- package/build/component/utils/azureSdkErrorHandler.d.ts +2 -1
- package/build/component/utils/azureSdkErrorHandler.d.ts.map +1 -1
- package/build/component/utils/azureSdkErrorHandler.js.map +1 -1
- package/build/component/utils/depsChecker/bicepChecker.d.ts.map +1 -1
- package/build/component/utils/depsChecker/bicepChecker.js +4 -7
- package/build/component/utils/depsChecker/bicepChecker.js.map +1 -1
- package/build/component/utils/envUtil.d.ts.map +1 -1
- package/build/component/utils/envUtil.js +5 -8
- package/build/component/utils/envUtil.js.map +1 -1
- package/build/core/FxCore.d.ts +68 -7
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +70 -29
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts +2 -1
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +45 -26
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +2 -13
- package/build/core/environment.js.map +1 -1
- package/build/core/error.d.ts +1 -13
- package/build/core/error.d.ts.map +1 -1
- package/build/core/error.js +1 -57
- package/build/core/error.js.map +1 -1
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +3 -10
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +3 -1
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +81 -35
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +100 -17
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/MigrationUtils.js +1 -0
- package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts +2 -0
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +8 -4
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +1 -1
- package/build/core/middleware/utils/debug/taskMigrator.d.ts +1 -0
- package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +1 -1
- package/build/core/middleware/utils/debug/taskMigrator.js +134 -37
- package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
- package/build/core/middleware/utils/migrationContext.d.ts +1 -0
- package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
- package/build/core/middleware/utils/migrationContext.js +1 -0
- package/build/core/middleware/utils/migrationContext.js.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.d.ts +9 -1
- package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.js +49 -18
- package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
- package/build/core/question.d.ts +8 -2
- package/build/core/question.d.ts.map +1 -1
- package/build/core/question.js +176 -88
- package/build/core/question.js.map +1 -1
- package/build/error/arm.d.ts +6 -0
- package/build/error/arm.d.ts.map +1 -1
- package/build/error/arm.js +17 -1
- package/build/error/arm.js.map +1 -1
- package/build/error/azure.d.ts +30 -0
- package/build/error/azure.d.ts.map +1 -1
- package/build/error/azure.js +81 -1
- package/build/error/azure.js.map +1 -1
- package/build/error/common.d.ts +14 -2
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +59 -11
- package/build/error/common.js.map +1 -1
- package/build/error/deploy.d.ts +28 -0
- package/build/error/deploy.d.ts.map +1 -1
- package/build/error/deploy.js +100 -1
- package/build/error/deploy.js.map +1 -1
- package/build/error/upgrade.d.ts +5 -0
- package/build/error/upgrade.d.ts.map +1 -0
- package/build/error/upgrade.js +16 -0
- package/build/error/upgrade.js.map +1 -0
- package/package.json +13 -8
- package/resource/package.nls.cs.json +307 -366
- package/resource/package.nls.de.json +307 -366
- package/resource/package.nls.es.json +307 -366
- package/resource/package.nls.fr.json +307 -366
- package/resource/package.nls.it.json +307 -366
- package/resource/package.nls.ja.json +307 -366
- package/resource/package.nls.json +102 -107
- package/resource/package.nls.ko.json +307 -366
- package/resource/package.nls.pl.json +307 -366
- package/resource/package.nls.pt-BR.json +307 -366
- package/resource/package.nls.ru.json +307 -366
- package/resource/package.nls.tr.json +307 -366
- package/resource/package.nls.zh-Hans.json +307 -366
- package/resource/package.nls.zh-Hant.json +307 -366
- package/resource/yaml.schema.json +23 -2
- package/templates/core/v3Migration/csharp.app.local.yml +7 -12
- package/templates/core/v3Migration/csharp.app.yml +16 -7
- package/templates/core/v3Migration/js.ts.app.local.yml +100 -48
- package/templates/core/v3Migration/js.ts.app.yml +146 -50
- package/templates/core/v3Migration/spfx.app.yml +60 -16
- package/templates/core/v3Migration/upgradeReport.md +4 -2
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/plugins/resource/aad/auth/V3/Bot/SSO/SsoOperations.cs +23 -8
- package/templates/plugins/resource/aad/auth/V3/Tab/GetUserProfile.razor +2 -1
- package/build/component/driver/aad/error/invalidParameterUserError.d.ts +0 -5
- package/build/component/driver/aad/error/invalidParameterUserError.d.ts.map +0 -1
- package/build/component/driver/aad/error/invalidParameterUserError.js +0 -29
- package/build/component/driver/aad/error/invalidParameterUserError.js.map +0 -1
- package/build/component/driver/aad/error/unhandledError.d.ts +0 -8
- package/build/component/driver/aad/error/unhandledError.d.ts.map +0 -1
- package/build/component/driver/aad/error/unhandledError.js +0 -33
- package/build/component/driver/aad/error/unhandledError.js.map +0 -1
- package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts +0 -5
- package/build/component/driver/botAadApp/error/invalidParameterUserError.d.ts.map +0 -1
- package/build/component/driver/botAadApp/error/invalidParameterUserError.js +0 -30
- package/build/component/driver/botAadApp/error/invalidParameterUserError.js.map +0 -1
- package/build/component/driver/botAadApp/error/unhandledError.d.ts +0 -8
- package/build/component/driver/botAadApp/error/unhandledError.d.ts.map +0 -1
- package/build/component/driver/botAadApp/error/unhandledError.js +0 -33
- package/build/component/driver/botAadApp/error/unhandledError.js.map +0 -1
- package/build/component/driver/botFramework/error/unhandledError.d.ts +0 -5
- package/build/component/driver/botFramework/error/unhandledError.d.ts.map +0 -1
- package/build/component/driver/botFramework/error/unhandledError.js +0 -25
- package/build/component/driver/botFramework/error/unhandledError.js.map +0 -1
- package/build/component/driver/file/error/unhandledError.d.ts +0 -5
- package/build/component/driver/file/error/unhandledError.d.ts.map +0 -1
- package/build/component/driver/file/error/unhandledError.js +0 -25
- package/build/component/driver/file/error/unhandledError.js.map +0 -1
- package/build/component/driver/m365/error/FileNotFoundUserError.d.ts +0 -5
- package/build/component/driver/m365/error/FileNotFoundUserError.d.ts.map +0 -1
- package/build/component/driver/m365/error/FileNotFoundUserError.js +0 -22
- package/build/component/driver/m365/error/FileNotFoundUserError.js.map +0 -1
- package/build/component/driver/m365/error/unhandledError.d.ts +0 -5
- package/build/component/driver/m365/error/unhandledError.d.ts.map +0 -1
- package/build/component/driver/m365/error/unhandledError.js +0 -25
- package/build/component/driver/m365/error/unhandledError.js.map +0 -1
- package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
- package/templates/fallback/bot.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
- package/templates/fallback/bot.csharp.workflow.zip +0 -0
- package/templates/fallback/bot.js.command-and-response.zip +0 -0
- package/templates/fallback/bot.js.default.zip +0 -0
- package/templates/fallback/bot.js.m365.zip +0 -0
- package/templates/fallback/bot.js.notification-function-base.zip +0 -0
- package/templates/fallback/bot.js.notification-restify.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.js.workflow.zip +0 -0
- package/templates/fallback/bot.ts.command-and-response.zip +0 -0
- package/templates/fallback/bot.ts.default.zip +0 -0
- package/templates/fallback/bot.ts.m365.zip +0 -0
- package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
- package/templates/fallback/bot.ts.notification-restify.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.workflow.zip +0 -0
- package/templates/fallback/function-base.js.default.zip +0 -0
- package/templates/fallback/function-base.ts.default.zip +0 -0
- package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/fallback/tab.csharp.default.zip +0 -0
- package/templates/fallback/tab.csharp.non-sso.zip +0 -0
- package/templates/fallback/tab.js.dashboard.zip +0 -0
- package/templates/fallback/tab.js.default.zip +0 -0
- package/templates/fallback/tab.js.m365.zip +0 -0
- package/templates/fallback/tab.js.non-sso.zip +0 -0
- package/templates/fallback/tab.ts.dashboard.zip +0 -0
- package/templates/fallback/tab.ts.default.zip +0 -0
- package/templates/fallback/tab.ts.m365.zip +0 -0
- package/templates/fallback/tab.ts.non-sso.zip +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const defaultHelpLink = "https://aka.ms/teamsfx-envchecker-help";
|
|
2
|
+
export declare const v3DefaultHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
2
3
|
export declare const validationSettingsHelpLink: string;
|
|
3
4
|
export declare const functionDepsVersionsLink = "https://aka.ms/functions-node-versions";
|
|
4
|
-
export declare const nodeNotFoundHelpLink
|
|
5
|
-
export declare const nodeNotSupportedForAzureHelpLink
|
|
6
|
-
export declare const nodeNotSupportedForFunctionsHelpLink: string;
|
|
5
|
+
export declare const nodeNotFoundHelpLink = "https://aka.ms/teamsfx-node";
|
|
6
|
+
export declare const nodeNotSupportedForAzureHelpLink = "https://aka.ms/teamsfx-node";
|
|
7
7
|
export declare const nodeNotSupportedForSPFxHelpLink: string;
|
|
8
8
|
export declare const nodeInstallationLink = "https://nodejs.org/about/releases/";
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
9
|
+
export declare const dotnetDefaultHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
10
|
+
export declare const dotnetExplanationHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
11
|
+
export declare const dotnetFailToInstallHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
12
12
|
export declare const dotnetNotSupportTargetVersionHelpLink: string;
|
|
13
13
|
export declare const ngrokInstallHelpLink: string;
|
|
14
14
|
export declare const vxTestAppInstallHelpLink: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpLink.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/helpLink.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpLink.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/helpLink.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,2CAA2C,CAAC;AACxE,eAAO,MAAM,iBAAiB,mDAAmD,CAAC;AAGlF,eAAO,MAAM,0BAA0B,QAAyD,CAAC;AAEjG,eAAO,MAAM,wBAAwB,2CAA2C,CAAC;AAGjF,eAAO,MAAM,oBAAoB,gCAAgC,CAAC;AAElE,eAAO,MAAM,gCAAgC,gCAAgC,CAAC;AAE9E,eAAO,MAAM,+BAA+B,QAAqD,CAAC;AAClG,eAAO,MAAM,oBAAoB,uCAAuC,CAAC;AAEzE,eAAO,MAAM,qBAAqB,mDAAmD,CAAC;AACtF,eAAO,MAAM,yBAAyB,mDAAwB,CAAC;AAC/D,eAAO,MAAM,2BAA2B,mDAAwB,CAAC;AAEjE,eAAO,MAAM,qCAAqC,QAAqD,CAAC;AAGxG,eAAO,MAAM,oBAAoB,QAA0C,CAAC;AAC5E,eAAO,MAAM,wBAAwB,QAAmE,CAAC;AAEzG,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,0BAA0B,gCAAgC,CAAC;AACxE,eAAO,MAAM,oBAAoB,gCAAgC,CAAC"}
|
|
@@ -2,19 +2,26 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.v3NodeNotLtsHelpLink = exports.v3NodeNotSupportedHelpLink = exports.v3NodeNotFoundHelpLink = exports.vxTestAppInstallHelpLink = exports.ngrokInstallHelpLink = exports.dotnetNotSupportTargetVersionHelpLink = exports.
|
|
5
|
+
exports.v3NodeNotLtsHelpLink = exports.v3NodeNotSupportedHelpLink = exports.v3NodeNotFoundHelpLink = exports.vxTestAppInstallHelpLink = exports.ngrokInstallHelpLink = exports.dotnetNotSupportTargetVersionHelpLink = exports.dotnetFailToInstallHelpLink = exports.dotnetExplanationHelpLink = exports.dotnetDefaultHelpLink = exports.nodeInstallationLink = exports.nodeNotSupportedForSPFxHelpLink = exports.nodeNotSupportedForAzureHelpLink = exports.nodeNotFoundHelpLink = exports.functionDepsVersionsLink = exports.validationSettingsHelpLink = exports.v3DefaultHelpLink = exports.defaultHelpLink = void 0;
|
|
6
|
+
// TODO: remove this link after clean the useless code.
|
|
6
7
|
exports.defaultHelpLink = "https://aka.ms/teamsfx-envchecker-help";
|
|
8
|
+
exports.v3DefaultHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
9
|
+
// TODO: remove this link after clean the useless code.
|
|
7
10
|
exports.validationSettingsHelpLink = `${exports.defaultHelpLink}#teams-toolkit-validation-settings`;
|
|
8
11
|
exports.functionDepsVersionsLink = "https://aka.ms/functions-node-versions";
|
|
9
|
-
|
|
10
|
-
exports.
|
|
11
|
-
|
|
12
|
+
// TODO: remove this link after clean the useless code.
|
|
13
|
+
exports.nodeNotFoundHelpLink = `https://aka.ms/teamsfx-node`;
|
|
14
|
+
// TODO: remove this link after clean the useless code.
|
|
15
|
+
exports.nodeNotSupportedForAzureHelpLink = `https://aka.ms/teamsfx-node`;
|
|
16
|
+
// TODO: remove this link after clean the useless code.
|
|
12
17
|
exports.nodeNotSupportedForSPFxHelpLink = `${exports.defaultHelpLink}#nodenotsupported-spfx-hosting`;
|
|
13
18
|
exports.nodeInstallationLink = "https://nodejs.org/about/releases/";
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
19
|
+
exports.dotnetDefaultHelpLink = "https://aka.ms/teamsfx-actions/devtool-install";
|
|
20
|
+
exports.dotnetExplanationHelpLink = exports.dotnetDefaultHelpLink;
|
|
21
|
+
exports.dotnetFailToInstallHelpLink = exports.dotnetDefaultHelpLink;
|
|
22
|
+
// TODO: remove this link after clean the useless code.
|
|
17
23
|
exports.dotnetNotSupportTargetVersionHelpLink = `${exports.defaultHelpLink}#dotnetnotsupporttargetversion`;
|
|
24
|
+
// TODO: remove this link after clean the useless code.
|
|
18
25
|
exports.ngrokInstallHelpLink = `${exports.defaultHelpLink}#failtoinstallngrok`;
|
|
19
26
|
exports.vxTestAppInstallHelpLink = `${exports.defaultHelpLink}#failtoinstallteamsvideoextensibilitytestapp`;
|
|
20
27
|
exports.v3NodeNotFoundHelpLink = "https://aka.ms/teamsfx-node";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpLink.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/helpLink.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;
|
|
1
|
+
{"version":3,"file":"helpLink.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/helpLink.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,uDAAuD;AAC1C,QAAA,eAAe,GAAG,wCAAwC,CAAC;AAC3D,QAAA,iBAAiB,GAAG,gDAAgD,CAAC;AAElF,uDAAuD;AAC1C,QAAA,0BAA0B,GAAG,GAAG,uBAAe,oCAAoC,CAAC;AAEpF,QAAA,wBAAwB,GAAG,wCAAwC,CAAC;AAEjF,uDAAuD;AAC1C,QAAA,oBAAoB,GAAG,6BAA6B,CAAC;AAClE,uDAAuD;AAC1C,QAAA,gCAAgC,GAAG,6BAA6B,CAAC;AAC9E,uDAAuD;AAC1C,QAAA,+BAA+B,GAAG,GAAG,uBAAe,gCAAgC,CAAC;AACrF,QAAA,oBAAoB,GAAG,oCAAoC,CAAC;AAE5D,QAAA,qBAAqB,GAAG,gDAAgD,CAAC;AACzE,QAAA,yBAAyB,GAAG,6BAAqB,CAAC;AAClD,QAAA,2BAA2B,GAAG,6BAAqB,CAAC;AACjE,uDAAuD;AAC1C,QAAA,qCAAqC,GAAG,GAAG,uBAAe,gCAAgC,CAAC;AAExG,uDAAuD;AAC1C,QAAA,oBAAoB,GAAG,GAAG,uBAAe,qBAAqB,CAAC;AAC/D,QAAA,wBAAwB,GAAG,GAAG,uBAAe,8CAA8C,CAAC;AAE5F,QAAA,sBAAsB,GAAG,6BAA6B,CAAC;AACvD,QAAA,0BAA0B,GAAG,6BAA6B,CAAC;AAC3D,QAAA,oBAAoB,GAAG,6BAA6B,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export declare const Messages: {
|
|
2
2
|
defaultErrorMessage: () => string[];
|
|
3
|
-
|
|
4
|
-
finishInstallFunctionCoreTool: () => string;
|
|
5
|
-
needInstallFuncCoreTool: () => string;
|
|
3
|
+
needInstallNpm: () => string;
|
|
6
4
|
failToValidateFuncCoreTool: () => string;
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
portableFuncNodeNotMatched: (nodeVersion: string, funcVersion: string) => string;
|
|
6
|
+
symlinkDirAlreadyExist: () => string;
|
|
7
|
+
invalidFuncVersion: (version: string) => string;
|
|
8
|
+
noSentinelFile: () => string;
|
|
9
|
+
funcVersionNotMatch: (funcVersion: string, expectedFuncVersion: string) => string;
|
|
9
10
|
startInstallNgrok: () => string;
|
|
10
11
|
finishInstallNgrok: () => string;
|
|
11
12
|
needInstallNgrok: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/message.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;;;8CAQuB,MAAM,eAAe,MAAM;;kCAKvC,MAAM;;uCAGD,MAAM,uBAAuB,MAAM;;;;;;;;;;;;yCAmBjC,MAAM,qBAAqB,MAAM;iCAOzC,MAAM,qBAAqB,MAAM;;;;;;CAsB/D,CAAC"}
|
|
@@ -4,19 +4,22 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Messages = void 0;
|
|
6
6
|
const localizeUtils_1 = require("../../localizeUtils");
|
|
7
|
+
const helpLink_1 = require("./helpLink");
|
|
7
8
|
exports.Messages = {
|
|
8
9
|
// learnMoreButtonText: getLocalizedString("depChecker.learnMoreButtonText"),
|
|
9
10
|
defaultErrorMessage: () => [
|
|
10
11
|
localizeUtils_1.getDefaultString("error.depChecker.DefaultErrorMessage"),
|
|
11
12
|
localizeUtils_1.getLocalizedString("error.depChecker.DefaultErrorMessage"),
|
|
12
13
|
],
|
|
13
|
-
|
|
14
|
-
finishInstallFunctionCoreTool: () => localizeUtils_1.getLocalizedString("depChecker.finishInstallFunctionCoreTool"),
|
|
15
|
-
// needReplaceWithFuncCoreToolV3: () => getLocalizedString("depChecker.needReplaceWithFuncCoreToolV3"),
|
|
16
|
-
needInstallFuncCoreTool: () => localizeUtils_1.getLocalizedString("depChecker.needInstallFuncCoreTool"),
|
|
14
|
+
needInstallNpm: () => localizeUtils_1.getLocalizedString("depChecker.needInstallNpm"),
|
|
17
15
|
failToValidateFuncCoreTool: () => localizeUtils_1.getLocalizedString("depChecker.failToValidateFuncCoreTool"),
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
portableFuncNodeNotMatched: (nodeVersion, funcVersion) => localizeUtils_1.getLocalizedString("depChecker.portableFuncNodeNotMatched")
|
|
17
|
+
.replace("@NodeVersion", nodeVersion)
|
|
18
|
+
.replace("@FuncVersion", funcVersion),
|
|
19
|
+
symlinkDirAlreadyExist: () => localizeUtils_1.getLocalizedString("depChecker.symlinkDirAlreadyExist"),
|
|
20
|
+
invalidFuncVersion: (version) => localizeUtils_1.getLocalizedString("depChecker.invalidFuncVersion", version),
|
|
21
|
+
noSentinelFile: () => localizeUtils_1.getLocalizedString("depChecker.noSentinelFile"),
|
|
22
|
+
funcVersionNotMatch: (funcVersion, expectedFuncVersion) => localizeUtils_1.getLocalizedString("depChecker.funcVersionNotMatch", funcVersion, expectedFuncVersion),
|
|
20
23
|
startInstallNgrok: () => localizeUtils_1.getLocalizedString("depChecker.startInstallNgrok"),
|
|
21
24
|
finishInstallNgrok: () => localizeUtils_1.getLocalizedString("depChecker.finishInstallNgrok"),
|
|
22
25
|
needInstallNgrok: () => localizeUtils_1.getLocalizedString("depChecker.needInstallNgrok"),
|
|
@@ -26,12 +29,13 @@ exports.Messages = {
|
|
|
26
29
|
useGlobalDotnet: () => localizeUtils_1.getLocalizedString("depChecker.useGlobalDotnet"),
|
|
27
30
|
dotnetInstallStderr: () => localizeUtils_1.getLocalizedString("depChecker.dotnetInstallStderr"),
|
|
28
31
|
dotnetInstallErrorCode: () => localizeUtils_1.getLocalizedString("depChecker.dotnetInstallErrorCode"),
|
|
29
|
-
NodeNotFound: () => localizeUtils_1.getLocalizedString("depChecker.NodeNotFound"),
|
|
32
|
+
NodeNotFound: () => localizeUtils_1.getLocalizedString("depChecker.NodeNotFound", helpLink_1.nodeInstallationLink),
|
|
33
|
+
// TODO: remove this message after clean useless code
|
|
30
34
|
NodeNotSupported: () => localizeUtils_1.getLocalizedString("depChecker.NodeNotSupported"),
|
|
31
35
|
// In v3, the message will be displayed in the output.
|
|
32
36
|
// TODO: add localized string to FxError.displayMessage
|
|
33
|
-
V3NodeNotSupported: (currentVersion, supportedVersions) => localizeUtils_1.getDefaultString("depChecker.V3NodeNotSupported", currentVersion, supportedVersions),
|
|
34
|
-
NodeNotLts: (currentVersion, supportedVersions) => localizeUtils_1.getDefaultString("depChecker.NodeNotLts", currentVersion, supportedVersions),
|
|
37
|
+
V3NodeNotSupported: (currentVersion, supportedVersions) => localizeUtils_1.getDefaultString("depChecker.V3NodeNotSupported", currentVersion, supportedVersions, helpLink_1.nodeInstallationLink),
|
|
38
|
+
NodeNotLts: (currentVersion, supportedVersions) => localizeUtils_1.getDefaultString("depChecker.NodeNotLts", currentVersion, supportedVersions, helpLink_1.nodeInstallationLink),
|
|
35
39
|
dotnetNotFound: () => localizeUtils_1.getLocalizedString("depChecker.dotnetNotFound"),
|
|
36
40
|
// depsNotFound: () => getLocalizedString("depChecker.depsNotFound"),
|
|
37
41
|
failToValidateVxTestAppInstallOptions: () => localizeUtils_1.getLocalizedString("depChecker.failToValidateVxTestAppInstallOptions"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/message.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,uDAA2E;
|
|
1
|
+
{"version":3,"file":"message.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/message.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,uDAA2E;AAC3E,yCAAkD;AAErC,QAAA,QAAQ,GAAG;IACtB,6EAA6E;IAC7E,mBAAmB,EAAE,GAAG,EAAE,CAAC;QACzB,gCAAgB,CAAC,sCAAsC,CAAC;QACxD,kCAAkB,CAAC,sCAAsC,CAAC;KAC3D;IACD,cAAc,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,2BAA2B,CAAC;IACrE,0BAA0B,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,uCAAuC,CAAC;IAC7F,0BAA0B,EAAE,CAAC,WAAmB,EAAE,WAAmB,EAAE,EAAE,CACvE,kCAAkB,CAAC,uCAAuC,CAAC;SACxD,OAAO,CAAC,cAAc,EAAE,WAAW,CAAC;SACpC,OAAO,CAAC,cAAc,EAAE,WAAW,CAAC;IACzC,sBAAsB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,mCAAmC,CAAC;IACrF,kBAAkB,EAAE,CAAC,OAAe,EAAE,EAAE,CACtC,kCAAkB,CAAC,+BAA+B,EAAE,OAAO,CAAC;IAC9D,cAAc,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,2BAA2B,CAAC;IACrE,mBAAmB,EAAE,CAAC,WAAmB,EAAE,mBAA2B,EAAE,EAAE,CACxE,kCAAkB,CAAC,gCAAgC,EAAE,WAAW,EAAE,mBAAmB,CAAC;IACxF,iBAAiB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,8BAA8B,CAAC;IAC3E,kBAAkB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,+BAA+B,CAAC;IAC7E,gBAAgB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,6BAA6B,CAAC;IACzE,mBAAmB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,gCAAgC,CAAC;IAE/E,cAAc,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,2BAA2B,CAAC;IACrE,mBAAmB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,gCAAgC,CAAC;IAC/E,eAAe,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,4BAA4B,CAAC;IACvE,mBAAmB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,gCAAgC,CAAC;IAC/E,sBAAsB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,mCAAmC,CAAC;IAErF,YAAY,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,yBAAyB,EAAE,+BAAoB,CAAC;IACvF,qDAAqD;IACrD,gBAAgB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,6BAA6B,CAAC;IAEzE,sDAAsD;IACtD,uDAAuD;IACvD,kBAAkB,EAAE,CAAC,cAAsB,EAAE,iBAAyB,EAAE,EAAE,CACxE,gCAAgB,CACd,+BAA+B,EAC/B,cAAc,EACd,iBAAiB,EACjB,+BAAoB,CACrB;IACH,UAAU,EAAE,CAAC,cAAsB,EAAE,iBAAyB,EAAE,EAAE,CAChE,gCAAgB,CACd,uBAAuB,EACvB,cAAc,EACd,iBAAiB,EACjB,+BAAoB,CACrB;IAEH,cAAc,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,2BAA2B,CAAC;IACrE,qEAAqE;IAErE,qCAAqC,EAAE,GAAG,EAAE,CAC1C,kCAAkB,CAAC,kDAAkD,CAAC;IACxE,uBAAuB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,oCAAoC,CAAC;IAEvF,qBAAqB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,kCAAkC,CAAC;IAEnF,iBAAiB,EAAE,GAAG,EAAE,CAAC,kCAAkB,CAAC,8BAA8B,CAAC;IAE3E,8DAA8D;IAC9D,kDAAkD;IAClD,KAAK;CACN,CAAC"}
|
|
@@ -48,7 +48,18 @@ export declare enum TelemetryProperties {
|
|
|
48
48
|
NgrokNpmInstallNodeVersion = "ngrok-npm-install-node-version",
|
|
49
49
|
NgrokNpmInstallNpmVersion = "ngrok-npm-install-npm-version",
|
|
50
50
|
NgrokNpmInstallExitCode = "ngrok-npm-install-exit-code",
|
|
51
|
-
NgrokNpmInstallLog = "ngrok-npm-install-log"
|
|
51
|
+
NgrokNpmInstallLog = "ngrok-npm-install-log",
|
|
52
|
+
SymlinkFuncVersion = "symlink-func-version",
|
|
53
|
+
SelectedPortableFuncVersion = "selected-portable-func-version",
|
|
54
|
+
HistoryFuncVersion = "history-func-version",
|
|
55
|
+
VersioningFuncVersions = "versioning-func-versions",
|
|
56
|
+
GlobalFuncVersion = "global-func-version",
|
|
57
|
+
InstalledFuncVersion = "installed-func-version",
|
|
58
|
+
SymlinkFuncVersionError = "symlink-func-version-error",
|
|
59
|
+
HistoryFuncVersionError = "history-func-version-error",
|
|
60
|
+
VersioningFuncVersionError = "versioning-func-version-error",
|
|
61
|
+
GlobalFuncVersionError = "global-func-version-error",
|
|
62
|
+
InstallFuncError = "install-func-error"
|
|
52
63
|
}
|
|
53
64
|
export declare enum TelemetryMessurement {
|
|
54
65
|
completionTime = "completion-time"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/telemetry.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB;IAC1B,cAAc,iCAAiC;IAC/C,WAAW,6BAA6B;IAExC,WAAW,iBAAiB;IAC5B,gBAAgB,uBAAuB;IACvC,YAAY,mBAAmB;IAC/B,wBAAwB,iCAAiC;IACzD,uBAAuB,gCAAgC;IACvD,0BAA0B,mCAAmC;IAC7D,UAAU,iBAAiB;IAE3B,WAAW,kBAAkB;IAC7B,mBAAmB,0BAA0B;IAE7C,gBAAgB,uBAAuB;IACvC,oBAAoB,2BAA2B;IAC/C,oBAAoB,2BAA2B;IAC/C,gBAAgB,uBAAuB;IACvC,0BAA0B,kCAAkC;IAC5D,sBAAsB,8BAA8B;IACpD,mBAAmB,0BAA0B;IAE7C,kBAAkB,yBAAyB;IAC3C,sBAAsB,6BAA6B;IACnD,sBAAsB,6BAA6B;IACnD,kBAAkB,yBAAyB;IAC3C,4BAA4B,oCAAoC;IAChE,wBAAwB,gCAAgC;IACxD,qBAAqB,4BAA4B;IACjD,sBAAsB,8BAA8B;IAEpD,iBAAiB,wBAAwB;IACzC,qBAAqB,4BAA4B;IACjD,iBAAiB,wBAAwB;IACzC,WAAW,kBAAkB;IAC7B,2BAA2B,mCAAmC;IAC9D,uBAAuB,+BAA+B;IACtD,oBAAoB,2BAA2B;IAE/C,gBAAgB,uBAAuB;CACxC;AAED,oBAAY,gBAAgB;IAC1B,mBAAmB,uCAAuC;IAC1D,oBAAoB,6BAA6B;IACjD,WAAW,sBAAsB;IACjC,wBAAwB,kCAAkC;IAC1D,sBAAsB,+BAA+B;IACrD,wBAAwB,kCAAkC;IAC1D,oBAAoB,6BAA6B;IACjD,qBAAqB,8BAA8B;CACpD;AAED,oBAAY,mBAAmB;IAC7B,0BAA0B,mCAAmC;IAC7D,yBAAyB,kCAAkC;IAC3D,uBAAuB,gCAAgC;IACvD,kBAAkB,0BAA0B;
|
|
1
|
+
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/telemetry.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB;IAC1B,cAAc,iCAAiC;IAC/C,WAAW,6BAA6B;IAExC,WAAW,iBAAiB;IAC5B,gBAAgB,uBAAuB;IACvC,YAAY,mBAAmB;IAC/B,wBAAwB,iCAAiC;IACzD,uBAAuB,gCAAgC;IACvD,0BAA0B,mCAAmC;IAC7D,UAAU,iBAAiB;IAE3B,WAAW,kBAAkB;IAC7B,mBAAmB,0BAA0B;IAE7C,gBAAgB,uBAAuB;IACvC,oBAAoB,2BAA2B;IAC/C,oBAAoB,2BAA2B;IAC/C,gBAAgB,uBAAuB;IACvC,0BAA0B,kCAAkC;IAC5D,sBAAsB,8BAA8B;IACpD,mBAAmB,0BAA0B;IAE7C,kBAAkB,yBAAyB;IAC3C,sBAAsB,6BAA6B;IACnD,sBAAsB,6BAA6B;IACnD,kBAAkB,yBAAyB;IAC3C,4BAA4B,oCAAoC;IAChE,wBAAwB,gCAAgC;IACxD,qBAAqB,4BAA4B;IACjD,sBAAsB,8BAA8B;IAEpD,iBAAiB,wBAAwB;IACzC,qBAAqB,4BAA4B;IACjD,iBAAiB,wBAAwB;IACzC,WAAW,kBAAkB;IAC7B,2BAA2B,mCAAmC;IAC9D,uBAAuB,+BAA+B;IACtD,oBAAoB,2BAA2B;IAE/C,gBAAgB,uBAAuB;CACxC;AAED,oBAAY,gBAAgB;IAC1B,mBAAmB,uCAAuC;IAC1D,oBAAoB,6BAA6B;IACjD,WAAW,sBAAsB;IACjC,wBAAwB,kCAAkC;IAC1D,sBAAsB,+BAA+B;IACrD,wBAAwB,kCAAkC;IAC1D,oBAAoB,6BAA6B;IACjD,qBAAqB,8BAA8B;CACpD;AAED,oBAAY,mBAAmB;IAC7B,0BAA0B,mCAAmC;IAC7D,yBAAyB,kCAAkC;IAC3D,uBAAuB,gCAAgC;IACvD,kBAAkB,0BAA0B;IAC5C,kBAAkB,yBAAyB;IAC3C,2BAA2B,mCAAmC;IAC9D,kBAAkB,yBAAyB;IAC3C,sBAAsB,6BAA6B;IACnD,iBAAiB,wBAAwB;IACzC,oBAAoB,2BAA2B;IAC/C,uBAAuB,+BAA+B;IACtD,uBAAuB,+BAA+B;IACtD,0BAA0B,kCAAkC;IAC5D,sBAAsB,8BAA8B;IACpD,gBAAgB,uBAAuB;CACxC;AAED,oBAAY,oBAAoB;IAC9B,cAAc,oBAAoB;CACnC"}
|
|
@@ -57,6 +57,17 @@ var TelemetryProperties;
|
|
|
57
57
|
TelemetryProperties["NgrokNpmInstallNpmVersion"] = "ngrok-npm-install-npm-version";
|
|
58
58
|
TelemetryProperties["NgrokNpmInstallExitCode"] = "ngrok-npm-install-exit-code";
|
|
59
59
|
TelemetryProperties["NgrokNpmInstallLog"] = "ngrok-npm-install-log";
|
|
60
|
+
TelemetryProperties["SymlinkFuncVersion"] = "symlink-func-version";
|
|
61
|
+
TelemetryProperties["SelectedPortableFuncVersion"] = "selected-portable-func-version";
|
|
62
|
+
TelemetryProperties["HistoryFuncVersion"] = "history-func-version";
|
|
63
|
+
TelemetryProperties["VersioningFuncVersions"] = "versioning-func-versions";
|
|
64
|
+
TelemetryProperties["GlobalFuncVersion"] = "global-func-version";
|
|
65
|
+
TelemetryProperties["InstalledFuncVersion"] = "installed-func-version";
|
|
66
|
+
TelemetryProperties["SymlinkFuncVersionError"] = "symlink-func-version-error";
|
|
67
|
+
TelemetryProperties["HistoryFuncVersionError"] = "history-func-version-error";
|
|
68
|
+
TelemetryProperties["VersioningFuncVersionError"] = "versioning-func-version-error";
|
|
69
|
+
TelemetryProperties["GlobalFuncVersionError"] = "global-func-version-error";
|
|
70
|
+
TelemetryProperties["InstallFuncError"] = "install-func-error";
|
|
60
71
|
})(TelemetryProperties = exports.TelemetryProperties || (exports.TelemetryProperties = {}));
|
|
61
72
|
var TelemetryMessurement;
|
|
62
73
|
(function (TelemetryMessurement) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/telemetry.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,IAAY,gBAyCX;AAzCD,WAAY,gBAAgB;IAC1B,mEAA+C,CAAA;IAC/C,4DAAwC,CAAA;IAExC,gDAA4B,CAAA;IAC5B,2DAAuC,CAAA;IACvC,mDAA+B,CAAA;IAC/B,6EAAyD,CAAA;IACzD,2EAAuD,CAAA;IACvD,iFAA6D,CAAA;IAC7D,+CAA2B,CAAA;IAE3B,iDAA6B,CAAA;IAC7B,iEAA6C,CAAA;IAE7C,2DAAuC,CAAA;IACvC,mEAA+C,CAAA;IAC/C,mEAA+C,CAAA;IAC/C,2DAAuC,CAAA;IACvC,gFAA4D,CAAA;IAC5D,wEAAoD,CAAA;IACpD,iEAA6C,CAAA;IAE7C,+DAA2C,CAAA;IAC3C,uEAAmD,CAAA;IACnD,uEAAmD,CAAA;IACnD,+DAA2C,CAAA;IAC3C,oFAAgE,CAAA;IAChE,4EAAwD,CAAA;IACxD,qEAAiD,CAAA;IACjD,wEAAoD,CAAA;IAEpD,6DAAyC,CAAA;IACzC,qEAAiD,CAAA;IACjD,6DAAyC,CAAA;IACzC,iDAA6B,CAAA;IAC7B,kFAA8D,CAAA;IAC9D,0EAAsD,CAAA;IACtD,mEAA+C,CAAA;IAE/C,2DAAuC,CAAA;AACzC,CAAC,EAzCW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAyC3B;AAED,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,8EAA0D,CAAA;IAC1D,qEAAiD,CAAA;IACjD,qDAAiC,CAAA;IACjC,8EAA0D,CAAA;IAC1D,yEAAqD,CAAA;IACrD,8EAA0D,CAAA;IAC1D,qEAAiD,CAAA;IACjD,uEAAmD,CAAA;AACrD,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../src/common/deps-checker/constant/telemetry.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,IAAY,gBAyCX;AAzCD,WAAY,gBAAgB;IAC1B,mEAA+C,CAAA;IAC/C,4DAAwC,CAAA;IAExC,gDAA4B,CAAA;IAC5B,2DAAuC,CAAA;IACvC,mDAA+B,CAAA;IAC/B,6EAAyD,CAAA;IACzD,2EAAuD,CAAA;IACvD,iFAA6D,CAAA;IAC7D,+CAA2B,CAAA;IAE3B,iDAA6B,CAAA;IAC7B,iEAA6C,CAAA;IAE7C,2DAAuC,CAAA;IACvC,mEAA+C,CAAA;IAC/C,mEAA+C,CAAA;IAC/C,2DAAuC,CAAA;IACvC,gFAA4D,CAAA;IAC5D,wEAAoD,CAAA;IACpD,iEAA6C,CAAA;IAE7C,+DAA2C,CAAA;IAC3C,uEAAmD,CAAA;IACnD,uEAAmD,CAAA;IACnD,+DAA2C,CAAA;IAC3C,oFAAgE,CAAA;IAChE,4EAAwD,CAAA;IACxD,qEAAiD,CAAA;IACjD,wEAAoD,CAAA;IAEpD,6DAAyC,CAAA;IACzC,qEAAiD,CAAA;IACjD,6DAAyC,CAAA;IACzC,iDAA6B,CAAA;IAC7B,kFAA8D,CAAA;IAC9D,0EAAsD,CAAA;IACtD,mEAA+C,CAAA;IAE/C,2DAAuC,CAAA;AACzC,CAAC,EAzCW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAyC3B;AAED,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,8EAA0D,CAAA;IAC1D,qEAAiD,CAAA;IACjD,qDAAiC,CAAA;IACjC,8EAA0D,CAAA;IAC1D,yEAAqD,CAAA;IACrD,8EAA0D,CAAA;IAC1D,qEAAiD,CAAA;IACjD,uEAAmD,CAAA;AACrD,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;AAED,IAAY,mBAgBX;AAhBD,WAAY,mBAAmB;IAC7B,oFAA6D,CAAA;IAC7D,kFAA2D,CAAA;IAC3D,8EAAuD,CAAA;IACvD,mEAA4C,CAAA;IAC5C,kEAA2C,CAAA;IAC3C,qFAA8D,CAAA;IAC9D,kEAA2C,CAAA;IAC3C,0EAAmD,CAAA;IACnD,gEAAyC,CAAA;IACzC,sEAA+C,CAAA;IAC/C,6EAAsD,CAAA;IACtD,6EAAsD,CAAA;IACtD,mFAA4D,CAAA;IAC5D,2EAAoD,CAAA;IACpD,8DAAuC,CAAA;AACzC,CAAC,EAhBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAgB9B;AAED,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,0DAAkC,CAAA;AACpC,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B"}
|
|
@@ -14,6 +14,9 @@ export declare type DependencyStatus = {
|
|
|
14
14
|
installVersion?: string;
|
|
15
15
|
binFolders?: string[];
|
|
16
16
|
};
|
|
17
|
+
telemetryProperties?: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
17
20
|
error?: DepsCheckerError;
|
|
18
21
|
};
|
|
19
22
|
export interface DepsInfo {
|
|
@@ -39,7 +42,9 @@ export interface BaseInstallOptions {
|
|
|
39
42
|
version?: string;
|
|
40
43
|
}
|
|
41
44
|
export interface FuncInstallOptions {
|
|
42
|
-
|
|
45
|
+
symlinkDir?: string;
|
|
46
|
+
projectPath: string;
|
|
47
|
+
version: string;
|
|
43
48
|
}
|
|
44
49
|
export declare type InstallOptions = BaseInstallOptions | FuncInstallOptions;
|
|
45
50
|
//# sourceMappingURL=depsChecker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depsChecker.d.ts","sourceRoot":"","sources":["../../../src/common/deps-checker/depsChecker.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,WAAW;IAC1B,mBAAmB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEhF,OAAO,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACrE;AAED,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,gBAAgB,EAAE,OAAO,CAAC;QAC1B,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9B;AAED,oBAAY,QAAQ;IAClB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,MAAM,WAAW;IACjB,aAAa,oBAAoB;IACjC,KAAK,UAAU;IACf,SAAS,gBAAgB;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"depsChecker.d.ts","sourceRoot":"","sources":["../../../src/common/deps-checker/depsChecker.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,WAAW;IAC1B,mBAAmB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEhF,OAAO,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACrE;AAED,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,gBAAgB,EAAE,OAAO,CAAC;QAC1B,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9B;AAED,oBAAY,QAAQ;IAClB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,MAAM,WAAW;IACjB,aAAa,oBAAoB;IACjC,KAAK,UAAU;IACf,SAAS,gBAAgB;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,cAAc,GAAG,kBAAkB,GAAG,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depsChecker.js","sourceRoot":"","sources":["../../../src/common/deps-checker/depsChecker.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"depsChecker.js","sourceRoot":"","sources":["../../../src/common/deps-checker/depsChecker.ts"],"names":[],"mappings":";;;AAkCA,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,oCAAwB,CAAA;IACxB,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,wCAA4B,CAAA;IAC5B,6BAAiB,CAAA;IACjB,6CAAiC,CAAA;IACjC,2BAAe,CAAA;IACf,qCAAyB,CAAA;AAC3B,CAAC,EATW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QASnB"}
|
|
@@ -1,57 +1,37 @@
|
|
|
1
|
+
import { DependencyStatus, DepsChecker, FuncInstallOptions } from "../depsChecker";
|
|
1
2
|
import { DepsCheckerError } from "../depsError";
|
|
2
3
|
import { DepsLogger } from "../depsLogger";
|
|
3
4
|
import { DepsTelemetry } from "../depsTelemetry";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
v1 = "1",
|
|
7
|
-
v2 = "2",
|
|
8
|
-
v3 = "3",
|
|
9
|
-
v4 = "4"
|
|
10
|
-
}
|
|
11
|
-
interface FuncVersion {
|
|
12
|
-
majorVersion: FuncMajorVersion;
|
|
5
|
+
declare type FuncVersion = {
|
|
6
|
+
majorVersion: number;
|
|
13
7
|
minorVersion: number;
|
|
14
8
|
patchVersion: number;
|
|
15
|
-
|
|
16
|
-
declare type FuncInstallationStatus = {
|
|
17
|
-
isInstalled: boolean;
|
|
18
|
-
funcVersion: FuncMajorVersion | null;
|
|
9
|
+
versionStr: string;
|
|
19
10
|
};
|
|
20
11
|
export declare class FuncToolChecker implements DepsChecker {
|
|
21
|
-
private
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
getInstallationInfo(installOptions?: FuncInstallOptions): Promise<DependencyStatus & {
|
|
27
|
-
globalFunc: FuncInstallationStatus;
|
|
28
|
-
portableFunc: FuncInstallationStatus;
|
|
29
|
-
}>;
|
|
12
|
+
private telemetryProperties;
|
|
13
|
+
constructor(logger?: DepsLogger, telemetry?: DepsTelemetry);
|
|
14
|
+
getDepsInfo(funcVersion: FuncVersion | undefined, binFolder: string | undefined, error?: DepsCheckerError): Promise<DependencyStatus>;
|
|
15
|
+
resolve(installOptions: FuncInstallOptions): Promise<DependencyStatus>;
|
|
16
|
+
getInstallationInfo(installOptions: FuncInstallOptions): Promise<DependencyStatus>;
|
|
30
17
|
private getNodeVersion;
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
install
|
|
36
|
-
private handleInstallFuncFailed;
|
|
37
|
-
private validate;
|
|
38
|
-
private handleNpmNotFound;
|
|
18
|
+
private checkExpectedFuncAndNode;
|
|
19
|
+
private checkPortableFuncVersion;
|
|
20
|
+
private checkFuncVersion;
|
|
21
|
+
private getVersioningPortableFunc;
|
|
22
|
+
private install;
|
|
39
23
|
private static getDefaultInstallPath;
|
|
40
|
-
private static
|
|
41
|
-
private static
|
|
42
|
-
|
|
43
|
-
|
|
24
|
+
private static getFuncInstallPath;
|
|
25
|
+
private static getVersioningSentinelPath;
|
|
26
|
+
private static getHistorySentinelPath;
|
|
27
|
+
private static getPortableFuncBinFolder;
|
|
44
28
|
private queryFuncVersion;
|
|
45
|
-
private queryGlobalFuncVersion;
|
|
46
29
|
private hasNPM;
|
|
47
30
|
private cleanup;
|
|
48
|
-
private cleanupPortablePs1;
|
|
49
31
|
private installFunc;
|
|
50
|
-
private doInstallPortableFunc;
|
|
51
32
|
private getExecCommand;
|
|
52
|
-
private getFuncPSScriptPath;
|
|
53
33
|
}
|
|
54
|
-
export declare function mapToFuncToolsVersion(output: string): FuncVersion
|
|
55
|
-
export declare function isFuncVersionSupport(
|
|
34
|
+
export declare function mapToFuncToolsVersion(output: string): FuncVersion;
|
|
35
|
+
export declare function isFuncVersionSupport(actualFuncVersion: FuncVersion, expectedFuncVersion: string): boolean;
|
|
56
36
|
export {};
|
|
57
37
|
//# sourceMappingURL=funcToolChecker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcToolChecker.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/internal/funcToolChecker.ts"],"names":[],"mappings":"AAeA,OAAO,
|
|
1
|
+
{"version":3,"file":"funcToolChecker.d.ts","sourceRoot":"","sources":["../../../../src/common/deps-checker/internal/funcToolChecker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAY,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAA6C,MAAM,cAAc,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOjD,aAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAcF,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,mBAAmB,CAA4B;gBAC3C,MAAM,CAAC,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,aAAa;IAI7C,WAAW,CACtB,WAAW,EAAE,WAAW,GAAG,SAAS,EACpC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,KAAK,CAAC,EAAE,gBAAgB,GACvB,OAAO,CAAC,gBAAgB,CAAC;IAiBf,OAAO,CAAC,cAAc,EAAE,kBAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAuCtE,mBAAmB,CAAC,cAAc,EAAE,kBAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC;YA6CjF,cAAc;YAQd,wBAAwB;YAcxB,wBAAwB;YAsCxB,gBAAgB;YA2BhB,yBAAyB;YAmDzB,OAAO;IA8CrB,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAIpC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAMjC,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAGxC,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAIrC,OAAO,CAAC,MAAM,CAAC,wBAAwB;YASzB,gBAAgB;YAahB,MAAM;YASN,OAAO;YAMP,WAAW;IA2BzB,OAAO,CAAC,cAAc;CAGvB;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAwBjE;AAED,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,WAAW,EAC9B,mBAAmB,EAAE,MAAM,GAC1B,OAAO,CAET"}
|