@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,19 +0,0 @@
|
|
|
1
|
-
import { RushConfigurationProject } from '../api/RushConfigurationProject';
|
|
2
|
-
import { Git } from './Git';
|
|
3
|
-
export declare class PublishGit {
|
|
4
|
-
private readonly _targetBranch;
|
|
5
|
-
private readonly _gitPath;
|
|
6
|
-
private readonly _gitTagSeparator;
|
|
7
|
-
constructor(git: Git, targetBranch: string | undefined);
|
|
8
|
-
checkout(branchName: string | undefined, createBranch?: boolean): void;
|
|
9
|
-
merge(branchName: string, verify?: boolean): void;
|
|
10
|
-
deleteBranch(branchName: string | undefined, hasRemote?: boolean, verify?: boolean): void;
|
|
11
|
-
pull(verify?: boolean): void;
|
|
12
|
-
fetch(): void;
|
|
13
|
-
addChanges(pathspec?: string, workingDirectory?: string): void;
|
|
14
|
-
addTag(shouldExecute: boolean, packageName: string, packageVersion: string, commitId: string | undefined, preReleaseName?: string): void;
|
|
15
|
-
hasTag(packageConfig: RushConfigurationProject): boolean;
|
|
16
|
-
commit(commitMessage: string, verify?: boolean): void;
|
|
17
|
-
push(branchName: string | undefined, verify?: boolean): void;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=PublishGit.d.ts.map
|
package/lib/logic/PublishGit.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/PublishGit");
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { type IPackageJson } from '@rushstack/node-core-library';
|
|
2
|
-
import { type IChangeInfo, type IVersionPolicyChangeInfo } from '../api/ChangeManagement';
|
|
3
|
-
import type { RushConfigurationProject } from '../api/RushConfigurationProject';
|
|
4
|
-
import { type IEnvironment } from '../utilities/Utilities';
|
|
5
|
-
import type { PrereleaseToken } from './PrereleaseToken';
|
|
6
|
-
import type { ChangeFiles } from './ChangeFiles';
|
|
7
|
-
import type { RushConfiguration } from '../api/RushConfiguration';
|
|
8
|
-
export interface IChangeRequests {
|
|
9
|
-
packageChanges: Map<string, IChangeInfo>;
|
|
10
|
-
versionPolicyChanges: Map<string, IVersionPolicyChangeInfo>;
|
|
11
|
-
}
|
|
12
|
-
export declare class PublishUtilities {
|
|
13
|
-
/**
|
|
14
|
-
* Finds change requests in the given folder.
|
|
15
|
-
* @param changesPath Path to the changes folder.
|
|
16
|
-
* @returns Dictionary of all change requests, keyed by package name.
|
|
17
|
-
*/
|
|
18
|
-
static findChangeRequests(allPackages: Map<string, RushConfigurationProject>, rushConfiguration: RushConfiguration, changeFiles: ChangeFiles, includeCommitDetails?: boolean, prereleaseToken?: PrereleaseToken, projectsToExclude?: Set<string>): IChangeRequests;
|
|
19
|
-
/**
|
|
20
|
-
* Given the changes hash, flattens them into a sorted array based on their dependency order.
|
|
21
|
-
* @params packageChanges - hash of change requests.
|
|
22
|
-
* @returns Sorted array of change requests.
|
|
23
|
-
*/
|
|
24
|
-
static sortChangeRequests(packageChanges: Map<string, IChangeInfo>): IChangeInfo[];
|
|
25
|
-
/**
|
|
26
|
-
* Given a single change request, updates the package json file with updated versions on disk.
|
|
27
|
-
*/
|
|
28
|
-
static updatePackages(allChanges: IChangeRequests, allPackages: Map<string, RushConfigurationProject>, rushConfiguration: RushConfiguration, shouldCommit: boolean, prereleaseToken?: PrereleaseToken, projectsToExclude?: Set<string>): Map<string, IPackageJson>;
|
|
29
|
-
/**
|
|
30
|
-
* Returns the generated tagname to use for a published commit, given package name and version.
|
|
31
|
-
*/
|
|
32
|
-
static createTagname(packageName: string, version: string, separator?: string): string;
|
|
33
|
-
static isRangeDependency(version: string): boolean;
|
|
34
|
-
static getEnvArgs(): {
|
|
35
|
-
[key: string]: string | undefined;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @param secretSubstring -- if specified, a substring to be replaced by `<<SECRET>>` to avoid printing secrets
|
|
39
|
-
* on the console
|
|
40
|
-
*/
|
|
41
|
-
static execCommand(shouldExecute: boolean, command: string, args?: string[], workingDirectory?: string, environment?: IEnvironment, secretSubstring?: string): void;
|
|
42
|
-
static getNewDependencyVersion(dependencies: {
|
|
43
|
-
[key: string]: string;
|
|
44
|
-
}, dependencyName: string, newProjectVersion: string): string;
|
|
45
|
-
private static _getReleaseType;
|
|
46
|
-
private static _getChangeTypeForSemverReleaseType;
|
|
47
|
-
private static _getNewRangeDependency;
|
|
48
|
-
private static _shouldSkipVersionBump;
|
|
49
|
-
private static _updateCommitDetails;
|
|
50
|
-
private static _writePackageChanges;
|
|
51
|
-
private static _isCyclicDependency;
|
|
52
|
-
private static _updateDependencies;
|
|
53
|
-
/**
|
|
54
|
-
* Gets the new version from the ChangeInfo.
|
|
55
|
-
* The value of newVersion in ChangeInfo remains unchanged when the change type is dependency,
|
|
56
|
-
* However, for pre-release build, it won't pick up the updated pre-released dependencies. That is why
|
|
57
|
-
* this function should return a pre-released patch for that case. The exception to this is when we're
|
|
58
|
-
* running a partial pre-release build. In this case, only user-changed packages should update.
|
|
59
|
-
*/
|
|
60
|
-
private static _getChangeInfoNewVersion;
|
|
61
|
-
/**
|
|
62
|
-
* Adds the given change to the packageChanges map.
|
|
63
|
-
*
|
|
64
|
-
* @returns true if the change caused the dependency change type to increase.
|
|
65
|
-
*/
|
|
66
|
-
private static _addChange;
|
|
67
|
-
private static _updateDownstreamDependencies;
|
|
68
|
-
private static _updateDownstreamDependency;
|
|
69
|
-
private static _updateDependencyVersion;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=PublishUtilities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/PublishUtilities");
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AsyncRecycler } from '../utilities/AsyncRecycler';
|
|
2
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
3
|
-
import { RushGlobalFolder } from '../api/RushGlobalFolder';
|
|
4
|
-
/**
|
|
5
|
-
* This class implements the logic for "rush purge"
|
|
6
|
-
*/
|
|
7
|
-
export declare class PurgeManager {
|
|
8
|
-
private _rushConfiguration;
|
|
9
|
-
private _rushGlobalFolder;
|
|
10
|
-
private _rushUserFolderRecycler;
|
|
11
|
-
readonly commonTempFolderRecycler: AsyncRecycler;
|
|
12
|
-
constructor(rushConfiguration: RushConfiguration, rushGlobalFolder: RushGlobalFolder);
|
|
13
|
-
/**
|
|
14
|
-
* Performs the AsyncRecycler.deleteAll() operation. This should be called before
|
|
15
|
-
* the PurgeManager instance is disposed.
|
|
16
|
-
*/
|
|
17
|
-
deleteAll(): void;
|
|
18
|
-
/**
|
|
19
|
-
* Delete everything from the common/temp folder
|
|
20
|
-
*/
|
|
21
|
-
purgeNormal(): void;
|
|
22
|
-
/**
|
|
23
|
-
* In addition to performing the purgeNormal() operation, this method also cleans the
|
|
24
|
-
* .rush folder in the user's home directory.
|
|
25
|
-
*/
|
|
26
|
-
purgeUnsafe(): void;
|
|
27
|
-
private _getMembersToExclude;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=PurgeManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/PurgeManager");
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
2
|
-
/**
|
|
3
|
-
* This file is used to track the state of various Rush-related features. It is generated
|
|
4
|
-
* and updated by Rush.
|
|
5
|
-
*
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class RepoStateFile {
|
|
9
|
-
private static _jsonSchema;
|
|
10
|
-
private _variant;
|
|
11
|
-
private _pnpmShrinkwrapHash;
|
|
12
|
-
private _preferredVersionsHash;
|
|
13
|
-
private _isValid;
|
|
14
|
-
private _modified;
|
|
15
|
-
/**
|
|
16
|
-
* Get the absolute file path of the repo-state.json file.
|
|
17
|
-
*/
|
|
18
|
-
readonly filePath: string;
|
|
19
|
-
private constructor();
|
|
20
|
-
/**
|
|
21
|
-
* The hash of the pnpm shrinkwrap file at the end of the last update.
|
|
22
|
-
*/
|
|
23
|
-
get pnpmShrinkwrapHash(): string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* The hash of all preferred versions at the end of the last update.
|
|
26
|
-
*/
|
|
27
|
-
get preferredVersionsHash(): string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* If false, the repo-state.json file is not valid and its values cannot be relied upon
|
|
30
|
-
*/
|
|
31
|
-
get isValid(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Loads the repo-state.json data from the specified file path.
|
|
34
|
-
* If the file has not been created yet, then an empty object is returned.
|
|
35
|
-
*
|
|
36
|
-
* @param jsonFilename - The path to the repo-state.json file.
|
|
37
|
-
* @param variant - The variant currently being used by Rush.
|
|
38
|
-
*/
|
|
39
|
-
static loadFromFile(jsonFilename: string, variant: string | undefined): RepoStateFile;
|
|
40
|
-
/**
|
|
41
|
-
* Refresh the data contained in repo-state.json using the current state
|
|
42
|
-
* of the Rush repo, and save the file if changes were made.
|
|
43
|
-
*
|
|
44
|
-
* @param rushConfiguration - The Rush configuration for the repo.
|
|
45
|
-
*
|
|
46
|
-
* @returns true if the file was modified, otherwise false.
|
|
47
|
-
*/
|
|
48
|
-
refreshState(rushConfiguration: RushConfiguration): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Writes the "repo-state.json" file to disk, using the filename that was passed to loadFromFile().
|
|
51
|
-
*/
|
|
52
|
-
private _saveIfModified;
|
|
53
|
-
private _serialize;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=RepoStateFile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/RepoStateFile");
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constants used by the Rush tool.
|
|
3
|
-
* @beta
|
|
4
|
-
*
|
|
5
|
-
* @remarks
|
|
6
|
-
*
|
|
7
|
-
* These are NOT part of the public API surface for rush-lib.
|
|
8
|
-
* The rationale is that we don't want people implementing custom parsers for
|
|
9
|
-
* the Rush config files; instead, they should rely on the official APIs from rush-lib.
|
|
10
|
-
*/
|
|
11
|
-
export declare class RushConstants {
|
|
12
|
-
/**
|
|
13
|
-
* The filename ("browser-approved-packages.json") for an optional policy configuration file
|
|
14
|
-
* that stores a list of NPM packages that have been approved for usage by Rush projects.
|
|
15
|
-
* This is part of a pair of config files, one for projects that run in a web browser
|
|
16
|
-
* (e.g. whose approval criteria mostly focuses on licensing and code size), and one for everywhere else
|
|
17
|
-
* (e.g. tooling projects whose approval criteria mostly focuses on avoiding node_modules sprawl).
|
|
18
|
-
*/
|
|
19
|
-
static readonly browserApprovedPackagesFilename: string;
|
|
20
|
-
/**
|
|
21
|
-
* The folder name ("changes") where change files will be stored.
|
|
22
|
-
*/
|
|
23
|
-
static readonly changeFilesFolderName: string;
|
|
24
|
-
/**
|
|
25
|
-
* The filename ("nonbrowser-approved-packages.json") for an optional policy configuration file
|
|
26
|
-
* that stores a list of NPM packages that have been approved for usage by Rush projects.
|
|
27
|
-
* This is part of a pair of config files, one for projects that run in a web browser
|
|
28
|
-
* (e.g. whose approval criteria mostly focuses on licensing and code size), and one for everywhere else
|
|
29
|
-
* (e.g. tooling projects whose approval criteria mostly focuses on avoiding node_modules sprawl).
|
|
30
|
-
*/
|
|
31
|
-
static readonly nonbrowserApprovedPackagesFilename: string;
|
|
32
|
-
/**
|
|
33
|
-
* The folder name ("common") where Rush's common data will be stored.
|
|
34
|
-
*/
|
|
35
|
-
static readonly commonFolderName: string;
|
|
36
|
-
/**
|
|
37
|
-
* The NPM scope ("\@rush-temp") that is used for Rush's temporary projects.
|
|
38
|
-
*/
|
|
39
|
-
static readonly rushTempNpmScope: string;
|
|
40
|
-
/**
|
|
41
|
-
* The folder name ("temp") under the common folder, or under the .rush folder in each project's directory where
|
|
42
|
-
* temporary files will be stored.
|
|
43
|
-
* Example: `C:\MyRepo\common\temp`
|
|
44
|
-
*/
|
|
45
|
-
static readonly rushTempFolderName: string;
|
|
46
|
-
/**
|
|
47
|
-
* The folder name ("projects") where temporary projects will be stored.
|
|
48
|
-
* Example: `C:\MyRepo\common\temp\projects`
|
|
49
|
-
*/
|
|
50
|
-
static readonly rushTempProjectsFolderName: string;
|
|
51
|
-
/**
|
|
52
|
-
* The folder name ("variants") under which named variant configurations for
|
|
53
|
-
* alternate dependency sets may be found.
|
|
54
|
-
* Example: `C:\MyRepo\common\config\rush\variants`
|
|
55
|
-
*/
|
|
56
|
-
static readonly rushVariantsFolderName: string;
|
|
57
|
-
/**
|
|
58
|
-
* The filename ("npm-shrinkwrap.json") used to store an installation plan for the NPM package manger.
|
|
59
|
-
*/
|
|
60
|
-
static readonly npmShrinkwrapFilename: string;
|
|
61
|
-
/**
|
|
62
|
-
* Number of installation attempts
|
|
63
|
-
*/
|
|
64
|
-
static readonly defaultMaxInstallAttempts: number;
|
|
65
|
-
/**
|
|
66
|
-
* The filename ("pnpm-lock.yaml") used to store an installation plan for the PNPM package manger
|
|
67
|
-
* (PNPM version 3.x and later).
|
|
68
|
-
*/
|
|
69
|
-
static readonly pnpmV3ShrinkwrapFilename: string;
|
|
70
|
-
/**
|
|
71
|
-
* The filename ("pnpmfile.js") used to add custom configuration to PNPM (PNPM version 1.x and later).
|
|
72
|
-
*/
|
|
73
|
-
static readonly pnpmfileV1Filename: string;
|
|
74
|
-
/**
|
|
75
|
-
* The filename (".pnpmfile.cjs") used to add custom configuration to PNPM (PNPM version 6.x and later).
|
|
76
|
-
*/
|
|
77
|
-
static readonly pnpmfileV6Filename: string;
|
|
78
|
-
/**
|
|
79
|
-
* The folder name used to store patch files for pnpm
|
|
80
|
-
* Example: `C:\MyRepo\common\config\pnpm-patches`
|
|
81
|
-
* Example: `C:\MyRepo\common\temp\patches`
|
|
82
|
-
*/
|
|
83
|
-
static readonly pnpmPatchesFolderName: string;
|
|
84
|
-
/**
|
|
85
|
-
* The filename ("shrinkwrap.yaml") used to store state for pnpm
|
|
86
|
-
*/
|
|
87
|
-
static readonly yarnShrinkwrapFilename: string;
|
|
88
|
-
/**
|
|
89
|
-
* The folder name ("node_modules") where NPM installs its packages.
|
|
90
|
-
*/
|
|
91
|
-
static readonly nodeModulesFolderName: string;
|
|
92
|
-
/**
|
|
93
|
-
* The filename ("pinned-versions.json") for an old configuration file that
|
|
94
|
-
* that is no longer supported.
|
|
95
|
-
*
|
|
96
|
-
* @deprecated This feature has been superseded by the "preferredVersions" setting
|
|
97
|
-
* in common-versions.json
|
|
98
|
-
*/
|
|
99
|
-
static readonly pinnedVersionsFilename: string;
|
|
100
|
-
/**
|
|
101
|
-
* The filename ("common-versions.json") for an optional configuration file
|
|
102
|
-
* that stores dependency version information that affects all projects in the repo.
|
|
103
|
-
* This configuration file should go in the "common/config/rush" folder.
|
|
104
|
-
*/
|
|
105
|
-
static readonly commonVersionsFilename: string;
|
|
106
|
-
/**
|
|
107
|
-
* The filename ("repo-state.json") for a file used by Rush to
|
|
108
|
-
* store the state of various features as they stand in the repo.
|
|
109
|
-
*/
|
|
110
|
-
static readonly repoStateFilename: string;
|
|
111
|
-
/**
|
|
112
|
-
* The name of the per-project folder where project-specific Rush files are stored. For example,
|
|
113
|
-
* the package-deps files, which are used by commands to determine if a particular project needs to be rebuilt.
|
|
114
|
-
*/
|
|
115
|
-
static readonly projectRushFolderName: string;
|
|
116
|
-
/**
|
|
117
|
-
* Custom command line configuration file, which is used by rush for implementing
|
|
118
|
-
* custom command and options.
|
|
119
|
-
*/
|
|
120
|
-
static readonly commandLineFilename: string;
|
|
121
|
-
static readonly versionPoliciesFilename: string;
|
|
122
|
-
/**
|
|
123
|
-
* Experiments configuration file.
|
|
124
|
-
*/
|
|
125
|
-
static readonly experimentsFilename: string;
|
|
126
|
-
/**
|
|
127
|
-
* Pnpm configuration file
|
|
128
|
-
*/
|
|
129
|
-
static readonly pnpmConfigFilename: string;
|
|
130
|
-
/**
|
|
131
|
-
* Rush plugins configuration file name.
|
|
132
|
-
*/
|
|
133
|
-
static readonly rushPluginsConfigFilename: string;
|
|
134
|
-
/**
|
|
135
|
-
* Rush plugin manifest file name.
|
|
136
|
-
*/
|
|
137
|
-
static readonly rushPluginManifestFilename: string;
|
|
138
|
-
/**
|
|
139
|
-
* The artifactory.json configuration file name.
|
|
140
|
-
*/
|
|
141
|
-
static readonly artifactoryFilename: string;
|
|
142
|
-
/**
|
|
143
|
-
* Build cache configuration file.
|
|
144
|
-
*/
|
|
145
|
-
static readonly buildCacheFilename: string;
|
|
146
|
-
/**
|
|
147
|
-
* Build cache version number, incremented when the logic to create cache entries changes.
|
|
148
|
-
* Changing this ensures that cache entries generated by an old version will no longer register as a cache hit.
|
|
149
|
-
*/
|
|
150
|
-
static readonly buildCacheVersion: number;
|
|
151
|
-
/**
|
|
152
|
-
* Per-project configuration filename.
|
|
153
|
-
*/
|
|
154
|
-
static readonly rushProjectConfigFilename: string;
|
|
155
|
-
/**
|
|
156
|
-
* The URL ("http://rushjs.io") for the Rush web site.
|
|
157
|
-
*/
|
|
158
|
-
static readonly rushWebSiteUrl: string;
|
|
159
|
-
/**
|
|
160
|
-
* The name of the NPM package for the Rush tool ("\@microsoft/rush").
|
|
161
|
-
*/
|
|
162
|
-
static readonly rushPackageName: string;
|
|
163
|
-
/**
|
|
164
|
-
* The folder name ("rush-recycler") where Rush moves large folder trees
|
|
165
|
-
* before asynchronously deleting them.
|
|
166
|
-
*/
|
|
167
|
-
static readonly rushRecyclerFolderName: string;
|
|
168
|
-
/**
|
|
169
|
-
* The name of the file to drop in project-folder/.rush/temp/ containing a listing of the project's direct
|
|
170
|
-
* and indirect dependencies. This is used to detect if a project's dependencies have changed since the last build.
|
|
171
|
-
*/
|
|
172
|
-
static readonly projectShrinkwrapFilename: string;
|
|
173
|
-
/**
|
|
174
|
-
* The value of the "commandKind" property for a bulk command in command-line.json
|
|
175
|
-
*/
|
|
176
|
-
static readonly bulkCommandKind: 'bulk';
|
|
177
|
-
/**
|
|
178
|
-
* The value of the "commandKind" property for a global command in command-line.json
|
|
179
|
-
*/
|
|
180
|
-
static readonly globalCommandKind: 'global';
|
|
181
|
-
/**
|
|
182
|
-
* The value of the "commandKind" property for a phased command in command-line.json
|
|
183
|
-
*/
|
|
184
|
-
static readonly phasedCommandKind: 'phased';
|
|
185
|
-
/**
|
|
186
|
-
* The name of the incremental build command.
|
|
187
|
-
*/
|
|
188
|
-
static readonly buildCommandName: string;
|
|
189
|
-
/**
|
|
190
|
-
* The name of the non-incremental build command.
|
|
191
|
-
*/
|
|
192
|
-
static readonly rebuildCommandName: string;
|
|
193
|
-
static readonly updateCloudCredentialsCommandName: string;
|
|
194
|
-
/**
|
|
195
|
-
* When a hash generated that contains multiple input segments, this character may be used
|
|
196
|
-
* to separate them to avoid issues like
|
|
197
|
-
* crypto.createHash('sha1').update('a').update('bc').digest('hex') === crypto.createHash('sha1').update('ab').update('c').digest('hex')
|
|
198
|
-
*/
|
|
199
|
-
static readonly hashDelimiter: string;
|
|
200
|
-
/**
|
|
201
|
-
* The name of the per-user Rush configuration data folder.
|
|
202
|
-
*/
|
|
203
|
-
static readonly rushUserConfigurationFolderName: string;
|
|
204
|
-
/**
|
|
205
|
-
* The name of the project `rush-logs` folder.
|
|
206
|
-
*/
|
|
207
|
-
static readonly rushLogsFolderName: string;
|
|
208
|
-
/**
|
|
209
|
-
* The expected prefix for phase names in "common/config/rush/command-line.json"
|
|
210
|
-
*/
|
|
211
|
-
static readonly phaseNamePrefix: '_phase:';
|
|
212
|
-
/**
|
|
213
|
-
* The default debounce value for Rush multi-project watch mode. When watching, controls
|
|
214
|
-
* how long to wait after the last encountered file system event before execution. If another
|
|
215
|
-
* file system event occurs in this interval, the timeout will reset.
|
|
216
|
-
*/
|
|
217
|
-
static readonly defaultWatchDebounceMs: number;
|
|
218
|
-
}
|
|
219
|
-
//# sourceMappingURL=RushConstants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/RushConstants");
|
package/lib/logic/Selection.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimal subset of RushConfigurationProject needed for graph manipulation.
|
|
3
|
-
* Used to facilitate type safety in unit tests.
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export interface IPartialProject<T extends IPartialProject<T>> {
|
|
7
|
-
dependencyProjects: ReadonlySet<T>;
|
|
8
|
-
consumingProjects: ReadonlySet<T>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* This namespace contains functions for manipulating sets of projects
|
|
12
|
-
*/
|
|
13
|
-
export declare class Selection {
|
|
14
|
-
/**
|
|
15
|
-
* Computes the intersection of two or more sets.
|
|
16
|
-
*/
|
|
17
|
-
static intersection<T>(first: Iterable<T>, ...rest: ReadonlySet<T>[]): Set<T>;
|
|
18
|
-
/**
|
|
19
|
-
* Computes the union of two or more sets.
|
|
20
|
-
*/
|
|
21
|
-
static union<T>(...sets: Iterable<T>[]): Set<T>;
|
|
22
|
-
/**
|
|
23
|
-
* Computes a set that contains the input projects and all the direct and indirect dependencies thereof.
|
|
24
|
-
*/
|
|
25
|
-
static expandAllDependencies<T extends IPartialProject<T>>(input: Iterable<T>): Set<T>;
|
|
26
|
-
/**
|
|
27
|
-
* Computes a set that contains the input projects and all projects that directly or indirectly depend on them.
|
|
28
|
-
*/
|
|
29
|
-
static expandAllConsumers<T extends IPartialProject<T>>(input: Iterable<T>): Set<T>;
|
|
30
|
-
/**
|
|
31
|
-
* Iterates the direct dependencies of the listed projects. May contain duplicates.
|
|
32
|
-
*/
|
|
33
|
-
static directDependenciesOf<T extends IPartialProject<T>>(input: Iterable<T>): Iterable<T>;
|
|
34
|
-
/**
|
|
35
|
-
* Iterates the projects that declare any of the listed projects as a dependency. May contain duplicates.
|
|
36
|
-
*/
|
|
37
|
-
static directConsumersOf<T extends IPartialProject<T>>(input: Iterable<T>): Iterable<T>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=Selection.d.ts.map
|
package/lib/logic/Selection.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/Selection");
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
2
|
-
/**
|
|
3
|
-
* Validate that the developer's setup is good.
|
|
4
|
-
*
|
|
5
|
-
* These checks are invoked prior to the following commands:
|
|
6
|
-
* - rush install
|
|
7
|
-
* - rush update
|
|
8
|
-
* - rush build
|
|
9
|
-
* - rush rebuild
|
|
10
|
-
*/
|
|
11
|
-
export declare class SetupChecks {
|
|
12
|
-
static validate(rushConfiguration: RushConfiguration): void;
|
|
13
|
-
private static _validate;
|
|
14
|
-
private static _checkForPhantomFolders;
|
|
15
|
-
/**
|
|
16
|
-
* Checks "folder" and each of its parents to see if it contains a node_modules folder.
|
|
17
|
-
* The bad folders will be added to phantomFolders.
|
|
18
|
-
* The seenFolders set is used to avoid duplicates.
|
|
19
|
-
*/
|
|
20
|
-
private static _collectPhantomFoldersUpwards;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=SetupChecks.d.ts.map
|
package/lib/logic/SetupChecks.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/SetupChecks");
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PackageManagerName } from '../api/packageManager/PackageManager';
|
|
2
|
-
import { PackageManagerOptionsConfigurationBase } from './base/BasePackageManagerOptionsConfiguration';
|
|
3
|
-
import { BaseShrinkwrapFile } from './base/BaseShrinkwrapFile';
|
|
4
|
-
export declare class ShrinkwrapFileFactory {
|
|
5
|
-
static getShrinkwrapFile(packageManager: PackageManagerName, packageManagerOptions: PackageManagerOptionsConfigurationBase, shrinkwrapFilename: string): BaseShrinkwrapFile | undefined;
|
|
6
|
-
static parseShrinkwrapFile(packageManager: PackageManagerName, packageManagerOptions: PackageManagerOptionsConfigurationBase, shrinkwrapContent: string): BaseShrinkwrapFile | undefined;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=ShrinkwrapFileFactory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/ShrinkwrapFileFactory");
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
2
|
-
/**
|
|
3
|
-
* Checks whether the common/scripts files are up to date, and recopies them if needed.
|
|
4
|
-
* This is used by the "rush install" and "rush update" commands.
|
|
5
|
-
*/
|
|
6
|
-
export declare class StandardScriptUpdater {
|
|
7
|
-
/**
|
|
8
|
-
* Recopy the scripts if the scripts are out of date.
|
|
9
|
-
* Used by "rush update".
|
|
10
|
-
*/
|
|
11
|
-
static updateAsync(rushConfiguration: RushConfiguration): Promise<boolean>;
|
|
12
|
-
/**
|
|
13
|
-
* Throw an exception if the scripts are out of date.
|
|
14
|
-
* Used by "rush install".
|
|
15
|
-
*/
|
|
16
|
-
static validateAsync(rushConfiguration: RushConfiguration): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Compares a single script in the common/script folder to see if it needs to be updated.
|
|
19
|
-
* If throwInsteadOfCopy=false, then an outdated or missing script will be recopied;
|
|
20
|
-
* otherwise, an exception is thrown.
|
|
21
|
-
*/
|
|
22
|
-
private static _updateScriptOrThrowAsync;
|
|
23
|
-
private static _normalize;
|
|
24
|
-
private static _getExpectedFileDataAsync;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=StandardScriptUpdater.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/StandardScriptUpdater");
|
package/lib/logic/Telemetry.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { RushConfiguration } from '../api/RushConfiguration';
|
|
2
|
-
import { RushSession } from '../pluginFramework/RushSession';
|
|
3
|
-
/**
|
|
4
|
-
* @beta
|
|
5
|
-
*/
|
|
6
|
-
export interface ITelemetryMachineInfo {
|
|
7
|
-
/**
|
|
8
|
-
* The CPU architecture
|
|
9
|
-
* @example `"AMD64"`
|
|
10
|
-
*/
|
|
11
|
-
machineArchitecture: string;
|
|
12
|
-
/**
|
|
13
|
-
* The CPU model
|
|
14
|
-
* * @example `"AMD Ryzen 7 3700X 8-Core Processor"`
|
|
15
|
-
*/
|
|
16
|
-
machineCpu: string;
|
|
17
|
-
/**
|
|
18
|
-
* The number of logical CPU cores.
|
|
19
|
-
*/
|
|
20
|
-
machineCores: number;
|
|
21
|
-
/**
|
|
22
|
-
* The total amount of RAM on the machine, in MiB.
|
|
23
|
-
*/
|
|
24
|
-
machineTotalMemoryMiB: number;
|
|
25
|
-
/**
|
|
26
|
-
* The amount of free RAM on the machine at the end of execution, in MiB.
|
|
27
|
-
*/
|
|
28
|
-
machineFreeMemoryMiB: number;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @beta
|
|
32
|
-
*/
|
|
33
|
-
export interface ITelemetryOperationResult {
|
|
34
|
-
/**
|
|
35
|
-
* The names of operations that this operation depends on.
|
|
36
|
-
*/
|
|
37
|
-
dependencies: string[];
|
|
38
|
-
/**
|
|
39
|
-
* The status code for the operation.
|
|
40
|
-
*/
|
|
41
|
-
result: string;
|
|
42
|
-
/**
|
|
43
|
-
* A timestamp in milliseconds (from `performance.now()`) when the operation started.
|
|
44
|
-
* If the operation was blocked, will be `undefined`.
|
|
45
|
-
*/
|
|
46
|
-
startTimestampMs?: number;
|
|
47
|
-
/**
|
|
48
|
-
* A timestamp in milliseconds (from `performance.now()`) when the operation finished.
|
|
49
|
-
* If the operation was blocked, will be `undefined`.
|
|
50
|
-
*/
|
|
51
|
-
endTimestampMs?: number;
|
|
52
|
-
/**
|
|
53
|
-
* Duration in milliseconds when the operation does not hit cache
|
|
54
|
-
*/
|
|
55
|
-
nonCachedDurationMs?: number;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @beta
|
|
59
|
-
*/
|
|
60
|
-
export interface ITelemetryData {
|
|
61
|
-
/**
|
|
62
|
-
* Command name
|
|
63
|
-
* @example `"build"`
|
|
64
|
-
*/
|
|
65
|
-
readonly name: string;
|
|
66
|
-
/**
|
|
67
|
-
* Duration in seconds
|
|
68
|
-
*/
|
|
69
|
-
readonly durationInSeconds: number;
|
|
70
|
-
/**
|
|
71
|
-
* The result of the command
|
|
72
|
-
*/
|
|
73
|
-
readonly result: 'Succeeded' | 'Failed';
|
|
74
|
-
/**
|
|
75
|
-
* The millisecond-resolution timestamp of the telemetry logging
|
|
76
|
-
* @example 1648001893024
|
|
77
|
-
*/
|
|
78
|
-
readonly timestampMs?: number;
|
|
79
|
-
/**
|
|
80
|
-
* The platform the command was executed on, based on the Node.js `process.platform()` API
|
|
81
|
-
* @example `"darwin"`, `"win32"`, `"linux"`
|
|
82
|
-
*/
|
|
83
|
-
readonly platform?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The Rush version
|
|
86
|
-
* @example `5.63.0`
|
|
87
|
-
*/
|
|
88
|
-
readonly rushVersion?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Detailed information about the host machine.
|
|
91
|
-
*/
|
|
92
|
-
readonly machineInfo?: ITelemetryMachineInfo;
|
|
93
|
-
/**
|
|
94
|
-
* Only applicable to phased commands. Provides detailed results by operation.
|
|
95
|
-
* Keys are operation names, values contain result, timing information, and dependencies.
|
|
96
|
-
*/
|
|
97
|
-
readonly operationResults?: Record<string, ITelemetryOperationResult>;
|
|
98
|
-
readonly extraData?: {
|
|
99
|
-
[key: string]: string | number | boolean;
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
export declare class Telemetry {
|
|
103
|
-
private _enabled;
|
|
104
|
-
private _store;
|
|
105
|
-
private _dataFolder;
|
|
106
|
-
private _rushConfiguration;
|
|
107
|
-
private _rushSession;
|
|
108
|
-
private _flushAsyncTasks;
|
|
109
|
-
constructor(rushConfiguration: RushConfiguration, rushSession: RushSession);
|
|
110
|
-
log(telemetryData: ITelemetryData): void;
|
|
111
|
-
flush(): void;
|
|
112
|
-
/**
|
|
113
|
-
* There are some async tasks that are not finished when the process is exiting.
|
|
114
|
-
*/
|
|
115
|
-
ensureFlushedAsync(): Promise<void>;
|
|
116
|
-
get store(): ITelemetryData[];
|
|
117
|
-
/**
|
|
118
|
-
* When there are too many log files, delete the old ones.
|
|
119
|
-
*/
|
|
120
|
-
private _cleanUp;
|
|
121
|
-
private _getFilePath;
|
|
122
|
-
}
|
|
123
|
-
//# sourceMappingURL=Telemetry.d.ts.map
|
package/lib/logic/Telemetry.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("logic/Telemetry");
|