@rushstack/rush-sdk 5.90.2-pr3954.0 → 5.90.2-pr3964.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/README.md +11 -46
- package/dist/rush-lib.d.ts +0 -18
- package/lib/index.d.ts +1 -51
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +190 -1
- package/lib/index.js.map +1 -0
- package/package.json +3 -3
- package/lib/api/ApprovedPackagesConfiguration.d.ts +0 -74
- package/lib/api/ApprovedPackagesConfiguration.js +0 -1
- package/lib/api/ApprovedPackagesPolicy.d.ts +0 -54
- package/lib/api/ApprovedPackagesPolicy.js +0 -1
- package/lib/api/BuildCacheConfiguration.d.ts +0 -77
- package/lib/api/BuildCacheConfiguration.js +0 -1
- package/lib/api/ChangeFile.d.ts +0 -42
- package/lib/api/ChangeFile.js +0 -1
- package/lib/api/ChangeManagement.d.ts +0 -85
- package/lib/api/ChangeManagement.js +0 -1
- package/lib/api/ChangeManager.d.ts +0 -16
- package/lib/api/ChangeManager.js +0 -1
- package/lib/api/Changelog.d.ts +0 -74
- package/lib/api/Changelog.js +0 -1
- package/lib/api/CommandLineConfiguration.d.ts +0 -161
- package/lib/api/CommandLineConfiguration.js +0 -1
- package/lib/api/CommandLineJson.d.ts +0 -251
- package/lib/api/CommandLineJson.js +0 -1
- package/lib/api/CommonVersionsConfiguration.d.ts +0 -96
- package/lib/api/CommonVersionsConfiguration.js +0 -1
- package/lib/api/EnvironmentConfiguration.d.ts +0 -258
- package/lib/api/EnvironmentConfiguration.js +0 -1
- package/lib/api/EventHooks.d.ts +0 -42
- package/lib/api/EventHooks.js +0 -1
- package/lib/api/ExperimentsConfiguration.d.ts +0 -62
- package/lib/api/ExperimentsConfiguration.js +0 -1
- package/lib/api/LastInstallFlag.d.ts +0 -73
- package/lib/api/LastInstallFlag.js +0 -1
- package/lib/api/LastLinkFlag.d.ts +0 -41
- package/lib/api/LastLinkFlag.js +0 -1
- package/lib/api/PackageJsonEditor.d.ts +0 -79
- package/lib/api/PackageJsonEditor.js +0 -1
- package/lib/api/PackageNameParsers.d.ts +0 -18
- package/lib/api/PackageNameParsers.js +0 -1
- package/lib/api/Rush.d.ts +0 -91
- package/lib/api/Rush.js +0 -1
- package/lib/api/RushConfiguration.d.ts +0 -595
- package/lib/api/RushConfiguration.js +0 -1
- package/lib/api/RushConfigurationProject.d.ts +0 -217
- package/lib/api/RushConfigurationProject.js +0 -1
- package/lib/api/RushGlobalFolder.d.ts +0 -32
- package/lib/api/RushGlobalFolder.js +0 -1
- package/lib/api/RushInternals.d.ts +0 -15
- package/lib/api/RushInternals.js +0 -1
- package/lib/api/RushPluginsConfiguration.d.ts +0 -21
- package/lib/api/RushPluginsConfiguration.js +0 -1
- package/lib/api/RushProjectConfiguration.d.ts +0 -117
- package/lib/api/RushProjectConfiguration.js +0 -1
- package/lib/api/RushUserConfiguration.d.ts +0 -16
- package/lib/api/RushUserConfiguration.js +0 -1
- package/lib/api/SaveCallbackPackageJsonEditor.d.ts +0 -14
- package/lib/api/SaveCallbackPackageJsonEditor.js +0 -1
- package/lib/api/Variants.d.ts +0 -11
- package/lib/api/Variants.js +0 -1
- package/lib/api/VersionPolicy.d.ts +0 -203
- package/lib/api/VersionPolicy.js +0 -1
- package/lib/api/VersionPolicyConfiguration.d.ts +0 -75
- package/lib/api/VersionPolicyConfiguration.js +0 -1
- package/lib/api/packageManager/NpmPackageManager.d.ts +0 -9
- package/lib/api/packageManager/NpmPackageManager.js +0 -1
- package/lib/api/packageManager/PackageManager.d.ts +0 -29
- package/lib/api/packageManager/PackageManager.js +0 -1
- package/lib/api/packageManager/PnpmPackageManager.d.ts +0 -17
- package/lib/api/packageManager/PnpmPackageManager.js +0 -1
- package/lib/api/packageManager/YarnPackageManager.d.ts +0 -9
- package/lib/api/packageManager/YarnPackageManager.js +0 -1
- package/lib/cli/CommandLineMigrationAdvisor.d.ts +0 -5
- package/lib/cli/CommandLineMigrationAdvisor.js +0 -1
- package/lib/cli/RushCommandLineParser.d.ts +0 -49
- package/lib/cli/RushCommandLineParser.js +0 -1
- package/lib/cli/RushPnpmCommandLine.d.ts +0 -7
- package/lib/cli/RushPnpmCommandLine.js +0 -1
- package/lib/cli/RushPnpmCommandLineParser.d.ts +0 -26
- package/lib/cli/RushPnpmCommandLineParser.js +0 -1
- package/lib/cli/RushStartupBanner.d.ts +0 -7
- package/lib/cli/RushStartupBanner.js +0 -1
- package/lib/cli/RushXCommandLine.d.ts +0 -17
- package/lib/cli/RushXCommandLine.js +0 -1
- package/lib/cli/actions/AddAction.d.ts +0 -15
- package/lib/cli/actions/AddAction.js +0 -1
- package/lib/cli/actions/BaseAddAndRemoveAction.d.ts +0 -36
- package/lib/cli/actions/BaseAddAndRemoveAction.js +0 -1
- package/lib/cli/actions/BaseInstallAction.d.ts +0 -23
- package/lib/cli/actions/BaseInstallAction.js +0 -1
- package/lib/cli/actions/BaseRushAction.d.ts +0 -55
- package/lib/cli/actions/BaseRushAction.js +0 -1
- package/lib/cli/actions/ChangeAction.d.ts +0 -65
- package/lib/cli/actions/ChangeAction.js +0 -1
- package/lib/cli/actions/CheckAction.d.ts +0 -10
- package/lib/cli/actions/CheckAction.js +0 -1
- package/lib/cli/actions/DeployAction.d.ts +0 -12
- package/lib/cli/actions/DeployAction.js +0 -1
- package/lib/cli/actions/InitAction.d.ts +0 -16
- package/lib/cli/actions/InitAction.js +0 -1
- package/lib/cli/actions/InitAutoinstallerAction.d.ts +0 -8
- package/lib/cli/actions/InitAutoinstallerAction.js +0 -1
- package/lib/cli/actions/InitDeployAction.d.ts +0 -9
- package/lib/cli/actions/InitDeployAction.js +0 -1
- package/lib/cli/actions/InstallAction.d.ts +0 -9
- package/lib/cli/actions/InstallAction.js +0 -1
- package/lib/cli/actions/LinkAction.d.ts +0 -8
- package/lib/cli/actions/LinkAction.js +0 -1
- package/lib/cli/actions/ListAction.d.ts +0 -54
- package/lib/cli/actions/ListAction.js +0 -1
- package/lib/cli/actions/PublishAction.d.ts +0 -49
- package/lib/cli/actions/PublishAction.js +0 -1
- package/lib/cli/actions/PurgeAction.d.ts +0 -8
- package/lib/cli/actions/PurgeAction.js +0 -1
- package/lib/cli/actions/RemoveAction.d.ts +0 -13
- package/lib/cli/actions/RemoveAction.js +0 -1
- package/lib/cli/actions/ScanAction.d.ts +0 -23
- package/lib/cli/actions/ScanAction.js +0 -1
- package/lib/cli/actions/SetupAction.d.ts +0 -7
- package/lib/cli/actions/SetupAction.js +0 -1
- package/lib/cli/actions/UnlinkAction.d.ts +0 -7
- package/lib/cli/actions/UnlinkAction.js +0 -1
- package/lib/cli/actions/UpdateAction.d.ts +0 -11
- package/lib/cli/actions/UpdateAction.js +0 -1
- package/lib/cli/actions/UpdateAutoinstallerAction.d.ts +0 -8
- package/lib/cli/actions/UpdateAutoinstallerAction.js +0 -1
- package/lib/cli/actions/UpdateCloudCredentialsAction.d.ts +0 -10
- package/lib/cli/actions/UpdateCloudCredentialsAction.js +0 -1
- package/lib/cli/actions/UpgradeInteractiveAction.d.ts +0 -9
- package/lib/cli/actions/UpgradeInteractiveAction.js +0 -1
- package/lib/cli/actions/VersionAction.d.ts +0 -22
- package/lib/cli/actions/VersionAction.js +0 -1
- package/lib/cli/parsing/ParseParallelism.d.ts +0 -6
- package/lib/cli/parsing/ParseParallelism.js +0 -1
- package/lib/cli/parsing/SelectionParameterSet.d.ts +0 -51
- package/lib/cli/parsing/SelectionParameterSet.js +0 -1
- package/lib/cli/scriptActions/BaseScriptAction.d.ts +0 -28
- package/lib/cli/scriptActions/BaseScriptAction.js +0 -1
- package/lib/cli/scriptActions/GlobalScriptAction.d.ts +0 -30
- package/lib/cli/scriptActions/GlobalScriptAction.js +0 -1
- package/lib/cli/scriptActions/PhasedScriptAction.d.ts +0 -65
- package/lib/cli/scriptActions/PhasedScriptAction.js +0 -1
- package/lib/logic/Autoinstaller.d.ts +0 -21
- package/lib/logic/Autoinstaller.js +0 -1
- package/lib/logic/ChangeFiles.d.ts +0 -33
- package/lib/logic/ChangeFiles.js +0 -1
- package/lib/logic/ChangeManager.d.ts +0 -39
- package/lib/logic/ChangeManager.js +0 -1
- package/lib/logic/ChangelogGenerator.d.ts +0 -46
- package/lib/logic/ChangelogGenerator.js +0 -1
- package/lib/logic/CredentialCache.d.ts +0 -36
- package/lib/logic/CredentialCache.js +0 -1
- package/lib/logic/DependencyAnalyzer.d.ts +0 -34
- package/lib/logic/DependencyAnalyzer.js +0 -1
- package/lib/logic/DependencySpecifier.d.ts +0 -70
- package/lib/logic/DependencySpecifier.js +0 -1
- package/lib/logic/EventHooksManager.d.ts +0 -10
- package/lib/logic/EventHooksManager.js +0 -1
- package/lib/logic/Git.d.ts +0 -103
- package/lib/logic/Git.js +0 -1
- package/lib/logic/GitStatusParser.d.ts +0 -42
- package/lib/logic/GitStatusParser.js +0 -1
- package/lib/logic/JsonSchemaUrls.d.ts +0 -8
- package/lib/logic/JsonSchemaUrls.js +0 -1
- package/lib/logic/LookupByPath.d.ts +0 -86
- package/lib/logic/LookupByPath.js +0 -1
- package/lib/logic/NodeJsCompatibility.d.ts +0 -42
- package/lib/logic/NodeJsCompatibility.js +0 -1
- package/lib/logic/PackageJsonUpdaterTypes.d.ts +0 -75
- package/lib/logic/PackageJsonUpdaterTypes.js +0 -1
- package/lib/logic/PrereleaseToken.d.ts +0 -12
- package/lib/logic/PrereleaseToken.js +0 -1
- package/lib/logic/ProjectChangeAnalyzer.d.ts +0 -81
- package/lib/logic/ProjectChangeAnalyzer.js +0 -1
- package/lib/logic/ProjectCommandSet.d.ts +0 -13
- package/lib/logic/ProjectCommandSet.js +0 -1
- package/lib/logic/PublishGit.d.ts +0 -19
- package/lib/logic/PublishGit.js +0 -1
- package/lib/logic/PublishUtilities.d.ts +0 -71
- package/lib/logic/PublishUtilities.js +0 -1
- package/lib/logic/PurgeManager.d.ts +0 -29
- package/lib/logic/PurgeManager.js +0 -1
- package/lib/logic/RepoStateFile.d.ts +0 -55
- package/lib/logic/RepoStateFile.js +0 -1
- package/lib/logic/RushConstants.d.ts +0 -219
- package/lib/logic/RushConstants.js +0 -1
- package/lib/logic/Selection.d.ts +0 -39
- package/lib/logic/Selection.js +0 -1
- package/lib/logic/SetupChecks.d.ts +0 -22
- package/lib/logic/SetupChecks.js +0 -1
- package/lib/logic/ShrinkwrapFileFactory.d.ts +0 -8
- package/lib/logic/ShrinkwrapFileFactory.js +0 -1
- package/lib/logic/StandardScriptUpdater.d.ts +0 -26
- package/lib/logic/StandardScriptUpdater.js +0 -1
- package/lib/logic/Telemetry.d.ts +0 -123
- package/lib/logic/Telemetry.js +0 -1
- package/lib/logic/UnlinkManager.d.ts +0 -24
- package/lib/logic/UnlinkManager.js +0 -1
- package/lib/logic/base/BaseInstallManagerTypes.d.ts +0 -65
- package/lib/logic/base/BaseInstallManagerTypes.js +0 -1
- package/lib/logic/base/BasePackageManagerOptionsConfiguration.d.ts +0 -50
- package/lib/logic/base/BasePackageManagerOptionsConfiguration.js +0 -1
- package/lib/logic/base/BaseProjectShrinkwrapFile.d.ts +0 -36
- package/lib/logic/base/BaseProjectShrinkwrapFile.js +0 -1
- package/lib/logic/base/BaseShrinkwrapFile.d.ts +0 -92
- package/lib/logic/base/BaseShrinkwrapFile.js +0 -1
- package/lib/logic/buildCache/CacheEntryId.d.ts +0 -28
- package/lib/logic/buildCache/CacheEntryId.js +0 -1
- package/lib/logic/buildCache/FileSystemBuildCacheProvider.d.ts +0 -40
- package/lib/logic/buildCache/FileSystemBuildCacheProvider.js +0 -1
- package/lib/logic/buildCache/ICloudBuildCacheProvider.d.ts +0 -14
- package/lib/logic/buildCache/ICloudBuildCacheProvider.js +0 -1
- package/lib/logic/buildCache/ProjectBuildCache.d.ts +0 -46
- package/lib/logic/buildCache/ProjectBuildCache.js +0 -1
- package/lib/logic/buildCache/getHashesForGlobsAsync.d.ts +0 -3
- package/lib/logic/buildCache/getHashesForGlobsAsync.js +0 -1
- package/lib/logic/deploy/DeployScenarioConfiguration.d.ts +0 -39
- package/lib/logic/deploy/DeployScenarioConfiguration.js +0 -1
- package/lib/logic/installManager/InstallHelpers.d.ts +0 -16
- package/lib/logic/installManager/InstallHelpers.js +0 -1
- package/lib/logic/npm/NpmOptionsConfiguration.d.ts +0 -21
- package/lib/logic/npm/NpmOptionsConfiguration.js +0 -1
- package/lib/logic/npm/NpmShrinkwrapFile.d.ts +0 -29
- package/lib/logic/npm/NpmShrinkwrapFile.js +0 -1
- package/lib/logic/operations/AsyncOperationQueue.d.ts +0 -47
- package/lib/logic/operations/AsyncOperationQueue.js +0 -1
- package/lib/logic/operations/IOperationExecutionResult.d.ts +0 -49
- package/lib/logic/operations/IOperationExecutionResult.js +0 -1
- package/lib/logic/operations/IOperationRunner.d.ts +0 -77
- package/lib/logic/operations/IOperationRunner.js +0 -1
- package/lib/logic/operations/NullOperationRunner.d.ts +0 -35
- package/lib/logic/operations/NullOperationRunner.js +0 -1
- package/lib/logic/operations/Operation.d.ts +0 -80
- package/lib/logic/operations/Operation.js +0 -1
- package/lib/logic/operations/OperationError.d.ts +0 -11
- package/lib/logic/operations/OperationError.js +0 -1
- package/lib/logic/operations/OperationExecutionManager.d.ts +0 -42
- package/lib/logic/operations/OperationExecutionManager.js +0 -1
- package/lib/logic/operations/OperationExecutionRecord.d.ts +0 -82
- package/lib/logic/operations/OperationExecutionRecord.js +0 -1
- package/lib/logic/operations/OperationMetadataManager.d.ts +0 -48
- package/lib/logic/operations/OperationMetadataManager.js +0 -1
- package/lib/logic/operations/OperationResultSummarizerPlugin.d.ts +0 -17
- package/lib/logic/operations/OperationResultSummarizerPlugin.js +0 -1
- package/lib/logic/operations/OperationStateFile.d.ts +0 -39
- package/lib/logic/operations/OperationStateFile.js +0 -1
- package/lib/logic/operations/OperationStatus.d.ts +0 -43
- package/lib/logic/operations/OperationStatus.js +0 -1
- package/lib/logic/operations/PhasedOperationPlugin.d.ts +0 -9
- package/lib/logic/operations/PhasedOperationPlugin.js +0 -1
- package/lib/logic/operations/ProjectLogWritable.d.ts +0 -17
- package/lib/logic/operations/ProjectLogWritable.js +0 -1
- package/lib/logic/operations/ShellOperationRunner.d.ts +0 -87
- package/lib/logic/operations/ShellOperationRunner.js +0 -1
- package/lib/logic/operations/ShellOperationRunnerPlugin.d.ts +0 -8
- package/lib/logic/operations/ShellOperationRunnerPlugin.js +0 -1
- package/lib/logic/pnpm/IPnpmfile.d.ts +0 -54
- package/lib/logic/pnpm/IPnpmfile.js +0 -1
- package/lib/logic/pnpm/PnpmOptionsConfiguration.d.ts +0 -242
- package/lib/logic/pnpm/PnpmOptionsConfiguration.js +0 -1
- package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.d.ts +0 -26
- package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.js +0 -1
- package/lib/logic/pnpm/PnpmShrinkwrapFile.d.ts +0 -207
- package/lib/logic/pnpm/PnpmShrinkwrapFile.js +0 -1
- package/lib/logic/pnpm/PnpmYamlCommon.d.ts +0 -8
- package/lib/logic/pnpm/PnpmYamlCommon.js +0 -1
- package/lib/logic/pnpm/PnpmfileConfiguration.d.ts +0 -28
- package/lib/logic/pnpm/PnpmfileConfiguration.js +0 -1
- package/lib/logic/pnpm/PnpmfileShim.d.ts +0 -3
- package/lib/logic/pnpm/PnpmfileShim.js +0 -1
- package/lib/logic/policy/GitEmailPolicy.d.ts +0 -6
- package/lib/logic/policy/GitEmailPolicy.js +0 -1
- package/lib/logic/policy/PolicyValidator.d.ts +0 -10
- package/lib/logic/policy/PolicyValidator.js +0 -1
- package/lib/logic/policy/ShrinkwrapFilePolicy.d.ts +0 -13
- package/lib/logic/policy/ShrinkwrapFilePolicy.js +0 -1
- package/lib/logic/selectors/GitChangedProjectSelectorParser.d.ts +0 -23
- package/lib/logic/selectors/GitChangedProjectSelectorParser.js +0 -1
- package/lib/logic/selectors/ISelectorParser.d.ts +0 -11
- package/lib/logic/selectors/ISelectorParser.js +0 -1
- package/lib/logic/selectors/NamedProjectSelectorParser.d.ts +0 -10
- package/lib/logic/selectors/NamedProjectSelectorParser.js +0 -1
- package/lib/logic/selectors/TagProjectSelectorParser.d.ts +0 -10
- package/lib/logic/selectors/TagProjectSelectorParser.js +0 -1
- package/lib/logic/selectors/VersionPolicyProjectSelectorParser.d.ts +0 -10
- package/lib/logic/selectors/VersionPolicyProjectSelectorParser.js +0 -1
- package/lib/logic/setup/ArtifactoryConfiguration.d.ts +0 -38
- package/lib/logic/setup/ArtifactoryConfiguration.js +0 -1
- package/lib/logic/setup/KeyboardLoop.d.ts +0 -27
- package/lib/logic/setup/KeyboardLoop.js +0 -1
- package/lib/logic/setup/SetupPackageRegistry.d.ts +0 -72
- package/lib/logic/setup/SetupPackageRegistry.js +0 -1
- package/lib/logic/setup/TerminalInput.d.ts +0 -22
- package/lib/logic/setup/TerminalInput.js +0 -1
- package/lib/logic/versionMismatch/VersionMismatchFinder.d.ts +0 -49
- package/lib/logic/versionMismatch/VersionMismatchFinder.js +0 -1
- package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.d.ts +0 -16
- package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.js +0 -1
- package/lib/logic/versionMismatch/VersionMismatchFinderEntity.d.ts +0 -20
- package/lib/logic/versionMismatch/VersionMismatchFinderEntity.js +0 -1
- package/lib/logic/versionMismatch/VersionMismatchFinderProject.d.ts +0 -16
- package/lib/logic/versionMismatch/VersionMismatchFinderProject.js +0 -1
- package/lib/logic/yarn/YarnOptionsConfiguration.d.ts +0 -37
- package/lib/logic/yarn/YarnOptionsConfiguration.js +0 -1
- package/lib/logic/yarn/YarnShrinkwrapFile.d.ts +0 -55
- package/lib/logic/yarn/YarnShrinkwrapFile.js +0 -1
- package/lib/pluginFramework/IRushPlugin.d.ts +0 -9
- package/lib/pluginFramework/IRushPlugin.js +0 -1
- package/lib/pluginFramework/PhasedCommandHooks.d.ts +0 -93
- package/lib/pluginFramework/PhasedCommandHooks.js +0 -1
- package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.d.ts +0 -27
- package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.js +0 -1
- package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.d.ts +0 -17
- package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.js +0 -1
- package/lib/pluginFramework/PluginLoader/PluginLoaderBase.d.ts +0 -47
- package/lib/pluginFramework/PluginLoader/PluginLoaderBase.js +0 -1
- package/lib/pluginFramework/PluginLoader/RushSdk.d.ts +0 -5
- package/lib/pluginFramework/PluginLoader/RushSdk.js +0 -1
- package/lib/pluginFramework/PluginManager.d.ts +0 -47
- package/lib/pluginFramework/PluginManager.js +0 -1
- package/lib/pluginFramework/RushLifeCycle.d.ts +0 -66
- package/lib/pluginFramework/RushLifeCycle.js +0 -1
- package/lib/pluginFramework/RushSession.d.ts +0 -30
- package/lib/pluginFramework/RushSession.js +0 -1
- package/lib/pluginFramework/logging/Logger.d.ts +0 -40
- package/lib/pluginFramework/logging/Logger.js +0 -1
- package/lib/start-pnpm.d.ts +0 -2
- package/lib/start-pnpm.js +0 -1
- package/lib/start.d.ts +0 -2
- package/lib/start.js +0 -1
- package/lib/startx.d.ts +0 -2
- package/lib/startx.js +0 -1
- package/lib/utilities/AsyncRecycler.d.ts +0 -38
- package/lib/utilities/AsyncRecycler.js +0 -1
- package/lib/utilities/CollatedTerminalProvider.d.ts +0 -18
- package/lib/utilities/CollatedTerminalProvider.js +0 -1
- package/lib/utilities/Npm.d.ts +0 -6
- package/lib/utilities/Npm.js +0 -1
- package/lib/utilities/OverlappingPathAnalyzer.d.ts +0 -9
- package/lib/utilities/OverlappingPathAnalyzer.js +0 -1
- package/lib/utilities/PathConstants.d.ts +0 -23
- package/lib/utilities/PathConstants.js +0 -1
- package/lib/utilities/Stopwatch.d.ts +0 -75
- package/lib/utilities/Stopwatch.js +0 -1
- package/lib/utilities/TarExecutable.d.ts +0 -32
- package/lib/utilities/TarExecutable.js +0 -1
- package/lib/utilities/Utilities.d.ts +0 -189
- package/lib/utilities/Utilities.js +0 -1
- package/lib/utilities/WebClient.d.ts +0 -49
- package/lib/utilities/WebClient.js +0 -1
- package/lib/utilities/npmrcUtilities.d.ts +0 -15
- package/lib/utilities/npmrcUtilities.js +0 -1
- package/lib-shim/generate-stubs.d.ts +0 -2
- package/lib-shim/generate-stubs.d.ts.map +0 -1
- package/lib-shim/generate-stubs.js +0 -82
- package/lib-shim/generate-stubs.js.map +0 -1
- package/lib-shim/index.d.ts +0 -5
- package/lib-shim/index.d.ts.map +0 -1
- package/lib-shim/index.js +0 -201
- package/lib-shim/index.js.map +0 -1
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { AsyncSeriesHook, AsyncSeriesWaterfallHook, SyncHook } from 'tapable';
|
|
2
|
-
import type { CommandLineParameter } from '@rushstack/ts-command-line';
|
|
3
|
-
import type { BuildCacheConfiguration } from '../api/BuildCacheConfiguration';
|
|
4
|
-
import type { IPhase } from '../api/CommandLineConfiguration';
|
|
5
|
-
import type { RushConfiguration } from '../api/RushConfiguration';
|
|
6
|
-
import type { RushConfigurationProject } from '../api/RushConfigurationProject';
|
|
7
|
-
import type { Operation } from '../logic/operations/Operation';
|
|
8
|
-
import type { ProjectChangeAnalyzer } from '../logic/ProjectChangeAnalyzer';
|
|
9
|
-
import { IExecutionResult } from '../logic/operations/IOperationExecutionResult';
|
|
10
|
-
/**
|
|
11
|
-
* A plugin that interacts with a phased commands.
|
|
12
|
-
* @alpha
|
|
13
|
-
*/
|
|
14
|
-
export interface IPhasedCommandPlugin {
|
|
15
|
-
/**
|
|
16
|
-
* Applies this plugin.
|
|
17
|
-
*/
|
|
18
|
-
apply(hooks: PhasedCommandHooks): void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Context used for creating operations to be executed.
|
|
22
|
-
* @alpha
|
|
23
|
-
*/
|
|
24
|
-
export interface ICreateOperationsContext {
|
|
25
|
-
/**
|
|
26
|
-
* The configuration for the build cache, if the feature is enabled.
|
|
27
|
-
*/
|
|
28
|
-
readonly buildCacheConfiguration: BuildCacheConfiguration | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The set of custom parameters for the executing command.
|
|
31
|
-
* Maps from the `longName` field in command-line.json to the parser configuration in ts-command-line.
|
|
32
|
-
*/
|
|
33
|
-
readonly customParameters: ReadonlyMap<string, CommandLineParameter>;
|
|
34
|
-
/**
|
|
35
|
-
* If true, projects may read their output from cache or be skipped if already up to date.
|
|
36
|
-
* If false, neither of the above may occur, e.g. "rush rebuild"
|
|
37
|
-
*/
|
|
38
|
-
readonly isIncrementalBuildAllowed: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* If true, this is the initial run of the command.
|
|
41
|
-
* If false, this execution is in response to changes.
|
|
42
|
-
*/
|
|
43
|
-
readonly isInitial: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* If true, the command is running in watch mode.
|
|
46
|
-
*/
|
|
47
|
-
readonly isWatch: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The set of phases selected for the current command execution.
|
|
50
|
-
*/
|
|
51
|
-
readonly phaseSelection: ReadonlySet<IPhase>;
|
|
52
|
-
/**
|
|
53
|
-
* The current state of the repository
|
|
54
|
-
*/
|
|
55
|
-
readonly projectChangeAnalyzer: ProjectChangeAnalyzer;
|
|
56
|
-
/**
|
|
57
|
-
* The set of Rush projects selected for the current command execution.
|
|
58
|
-
*/
|
|
59
|
-
readonly projectSelection: ReadonlySet<RushConfigurationProject>;
|
|
60
|
-
/**
|
|
61
|
-
* The set of Rush projects that have not been built in the current process since they were last modified.
|
|
62
|
-
* When `isInitial` is true, this will be an exact match of `projectSelection`.
|
|
63
|
-
*/
|
|
64
|
-
readonly projectsInUnknownState: ReadonlySet<RushConfigurationProject>;
|
|
65
|
-
/**
|
|
66
|
-
* The Rush configuration
|
|
67
|
-
*/
|
|
68
|
-
readonly rushConfiguration: RushConfiguration;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Hooks into the execution process for phased commands
|
|
72
|
-
* @alpha
|
|
73
|
-
*/
|
|
74
|
-
export declare class PhasedCommandHooks {
|
|
75
|
-
/**
|
|
76
|
-
* Hook invoked to create operations for execution.
|
|
77
|
-
* Use the context to distinguish between the initial run and phased runs.
|
|
78
|
-
*/
|
|
79
|
-
readonly createOperations: AsyncSeriesWaterfallHook<[Set<Operation>, ICreateOperationsContext]>;
|
|
80
|
-
/**
|
|
81
|
-
* Hook invoked after executing a set of operations.
|
|
82
|
-
* Use the context to distinguish between the initial run and phased runs.
|
|
83
|
-
* Hook is series for stable output.
|
|
84
|
-
*/
|
|
85
|
-
readonly afterExecuteOperations: AsyncSeriesHook<[IExecutionResult, ICreateOperationsContext]>;
|
|
86
|
-
/**
|
|
87
|
-
* Hook invoked after a run has finished and the command is watching for changes.
|
|
88
|
-
* May be used to display additional relevant data to the user.
|
|
89
|
-
* Only relevant when running in watch mode.
|
|
90
|
-
*/
|
|
91
|
-
readonly waitingForChanges: SyncHook<void>;
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=PhasedCommandHooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PhasedCommandHooks");
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { JsonObject } from '@rushstack/node-core-library';
|
|
2
|
-
import { IRushPluginConfiguration } from '../../api/RushPluginsConfiguration';
|
|
3
|
-
import { Autoinstaller } from '../../logic/Autoinstaller';
|
|
4
|
-
import { IPluginLoaderOptions, PluginLoaderBase } from './PluginLoaderBase';
|
|
5
|
-
interface IAutoinstallerPluginLoaderOptions extends IPluginLoaderOptions<IRushPluginConfiguration> {
|
|
6
|
-
restrictConsoleOutput: boolean;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @beta
|
|
10
|
-
*/
|
|
11
|
-
export declare class AutoinstallerPluginLoader extends PluginLoaderBase<IRushPluginConfiguration> {
|
|
12
|
-
readonly packageFolder: string;
|
|
13
|
-
readonly autoinstaller: Autoinstaller;
|
|
14
|
-
constructor(options: IAutoinstallerPluginLoaderOptions);
|
|
15
|
-
/**
|
|
16
|
-
* The folder where rush plugins static files are stored.
|
|
17
|
-
* Example: `C:\MyRepo\common\autoinstallers\<autoinstaller_name>\rush-plugins`
|
|
18
|
-
*/
|
|
19
|
-
static getPluginAutoinstallerStorePath(autoinstaller: Autoinstaller): string;
|
|
20
|
-
update(): void;
|
|
21
|
-
protected _getCommandLineAdditionalPathFolders(): string[];
|
|
22
|
-
protected _getPluginOptions(): JsonObject;
|
|
23
|
-
protected _getManifestPath(): string;
|
|
24
|
-
protected _getCommandLineJsonFilePath(): string;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=AutoinstallerPluginLoader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PluginLoader/AutoinstallerPluginLoader");
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IRushPluginConfigurationBase } from '../../api/RushPluginsConfiguration';
|
|
2
|
-
import { IPluginLoaderOptions, PluginLoaderBase } from './PluginLoaderBase';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export interface IBuiltInPluginConfiguration extends IRushPluginConfigurationBase {
|
|
7
|
-
pluginPackageFolder: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @remarks
|
|
11
|
-
* Used to load plugins that are dependencies of Rush.
|
|
12
|
-
*/
|
|
13
|
-
export declare class BuiltInPluginLoader extends PluginLoaderBase<IBuiltInPluginConfiguration> {
|
|
14
|
-
readonly packageFolder: string;
|
|
15
|
-
constructor(options: IPluginLoaderOptions<IBuiltInPluginConfiguration>);
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=BuiltInPluginLoader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PluginLoader/BuiltInPluginLoader");
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ITerminal, JsonObject, JsonSchema } from '@rushstack/node-core-library';
|
|
2
|
-
import { CommandLineConfiguration } from '../../api/CommandLineConfiguration';
|
|
3
|
-
import { RushConfiguration } from '../../api/RushConfiguration';
|
|
4
|
-
import { IRushPluginConfigurationBase } from '../../api/RushPluginsConfiguration';
|
|
5
|
-
import { IRushPlugin } from '../IRushPlugin';
|
|
6
|
-
export interface IRushPluginManifest {
|
|
7
|
-
pluginName: string;
|
|
8
|
-
description: string;
|
|
9
|
-
entryPoint?: string;
|
|
10
|
-
optionsSchema?: string;
|
|
11
|
-
associatedCommands?: string[];
|
|
12
|
-
commandLineJsonFilePath?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IRushPluginManifestJson {
|
|
15
|
-
plugins: IRushPluginManifest[];
|
|
16
|
-
}
|
|
17
|
-
export interface IPluginLoaderOptions<TPluginConfiguration extends IRushPluginConfigurationBase> {
|
|
18
|
-
pluginConfiguration: TPluginConfiguration;
|
|
19
|
-
rushConfiguration: RushConfiguration;
|
|
20
|
-
terminal: ITerminal;
|
|
21
|
-
}
|
|
22
|
-
export declare abstract class PluginLoaderBase<TPluginConfiguration extends IRushPluginConfigurationBase = IRushPluginConfigurationBase> {
|
|
23
|
-
protected static _jsonSchema: JsonSchema;
|
|
24
|
-
readonly packageName: Readonly<string>;
|
|
25
|
-
readonly pluginName: Readonly<string>;
|
|
26
|
-
protected readonly _rushConfiguration: RushConfiguration;
|
|
27
|
-
protected readonly _terminal: ITerminal;
|
|
28
|
-
protected _manifestCache: Readonly<IRushPluginManifest> | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The folder that should be used for resolving the plugin's NPM package.
|
|
31
|
-
*/
|
|
32
|
-
abstract readonly packageFolder: string;
|
|
33
|
-
constructor({ pluginConfiguration, rushConfiguration, terminal }: IPluginLoaderOptions<TPluginConfiguration>);
|
|
34
|
-
load(): IRushPlugin | undefined;
|
|
35
|
-
get pluginManifest(): IRushPluginManifest;
|
|
36
|
-
getCommandLineConfiguration(): CommandLineConfiguration | undefined;
|
|
37
|
-
protected _getCommandLineAdditionalPathFolders(): string[];
|
|
38
|
-
protected _getCommandLineJsonFilePath(): string | undefined;
|
|
39
|
-
private _loadAndValidatePluginPackage;
|
|
40
|
-
private _resolvePlugin;
|
|
41
|
-
protected _getPluginOptions(): JsonObject;
|
|
42
|
-
protected _getPluginOptionsJsonFilePath(): string;
|
|
43
|
-
protected _getRushPluginOptionsSchema(): JsonSchema | undefined;
|
|
44
|
-
private _getRushPluginManifest;
|
|
45
|
-
protected _getManifestPath(): string;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=PluginLoaderBase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PluginLoader/PluginLoaderBase");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PluginLoader/RushSdk");
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ITerminal } from '@rushstack/node-core-library';
|
|
2
|
-
import { CommandLineConfiguration } from '../api/CommandLineConfiguration';
|
|
3
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
4
|
-
import { IBuiltInPluginConfiguration } from './PluginLoader/BuiltInPluginLoader';
|
|
5
|
-
import { AutoinstallerPluginLoader } from './PluginLoader/AutoinstallerPluginLoader';
|
|
6
|
-
import { RushSession } from './RushSession';
|
|
7
|
-
import { PluginLoaderBase } from './PluginLoader/PluginLoaderBase';
|
|
8
|
-
export interface IPluginManagerOptions {
|
|
9
|
-
terminal: ITerminal;
|
|
10
|
-
rushConfiguration: RushConfiguration;
|
|
11
|
-
rushSession: RushSession;
|
|
12
|
-
builtInPluginConfigurations: IBuiltInPluginConfiguration[];
|
|
13
|
-
restrictConsoleOutput: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface ICustomCommandLineConfigurationInfo {
|
|
16
|
-
commandLineConfiguration: CommandLineConfiguration;
|
|
17
|
-
pluginLoader: PluginLoaderBase;
|
|
18
|
-
}
|
|
19
|
-
export declare class PluginManager {
|
|
20
|
-
private readonly _terminal;
|
|
21
|
-
private readonly _rushConfiguration;
|
|
22
|
-
private readonly _rushSession;
|
|
23
|
-
private readonly _restrictConsoleOutput;
|
|
24
|
-
private readonly _builtInPluginLoaders;
|
|
25
|
-
private readonly _autoinstallerPluginLoaders;
|
|
26
|
-
private readonly _installedAutoinstallerNames;
|
|
27
|
-
private readonly _loadedPluginNames;
|
|
28
|
-
private _error;
|
|
29
|
-
constructor(options: IPluginManagerOptions);
|
|
30
|
-
/**
|
|
31
|
-
* If an error occurs while attempting to load plugins, it will be saved in this property.
|
|
32
|
-
* Rush will attempt to continue and will report the error later by `BaseRushAction._throwPluginErrorIfNeed()`
|
|
33
|
-
* (unless we are invoking a command that is used to fix plugin problems).
|
|
34
|
-
*/
|
|
35
|
-
get error(): Error | undefined;
|
|
36
|
-
updateAsync(): Promise<void>;
|
|
37
|
-
reinitializeAllPluginsForCommandAsync(commandName: string): Promise<void>;
|
|
38
|
-
_preparePluginAutoinstallersAsync(pluginLoaders: AutoinstallerPluginLoader[]): Promise<void>;
|
|
39
|
-
tryInitializeUnassociatedPluginsAsync(): Promise<void>;
|
|
40
|
-
tryInitializeAssociatedCommandPluginsAsync(commandName: string): Promise<void>;
|
|
41
|
-
tryGetCustomCommandLineConfigurationInfos(): ICustomCommandLineConfigurationInfo[];
|
|
42
|
-
private _initializePlugins;
|
|
43
|
-
private _getUnassociatedPluginLoaders;
|
|
44
|
-
private _getPluginLoadersForCommand;
|
|
45
|
-
private _applyPlugin;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=PluginManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/PluginManager");
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { AsyncParallelHook, AsyncSeriesHook, HookMap } from 'tapable';
|
|
2
|
-
import type { ITelemetryData } from '../logic/Telemetry';
|
|
3
|
-
import type { PhasedCommandHooks } from './PhasedCommandHooks';
|
|
4
|
-
/**
|
|
5
|
-
* Information about the currently executing command provided to plugins.
|
|
6
|
-
* @beta
|
|
7
|
-
*/
|
|
8
|
-
export interface IRushCommand {
|
|
9
|
-
/**
|
|
10
|
-
* The name of this command, as seen on the command line
|
|
11
|
-
*/
|
|
12
|
-
readonly actionName: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Information about the currently executing global script command (as defined in command-line.json) provided to plugins.
|
|
16
|
-
* @beta
|
|
17
|
-
*/
|
|
18
|
-
export interface IGlobalCommand extends IRushCommand {
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Information about the currently executing phased script command (as defined in command-line.json, or default "build" or "rebuild") provided to plugins.
|
|
22
|
-
* @beta
|
|
23
|
-
*/
|
|
24
|
-
export interface IPhasedCommand extends IRushCommand {
|
|
25
|
-
/**
|
|
26
|
-
* Hooks into the execution of the current phased command
|
|
27
|
-
* @alpha
|
|
28
|
-
*/
|
|
29
|
-
readonly hooks: PhasedCommandHooks;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Hooks into the lifecycle of the Rush process invocation that plugins may tap into.
|
|
33
|
-
*
|
|
34
|
-
* @beta
|
|
35
|
-
*/
|
|
36
|
-
export declare class RushLifecycleHooks {
|
|
37
|
-
/**
|
|
38
|
-
* The hook to run before executing any Rush CLI Command.
|
|
39
|
-
*/
|
|
40
|
-
initialize: AsyncSeriesHook<IRushCommand>;
|
|
41
|
-
/**
|
|
42
|
-
* The hook to run before executing any global Rush CLI Command (defined in command-line.json).
|
|
43
|
-
*/
|
|
44
|
-
runAnyGlobalCustomCommand: AsyncSeriesHook<IGlobalCommand>;
|
|
45
|
-
/**
|
|
46
|
-
* A hook map to allow plugins to hook specific named global commands (defined in command-line.json) before execution.
|
|
47
|
-
*/
|
|
48
|
-
runGlobalCustomCommand: HookMap<AsyncSeriesHook<IGlobalCommand>>;
|
|
49
|
-
/**
|
|
50
|
-
* The hook to run before executing any phased Rush CLI Command (defined in command-line.json, or the default "build" or "rebuild").
|
|
51
|
-
*/
|
|
52
|
-
runAnyPhasedCommand: AsyncSeriesHook<IPhasedCommand>;
|
|
53
|
-
/**
|
|
54
|
-
* A hook map to allow plugins to hook specific named phased commands (defined in command-line.json) before execution.
|
|
55
|
-
*/
|
|
56
|
-
runPhasedCommand: HookMap<AsyncSeriesHook<IPhasedCommand>>;
|
|
57
|
-
/**
|
|
58
|
-
* The hook to run between preparing the common/temp folder and invoking the package manager during "rush install" or "rush update".
|
|
59
|
-
*/
|
|
60
|
-
beforeInstall: AsyncSeriesHook<IGlobalCommand>;
|
|
61
|
-
/**
|
|
62
|
-
* A hook to allow plugins to hook custom logic to process telemetry data.
|
|
63
|
-
*/
|
|
64
|
-
flushTelemetry: AsyncParallelHook<[ReadonlyArray<ITelemetryData>]>;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=RushLifeCycle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/RushLifeCycle");
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ITerminalProvider } from '@rushstack/node-core-library';
|
|
2
|
-
import { IBuildCacheJson } from '../api/BuildCacheConfiguration';
|
|
3
|
-
import { ICloudBuildCacheProvider } from '../logic/buildCache/ICloudBuildCacheProvider';
|
|
4
|
-
import { ILogger } from './logging/Logger';
|
|
5
|
-
import { RushLifecycleHooks } from './RushLifeCycle';
|
|
6
|
-
/**
|
|
7
|
-
* @beta
|
|
8
|
-
*/
|
|
9
|
-
export interface IRushSessionOptions {
|
|
10
|
-
terminalProvider: ITerminalProvider;
|
|
11
|
-
getIsDebugMode: () => boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @beta
|
|
15
|
-
*/
|
|
16
|
-
export declare type CloudBuildCacheProviderFactory = (buildCacheJson: IBuildCacheJson) => ICloudBuildCacheProvider;
|
|
17
|
-
/**
|
|
18
|
-
* @beta
|
|
19
|
-
*/
|
|
20
|
-
export declare class RushSession {
|
|
21
|
-
private readonly _options;
|
|
22
|
-
private readonly _cloudBuildCacheProviderFactories;
|
|
23
|
-
readonly hooks: RushLifecycleHooks;
|
|
24
|
-
constructor(options: IRushSessionOptions);
|
|
25
|
-
getLogger(name: string): ILogger;
|
|
26
|
-
get terminalProvider(): ITerminalProvider;
|
|
27
|
-
registerCloudBuildCacheProviderFactory(cacheProviderName: string, factory: CloudBuildCacheProviderFactory): void;
|
|
28
|
-
getCloudBuildCacheProviderFactory(cacheProviderName: string): CloudBuildCacheProviderFactory | undefined;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=RushSession.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/RushSession");
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ITerminalProvider, Terminal } from '@rushstack/node-core-library';
|
|
2
|
-
/**
|
|
3
|
-
* @beta
|
|
4
|
-
*/
|
|
5
|
-
export interface ILogger {
|
|
6
|
-
readonly terminal: Terminal;
|
|
7
|
-
/**
|
|
8
|
-
* Call this function to emit an error to the Rush runtime.
|
|
9
|
-
*/
|
|
10
|
-
emitError(error: Error): void;
|
|
11
|
-
/**
|
|
12
|
-
* Call this function to emit a warning to the Rush runtime.
|
|
13
|
-
*/
|
|
14
|
-
emitWarning(warning: Error): void;
|
|
15
|
-
}
|
|
16
|
-
export interface ILoggerOptions {
|
|
17
|
-
loggerName: string;
|
|
18
|
-
terminalProvider: ITerminalProvider;
|
|
19
|
-
getShouldPrintStacks: () => boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare class Logger implements ILogger {
|
|
22
|
-
private readonly _options;
|
|
23
|
-
private readonly _errors;
|
|
24
|
-
private readonly _warnings;
|
|
25
|
-
readonly terminal: Terminal;
|
|
26
|
-
constructor(options: ILoggerOptions);
|
|
27
|
-
get errors(): ReadonlyArray<Error>;
|
|
28
|
-
get warnings(): ReadonlyArray<Error>;
|
|
29
|
-
static getErrorMessage(error: Error): string;
|
|
30
|
-
/**
|
|
31
|
-
* {@inheritdoc ILogger.emitError}
|
|
32
|
-
*/
|
|
33
|
-
emitError(error: Error): void;
|
|
34
|
-
/**
|
|
35
|
-
* {@inheritdoc ILogger.emitWarning}
|
|
36
|
-
*/
|
|
37
|
-
emitWarning(warning: Error): void;
|
|
38
|
-
private get _shouldPrintStacks();
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=Logger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/logging/Logger");
|
package/lib/start-pnpm.d.ts
DELETED
package/lib/start-pnpm.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../lib-shim/index")._rushSdk_loadInternalModule("start-pnpm");
|
package/lib/start.d.ts
DELETED
package/lib/start.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../lib-shim/index")._rushSdk_loadInternalModule("start");
|
package/lib/startx.d.ts
DELETED
package/lib/startx.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../lib-shim/index")._rushSdk_loadInternalModule("startx");
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* For deleting large folders, AsyncRecycler is significantly faster than Utilities.dangerouslyDeletePath().
|
|
3
|
-
* It works by moving one or more folders into a temporary "recycler" folder, and then launches a separate
|
|
4
|
-
* background process to recursively delete that folder.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AsyncRecycler {
|
|
7
|
-
private _movedFolderCount;
|
|
8
|
-
private _deleting;
|
|
9
|
-
private _prefix;
|
|
10
|
-
/**
|
|
11
|
-
* The full path of the recycler folder.
|
|
12
|
-
* Example: `C:\MyRepo\common\rush-recycler`
|
|
13
|
-
*/
|
|
14
|
-
readonly recyclerFolder: string;
|
|
15
|
-
constructor(recyclerFolder: string);
|
|
16
|
-
/**
|
|
17
|
-
* Synchronously moves the specified folder into the recycler folder. If the specified folder
|
|
18
|
-
* does not exist, then no operation is performed. After calling this function one or more times,
|
|
19
|
-
* deleteAll() must be called to actually delete the contents of the recycler folder.
|
|
20
|
-
*/
|
|
21
|
-
moveFolder(folderPath: string): void;
|
|
22
|
-
/**
|
|
23
|
-
* This deletes all items under the specified folder, except for the items in the membersToExclude.
|
|
24
|
-
* To be conservative, a case-insensitive comparison is used for membersToExclude.
|
|
25
|
-
* The membersToExclude must be file/folder names that would match readdir() results.
|
|
26
|
-
*/
|
|
27
|
-
moveAllItemsInFolder(folderPath: string, membersToExclude?: ReadonlyArray<string>): void;
|
|
28
|
-
/**
|
|
29
|
-
* Starts an asynchronous process to delete the recycler folder. Deleting will continue
|
|
30
|
-
* even if the current Node.js process is killed.
|
|
31
|
-
*
|
|
32
|
-
* NOTE: To avoid spawning multiple instances of the same command, moveFolder()
|
|
33
|
-
* MUST NOT be called again after deleteAll() has started.
|
|
34
|
-
*/
|
|
35
|
-
deleteAll(): void;
|
|
36
|
-
private _renameOrRecurseInFolder;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=AsyncRecycler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/AsyncRecycler");
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ITerminalProvider, TerminalProviderSeverity } from '@rushstack/node-core-library';
|
|
2
|
-
import { CollatedTerminal } from '@rushstack/stream-collator';
|
|
3
|
-
export interface ICollatedTerminalProviderOptions {
|
|
4
|
-
debugEnabled: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class CollatedTerminalProvider implements ITerminalProvider {
|
|
7
|
-
private readonly _collatedTerminal;
|
|
8
|
-
private _hasErrors;
|
|
9
|
-
private _hasWarnings;
|
|
10
|
-
private _debugEnabled;
|
|
11
|
-
readonly supportsColor: boolean;
|
|
12
|
-
readonly eolCharacter: string;
|
|
13
|
-
get hasErrors(): boolean;
|
|
14
|
-
get hasWarnings(): boolean;
|
|
15
|
-
constructor(collatedTerminal: CollatedTerminal, options?: Partial<ICollatedTerminalProviderOptions>);
|
|
16
|
-
write(data: string, severity: TerminalProviderSeverity): void;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=CollatedTerminalProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/CollatedTerminalProvider");
|
package/lib/utilities/Npm.d.ts
DELETED
package/lib/utilities/Npm.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/Npm");
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is a tool for determining if a set of paths overlap. For example 'lib' and 'lib/x' overlap,
|
|
3
|
-
* 'lib/x' and 'lib/y' do not.
|
|
4
|
-
*/
|
|
5
|
-
export declare class OverlappingPathAnalyzer<TLabel> {
|
|
6
|
-
private readonly _root;
|
|
7
|
-
addPathAndGetFirstEncounteredLabels(path: string, label: TLabel): TLabel[] | undefined;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=OverlappingPathAnalyzer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/OverlappingPathAnalyzer");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The currently-executing rush-lib package's root folder path.
|
|
3
|
-
*/
|
|
4
|
-
export declare const rushLibFolderRootPath: string;
|
|
5
|
-
/**
|
|
6
|
-
* The path to the assets folder in rush-lib.
|
|
7
|
-
*/
|
|
8
|
-
export declare const assetsFolderPath: string;
|
|
9
|
-
/**
|
|
10
|
-
* The folder name ("scripts") where the scripts in rush-lib are built.
|
|
11
|
-
*/
|
|
12
|
-
export declare const scriptsFolderName: string;
|
|
13
|
-
export declare const pnpmfileShimFilename: string;
|
|
14
|
-
export declare const installRunScriptFilename: string;
|
|
15
|
-
export declare const installRunRushScriptFilename: string;
|
|
16
|
-
export declare const installRunRushxScriptFilename: string;
|
|
17
|
-
export declare const installRunRushPnpmScriptFilename: string;
|
|
18
|
-
export declare const createLinksScriptFilename: string;
|
|
19
|
-
/**
|
|
20
|
-
* The path to the scripts folder in rush-lib/dist.
|
|
21
|
-
*/
|
|
22
|
-
export declare const scriptsFolderPath: string;
|
|
23
|
-
//# sourceMappingURL=PathConstants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/PathConstants");
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used with the Stopwatch class.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum StopwatchState {
|
|
5
|
-
Stopped = 1,
|
|
6
|
-
Started = 2
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Represents a readonly view of a `Stopwatch`.
|
|
10
|
-
* @beta
|
|
11
|
-
*/
|
|
12
|
-
export interface IStopwatchResult {
|
|
13
|
-
/**
|
|
14
|
-
* Displays how long the stopwatch has been executing in a human readable format.
|
|
15
|
-
*/
|
|
16
|
-
toString(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Get the duration in seconds.
|
|
19
|
-
*/
|
|
20
|
-
get duration(): number;
|
|
21
|
-
/**
|
|
22
|
-
* Return the start time of the most recent stopwatch run.
|
|
23
|
-
*/
|
|
24
|
-
get startTime(): number | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Return the end time of the most recent stopwatch run.
|
|
27
|
-
*/
|
|
28
|
-
get endTime(): number | undefined;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Represents a typical timer/stopwatch which keeps track
|
|
32
|
-
* of elapsed time in between two events.
|
|
33
|
-
*/
|
|
34
|
-
export declare class Stopwatch implements IStopwatchResult {
|
|
35
|
-
private _startTime;
|
|
36
|
-
private _endTime;
|
|
37
|
-
private _state;
|
|
38
|
-
private _getTime;
|
|
39
|
-
constructor(getTime?: () => number);
|
|
40
|
-
/**
|
|
41
|
-
* Static helper function which creates a stopwatch which is immediately started
|
|
42
|
-
*/
|
|
43
|
-
static start(): Stopwatch;
|
|
44
|
-
get state(): StopwatchState;
|
|
45
|
-
/**
|
|
46
|
-
* Starts the stopwatch. Note that if end() has been called,
|
|
47
|
-
* reset() should be called before calling start() again.
|
|
48
|
-
*/
|
|
49
|
-
start(): Stopwatch;
|
|
50
|
-
/**
|
|
51
|
-
* Stops executing the stopwatch and saves the current timestamp
|
|
52
|
-
*/
|
|
53
|
-
stop(): Stopwatch;
|
|
54
|
-
/**
|
|
55
|
-
* Resets all values of the stopwatch back to the original
|
|
56
|
-
*/
|
|
57
|
-
reset(): Stopwatch;
|
|
58
|
-
/**
|
|
59
|
-
* Displays how long the stopwatch has been executing in a human readable format.
|
|
60
|
-
*/
|
|
61
|
-
toString(): string;
|
|
62
|
-
/**
|
|
63
|
-
* Get the duration in seconds.
|
|
64
|
-
*/
|
|
65
|
-
get duration(): number;
|
|
66
|
-
/**
|
|
67
|
-
* Return the start time of the most recent stopwatch run.
|
|
68
|
-
*/
|
|
69
|
-
get startTime(): number | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Return the end time of the most recent stopwatch run.
|
|
72
|
-
*/
|
|
73
|
-
get endTime(): number | undefined;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=Stopwatch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("utilities/Stopwatch");
|