@rushstack/rush-sdk 5.107.3 → 5.108.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.
Files changed (115) hide show
  1. package/dist/tsdoc-metadata.json +1 -1
  2. package/lib/api/ApprovedPackagesPolicy.d.ts +1 -1
  3. package/lib/api/BuildCacheConfiguration.d.ts +4 -4
  4. package/lib/api/ChangeFile.d.ts +2 -2
  5. package/lib/api/ChangeManager.d.ts +1 -1
  6. package/lib/api/CobuildConfiguration.d.ts +2 -2
  7. package/lib/api/CustomTipsConfiguration.d.ts +1 -1
  8. package/lib/api/EnvironmentConfiguration.d.ts +1 -1
  9. package/lib/api/EventHooks.d.ts +1 -1
  10. package/lib/api/LastInstallFlag.d.ts +2 -2
  11. package/lib/api/LastLinkFlag.d.ts +1 -1
  12. package/lib/api/PackageJsonEditor.d.ts +1 -1
  13. package/lib/api/Rush.d.ts +2 -2
  14. package/lib/api/RushConfiguration.d.ts +7 -7
  15. package/lib/api/RushConfigurationProject.d.ts +3 -3
  16. package/lib/api/RushProjectConfiguration.d.ts +1 -1
  17. package/lib/api/SaveCallbackPackageJsonEditor.d.ts +1 -1
  18. package/lib/api/Variants.d.ts +1 -1
  19. package/lib/api/VersionPolicy.d.ts +3 -3
  20. package/lib/api/VersionPolicyConfiguration.d.ts +2 -2
  21. package/lib/cli/RushCommandLineParser.d.ts +1 -1
  22. package/lib/cli/RushPnpmCommandLine.d.ts +1 -1
  23. package/lib/cli/RushPnpmCommandLineParser.d.ts +1 -1
  24. package/lib/cli/actions/AddAction.d.ts +1 -1
  25. package/lib/cli/actions/BaseAddAndRemoveAction.d.ts +1 -1
  26. package/lib/cli/actions/BaseInstallAction.d.ts +4 -3
  27. package/lib/cli/actions/BaseRushAction.d.ts +4 -4
  28. package/lib/cli/actions/ChangeAction.d.ts +1 -1
  29. package/lib/cli/actions/CheckAction.d.ts +1 -1
  30. package/lib/cli/actions/InitAction.d.ts +1 -1
  31. package/lib/cli/actions/InitAutoinstallerAction.d.ts +1 -1
  32. package/lib/cli/actions/InitDeployAction.d.ts +1 -1
  33. package/lib/cli/actions/InstallAction.d.ts +1 -1
  34. package/lib/cli/actions/LinkAction.d.ts +1 -1
  35. package/lib/cli/actions/ListAction.d.ts +1 -1
  36. package/lib/cli/actions/PublishAction.d.ts +1 -1
  37. package/lib/cli/actions/PurgeAction.d.ts +1 -1
  38. package/lib/cli/actions/RemoveAction.d.ts +1 -1
  39. package/lib/cli/actions/ScanAction.d.ts +1 -1
  40. package/lib/cli/actions/SetupAction.d.ts +1 -1
  41. package/lib/cli/actions/UnlinkAction.d.ts +1 -1
  42. package/lib/cli/actions/UpdateAction.d.ts +1 -1
  43. package/lib/cli/actions/UpdateAutoinstallerAction.d.ts +1 -1
  44. package/lib/cli/actions/UpdateCloudCredentialsAction.d.ts +1 -1
  45. package/lib/cli/actions/UpgradeInteractiveAction.d.ts +1 -1
  46. package/lib/cli/actions/VersionAction.d.ts +1 -1
  47. package/lib/cli/parsing/SelectionParameterSet.d.ts +5 -5
  48. package/lib/cli/scriptActions/BaseScriptAction.d.ts +3 -3
  49. package/lib/cli/scriptActions/GlobalScriptAction.d.ts +1 -1
  50. package/lib/cli/scriptActions/PhasedScriptAction.d.ts +1 -1
  51. package/lib/logic/Autoinstaller.d.ts +1 -1
  52. package/lib/logic/ChangeFiles.d.ts +2 -2
  53. package/lib/logic/ChangeManager.d.ts +5 -5
  54. package/lib/logic/ChangelogGenerator.d.ts +5 -5
  55. package/lib/logic/DependencyAnalyzer.d.ts +2 -2
  56. package/lib/logic/EventHooksManager.d.ts +1 -1
  57. package/lib/logic/Git.d.ts +3 -3
  58. package/lib/logic/ProjectChangeAnalyzer.d.ts +3 -3
  59. package/lib/logic/ProjectCommandSet.d.ts +1 -1
  60. package/lib/logic/PublishGit.d.ts +2 -2
  61. package/lib/logic/PurgeManager.d.ts +3 -3
  62. package/lib/logic/RepoStateFile.d.ts +1 -1
  63. package/lib/logic/SetupChecks.d.ts +1 -1
  64. package/lib/logic/ShrinkwrapFileFactory.d.ts +3 -3
  65. package/lib/logic/StandardScriptUpdater.d.ts +1 -1
  66. package/lib/logic/Telemetry.d.ts +2 -2
  67. package/lib/logic/UnlinkManager.d.ts +1 -1
  68. package/lib/logic/base/BaseInstallManagerTypes.d.ts +5 -0
  69. package/lib/logic/base/BaseProjectShrinkwrapFile.d.ts +2 -2
  70. package/lib/logic/base/BaseShrinkwrapFile.d.ts +7 -7
  71. package/lib/logic/buildCache/FileSystemBuildCacheProvider.d.ts +3 -3
  72. package/lib/logic/buildCache/ICloudBuildCacheProvider.d.ts +1 -1
  73. package/lib/logic/buildCache/ProjectBuildCache.d.ts +4 -4
  74. package/lib/logic/installManager/InstallHelpers.d.ts +2 -2
  75. package/lib/logic/npm/NpmOptionsConfiguration.d.ts +1 -1
  76. package/lib/logic/npm/NpmShrinkwrapFile.d.ts +2 -2
  77. package/lib/logic/operations/AsyncOperationQueue.d.ts +1 -1
  78. package/lib/logic/operations/CacheableOperationPlugin.d.ts +3 -3
  79. package/lib/logic/operations/Operation.d.ts +3 -3
  80. package/lib/logic/operations/OperationExecutionManager.d.ts +3 -3
  81. package/lib/logic/operations/OperationExecutionRecord.d.ts +3 -3
  82. package/lib/logic/operations/OperationMetadataManager.d.ts +1 -1
  83. package/lib/logic/operations/OperationResultSummarizerPlugin.d.ts +3 -3
  84. package/lib/logic/operations/ProjectLogWritable.d.ts +3 -3
  85. package/lib/logic/operations/ShellOperationRunner.d.ts +1 -1
  86. package/lib/logic/pnpm/PnpmOptionsConfiguration.d.ts +1 -1
  87. package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.d.ts +1 -1
  88. package/lib/logic/pnpm/PnpmShrinkwrapFile.d.ts +5 -5
  89. package/lib/logic/pnpm/PnpmfileConfiguration.d.ts +2 -2
  90. package/lib/logic/selectors/GitChangedProjectSelectorParser.d.ts +1 -1
  91. package/lib/logic/setup/SetupPackageRegistry.d.ts +1 -1
  92. package/lib/logic/versionMismatch/VersionMismatchFinder.d.ts +3 -3
  93. package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.d.ts +1 -1
  94. package/lib/logic/versionMismatch/VersionMismatchFinderEntity.d.ts +1 -1
  95. package/lib/logic/versionMismatch/VersionMismatchFinderProject.d.ts +2 -2
  96. package/lib/logic/yarn/YarnOptionsConfiguration.d.ts +1 -1
  97. package/lib/logic/yarn/YarnShrinkwrapFile.d.ts +3 -3
  98. package/lib/pluginFramework/PhasedCommandHooks.d.ts +1 -1
  99. package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.d.ts +3 -3
  100. package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.d.ts +2 -2
  101. package/lib/pluginFramework/PluginLoader/PluginLoaderBase.d.ts +4 -4
  102. package/lib/pluginFramework/PluginManager.d.ts +6 -6
  103. package/lib/pluginFramework/RushSession.d.ts +2 -2
  104. package/lib/pluginFramework/logging/Logger.d.ts +1 -1
  105. package/lib/utilities/AsyncRecycler.d.ts +1 -1
  106. package/lib/utilities/CollatedTerminalProvider.d.ts +2 -2
  107. package/lib/utilities/TarExecutable.d.ts +2 -2
  108. package/lib/utilities/Utilities.d.ts +1 -1
  109. package/lib-shim/index.d.ts.map +1 -1
  110. package/lib-shim/index.js +4 -2
  111. package/lib-shim/index.js.map +1 -1
  112. package/lib-shim/loader.d.ts.map +1 -1
  113. package/lib-shim/loader.js +3 -2
  114. package/lib-shim/loader.js.map +1 -1
  115. package/package.json +7 -8
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.37.0"
8
+ "packageVersion": "7.38.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { ApprovedPackagesConfiguration } from './ApprovedPackagesConfiguration';
2
- import { RushConfiguration, IRushConfigurationJson } from './RushConfiguration';
2
+ import type { RushConfiguration, IRushConfigurationJson } from './RushConfiguration';
3
3
  /**
4
4
  * This is a helper object for RushConfiguration.
5
5
  * It exposes the "approvedPackagesPolicy" feature from rush.json.
@@ -1,8 +1,8 @@
1
- import { JsonObject, ITerminal } from '@rushstack/node-core-library';
2
- import { RushConfiguration } from './RushConfiguration';
1
+ import { type JsonObject, type ITerminal } from '@rushstack/node-core-library';
2
+ import type { RushConfiguration } from './RushConfiguration';
3
3
  import { FileSystemBuildCacheProvider } from '../logic/buildCache/FileSystemBuildCacheProvider';
4
- import { ICloudBuildCacheProvider } from '../logic/buildCache/ICloudBuildCacheProvider';
5
- import { GetCacheEntryIdFunction } from '../logic/buildCache/CacheEntryId';
4
+ import type { ICloudBuildCacheProvider } from '../logic/buildCache/ICloudBuildCacheProvider';
5
+ import { type GetCacheEntryIdFunction } from '../logic/buildCache/CacheEntryId';
6
6
  import type { RushSession } from '../pluginFramework/RushSession';
7
7
  /**
8
8
  * Describes the file structure for the "common/config/rush/build-cache.json" config file.
@@ -1,5 +1,5 @@
1
- import { RushConfiguration } from './RushConfiguration';
2
- import { IChangeFile, IChangeInfo } from './ChangeManagement';
1
+ import type { RushConfiguration } from './RushConfiguration';
2
+ import type { IChangeFile, IChangeInfo } from './ChangeManagement';
3
3
  /**
4
4
  * This class represents a single change file.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { RushConfiguration } from './RushConfiguration';
1
+ import type { RushConfiguration } from './RushConfiguration';
2
2
  /**
3
3
  * A class that helps with programmatically interacting with Rush's change files.
4
4
  * @public
@@ -1,5 +1,5 @@
1
- import { ITerminal } from '@rushstack/node-core-library';
2
- import { CobuildLockProviderFactory, RushSession } from '../pluginFramework/RushSession';
1
+ import { type ITerminal } from '@rushstack/node-core-library';
2
+ import type { CobuildLockProviderFactory, RushSession } from '../pluginFramework/RushSession';
3
3
  import type { ICobuildLockProvider } from '../logic/cobuild/ICobuildLockProvider';
4
4
  import type { RushConfiguration } from './RushConfiguration';
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { ITerminal } from '@rushstack/node-core-library';
1
+ import { type ITerminal } from '@rushstack/node-core-library';
2
2
  /**
3
3
  * This interface represents the raw custom-tips.json file which allows repo maintainers
4
4
  * to configure extra details to be printed alongside certain Rush messages.
@@ -1,4 +1,4 @@
1
- import { IEnvironment } from '../utilities/Utilities';
1
+ import type { IEnvironment } from '../utilities/Utilities';
2
2
  /**
3
3
  * @beta
4
4
  */
@@ -1,4 +1,4 @@
1
- import { IEventHooksJson } from './RushConfiguration';
1
+ import type { IEventHooksJson } from './RushConfiguration';
2
2
  /**
3
3
  * Events happen during Rush runs.
4
4
  * @beta
@@ -1,5 +1,5 @@
1
- import { JsonObject } from '@rushstack/node-core-library';
2
- import { RushConfiguration } from './RushConfiguration';
1
+ import { type JsonObject } from '@rushstack/node-core-library';
2
+ import type { RushConfiguration } from './RushConfiguration';
3
3
  export declare const LAST_INSTALL_FLAG_FILE_NAME: string;
4
4
  /**
5
5
  * @internal
@@ -1,5 +1,5 @@
1
1
  import { LastInstallFlag } from './LastInstallFlag';
2
- import { RushConfiguration } from './RushConfiguration';
2
+ import type { RushConfiguration } from './RushConfiguration';
3
3
  export declare const LAST_LINK_FLAG_FILE_NAME: string;
4
4
  /**
5
5
  * A helper class for managing the last-link flag, which is persistent and
@@ -1,4 +1,4 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
1
+ import { type IPackageJson } from '@rushstack/node-core-library';
2
2
  /**
3
3
  * @public
4
4
  */
package/lib/api/Rush.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { IPackageJson, ITerminalProvider } from '@rushstack/node-core-library';
1
+ import { type IPackageJson, type ITerminalProvider } from '@rushstack/node-core-library';
2
2
  import '../utilities/SetRushLibPath';
3
- import { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
3
+ import type { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
4
4
  /**
5
5
  * Options to pass to the rush "launch" functions.
6
6
  *
@@ -1,18 +1,18 @@
1
- import { JsonNull, PackageNameParser } from '@rushstack/node-core-library';
2
- import { RushConfigurationProject, IRushConfigurationProjectJson } from './RushConfigurationProject';
1
+ import { type JsonNull, type PackageNameParser } from '@rushstack/node-core-library';
2
+ import { RushConfigurationProject, type IRushConfigurationProjectJson } from './RushConfigurationProject';
3
3
  import { ApprovedPackagesPolicy } from './ApprovedPackagesPolicy';
4
4
  import { EventHooks } from './EventHooks';
5
5
  import { VersionPolicyConfiguration } from './VersionPolicyConfiguration';
6
6
  import { CommonVersionsConfiguration } from './CommonVersionsConfiguration';
7
- import { PackageManagerName, PackageManager } from './packageManager/PackageManager';
7
+ import type { PackageManagerName, PackageManager } from './packageManager/PackageManager';
8
8
  import { ExperimentsConfiguration } from './ExperimentsConfiguration';
9
9
  import { RepoStateFile } from '../logic/RepoStateFile';
10
10
  import { LookupByPath } from '../logic/LookupByPath';
11
11
  import { RushPluginsConfiguration } from './RushPluginsConfiguration';
12
- import { IPnpmOptionsJson, PnpmOptionsConfiguration } from '../logic/pnpm/PnpmOptionsConfiguration';
13
- import { INpmOptionsJson, NpmOptionsConfiguration } from '../logic/npm/NpmOptionsConfiguration';
14
- import { IYarnOptionsJson, YarnOptionsConfiguration } from '../logic/yarn/YarnOptionsConfiguration';
15
- import { PackageManagerOptionsConfigurationBase } from '../logic/base/BasePackageManagerOptionsConfiguration';
12
+ import { type IPnpmOptionsJson, PnpmOptionsConfiguration } from '../logic/pnpm/PnpmOptionsConfiguration';
13
+ import { type INpmOptionsJson, NpmOptionsConfiguration } from '../logic/npm/NpmOptionsConfiguration';
14
+ import { type IYarnOptionsJson, YarnOptionsConfiguration } from '../logic/yarn/YarnOptionsConfiguration';
15
+ import type { PackageManagerOptionsConfigurationBase } from '../logic/base/BasePackageManagerOptionsConfiguration';
16
16
  import { CustomTipsConfiguration } from './CustomTipsConfiguration';
17
17
  /**
18
18
  * Part of IRushConfigurationJson.
@@ -1,6 +1,6 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
2
- import { RushConfiguration } from '../api/RushConfiguration';
3
- import { VersionPolicy } from './VersionPolicy';
1
+ import { type IPackageJson } from '@rushstack/node-core-library';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
+ import type { VersionPolicy } from './VersionPolicy';
4
4
  import type { PackageJsonEditor } from './PackageJsonEditor';
5
5
  /**
6
6
  * This represents the JSON data object for a project entry in the rush.json configuration file.
@@ -1,5 +1,5 @@
1
1
  import { type ITerminal } from '@rushstack/node-core-library';
2
- import { RushConfigurationProject } from './RushConfigurationProject';
2
+ import type { RushConfigurationProject } from './RushConfigurationProject';
3
3
  import type { IPhase } from './CommandLineConfiguration';
4
4
  /**
5
5
  * Describes the file structure for the `<project root>/config/rush-project.json` config file.
@@ -1,4 +1,4 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
1
+ import type { IPackageJson } from '@rushstack/node-core-library';
2
2
  import { PackageJsonEditor } from './PackageJsonEditor';
3
3
  export interface IFromObjectOptions {
4
4
  object: IPackageJson;
@@ -1,4 +1,4 @@
1
- import { ICommandLineStringDefinition } from '@rushstack/ts-command-line';
1
+ import type { ICommandLineStringDefinition } from '@rushstack/ts-command-line';
2
2
  /**
3
3
  * Namespace for utilities relating to the Variants feature.
4
4
  */
@@ -1,6 +1,6 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
2
- import { IVersionPolicyJson, ILockStepVersionJson, IIndividualVersionJson } from './VersionPolicyConfiguration';
3
- import { RushConfiguration } from './RushConfiguration';
1
+ import { type IPackageJson } from '@rushstack/node-core-library';
2
+ import { type IVersionPolicyJson, type ILockStepVersionJson, type IIndividualVersionJson } from './VersionPolicyConfiguration';
3
+ import type { RushConfiguration } from './RushConfiguration';
4
4
  /**
5
5
  * Type of version bumps
6
6
  * @public
@@ -1,5 +1,5 @@
1
- import { VersionPolicy, BumpType } from './VersionPolicy';
2
- import { RushConfigurationProject } from './RushConfigurationProject';
1
+ import { VersionPolicy, type BumpType } from './VersionPolicy';
2
+ import type { RushConfigurationProject } from './RushConfigurationProject';
3
3
  export interface IVersionPolicyJson {
4
4
  policyName: string;
5
5
  definitionName: string;
@@ -4,7 +4,7 @@ import { Telemetry } from '../logic/Telemetry';
4
4
  import { RushGlobalFolder } from '../api/RushGlobalFolder';
5
5
  import { PluginManager } from '../pluginFramework/PluginManager';
6
6
  import { RushSession } from '../pluginFramework/RushSession';
7
- import { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
7
+ import type { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
8
8
  /**
9
9
  * Options for `RushCommandLineParser`.
10
10
  */
@@ -1,4 +1,4 @@
1
- import { ILaunchOptions } from '../api/Rush';
1
+ import type { ILaunchOptions } from '../api/Rush';
2
2
  export interface ILaunchRushPnpmInternalOptions extends ILaunchOptions {
3
3
  }
4
4
  export declare class RushPnpmCommandLine {
@@ -1,4 +1,4 @@
1
- import { ITerminalProvider } from '@rushstack/node-core-library';
1
+ import { type ITerminalProvider } from '@rushstack/node-core-library';
2
2
  import type { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
3
3
  /**
4
4
  * Options for RushPnpmCommandLineParser
@@ -1,6 +1,6 @@
1
1
  import type { CommandLineFlagParameter, CommandLineStringListParameter } from '@rushstack/ts-command-line';
2
2
  import { BaseAddAndRemoveAction } from './BaseAddAndRemoveAction';
3
- import { RushCommandLineParser } from '../RushCommandLineParser';
3
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
4
4
  import { type IPackageJsonUpdaterRushAddOptions } from '../../logic/PackageJsonUpdaterTypes';
5
5
  export declare class AddAction extends BaseAddAndRemoveAction {
6
6
  protected readonly _allFlag: CommandLineFlagParameter;
@@ -1,6 +1,6 @@
1
1
  import type { CommandLineFlagParameter, CommandLineStringListParameter } from '@rushstack/ts-command-line';
2
2
  import { BaseRushAction, type IBaseRushActionOptions } from './BaseRushAction';
3
- import { RushConfigurationProject } from '../../api/RushConfigurationProject';
3
+ import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
4
4
  import type { IPackageForRushUpdate, IPackageJsonUpdaterRushBaseUpdateOptions } from '../../logic/PackageJsonUpdaterTypes';
5
5
  export interface IBasePackageJsonUpdaterRushOptions {
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import type { CommandLineFlagParameter, CommandLineIntegerParameter, CommandLineStringParameter } from '@rushstack/ts-command-line';
2
- import { BaseRushAction, IBaseRushActionOptions } from './BaseRushAction';
2
+ import { type ITerminal } from '@rushstack/node-core-library';
3
+ import { BaseRushAction, type IBaseRushActionOptions } from './BaseRushAction';
3
4
  import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
4
- import { SelectionParameterSet } from '../parsing/SelectionParameterSet';
5
- import { ITerminal } from '@rushstack/node-core-library';
5
+ import type { SelectionParameterSet } from '../parsing/SelectionParameterSet';
6
6
  /**
7
7
  * This is the common base class for InstallAction and UpdateAction.
8
8
  */
@@ -16,6 +16,7 @@ export declare abstract class BaseInstallAction extends BaseRushAction {
16
16
  protected readonly _debugPackageManagerParameter: CommandLineFlagParameter;
17
17
  protected readonly _maxInstallAttempts: CommandLineIntegerParameter;
18
18
  protected readonly _ignoreHooksParameter: CommandLineFlagParameter;
19
+ protected readonly _offlineParameter: CommandLineFlagParameter;
19
20
  protected _selectionParameters?: SelectionParameterSet;
20
21
  constructor(options: IBaseRushActionOptions);
21
22
  protected abstract buildInstallOptionsAsync(): Promise<IInstallManagerOptions>;
@@ -1,9 +1,9 @@
1
- import { CommandLineAction, ICommandLineActionOptions } from '@rushstack/ts-command-line';
2
- import { RushConfiguration } from '../../api/RushConfiguration';
1
+ import { CommandLineAction, type ICommandLineActionOptions } from '@rushstack/ts-command-line';
2
+ import type { RushConfiguration } from '../../api/RushConfiguration';
3
3
  import { EventHooksManager } from '../../logic/EventHooksManager';
4
4
  import { RushCommandLineParser } from './../RushCommandLineParser';
5
- import { RushGlobalFolder } from '../../api/RushGlobalFolder';
6
- import { RushSession } from '../../pluginFramework/RushSession';
5
+ import type { RushGlobalFolder } from '../../api/RushGlobalFolder';
6
+ import type { RushSession } from '../../pluginFramework/RushSession';
7
7
  import type { IRushCommand } from '../../pluginFramework/RushLifeCycle';
8
8
  export interface IBaseRushActionOptions extends ICommandLineActionOptions {
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  export declare class ChangeAction extends BaseRushAction {
4
4
  private readonly _git;
5
5
  private readonly _terminal;
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class CheckAction extends BaseRushAction {
4
4
  private readonly _terminal;
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseConfiglessRushAction } from './BaseRushAction';
3
3
  export declare class InitAction extends BaseConfiglessRushAction {
4
4
  private readonly _overwriteParameter;
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  export declare class InitAutoinstallerAction extends BaseRushAction {
4
4
  private readonly _name;
5
5
  constructor(parser: RushCommandLineParser);
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  export declare class InitDeployAction extends BaseRushAction {
4
4
  private readonly _project;
5
5
  private readonly _scenario;
@@ -1,6 +1,6 @@
1
1
  import { BaseInstallAction } from './BaseInstallAction';
2
2
  import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
3
- import { RushCommandLineParser } from '../RushCommandLineParser';
3
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
4
4
  export declare class InstallAction extends BaseInstallAction {
5
5
  private readonly _checkOnlyParameter;
6
6
  constructor(parser: RushCommandLineParser);
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class LinkAction extends BaseRushAction {
4
4
  private readonly _force;
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  /**
4
4
  * Shape of "rush list --json" output.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class PublishAction extends BaseRushAction {
4
4
  private readonly _addCommitDetails;
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  export declare class PurgeAction extends BaseRushAction {
4
4
  private readonly _unsafeParameter;
5
5
  constructor(parser: RushCommandLineParser);
@@ -1,6 +1,6 @@
1
1
  import type { CommandLineFlagParameter, CommandLineStringListParameter } from '@rushstack/ts-command-line';
2
2
  import { BaseAddAndRemoveAction } from './BaseAddAndRemoveAction';
3
- import { RushCommandLineParser } from '../RushCommandLineParser';
3
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
4
4
  import type { IPackageJsonUpdaterRushRemoveOptions } from '../../logic/PackageJsonUpdaterTypes';
5
5
  export declare class RemoveAction extends BaseAddAndRemoveAction {
6
6
  protected readonly _allFlag: CommandLineFlagParameter;
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseConfiglessRushAction } from './BaseRushAction';
3
3
  export interface IJsonOutput {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class SetupAction extends BaseRushAction {
4
4
  constructor(parser: RushCommandLineParser);
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class UnlinkAction extends BaseRushAction {
4
4
  constructor(parser: RushCommandLineParser);
@@ -1,6 +1,6 @@
1
1
  import { BaseInstallAction } from './BaseInstallAction';
2
2
  import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
3
- import { RushCommandLineParser } from '../RushCommandLineParser';
3
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
4
4
  export declare class UpdateAction extends BaseInstallAction {
5
5
  private readonly _fullParameter;
6
6
  private readonly _recheckParameter;
@@ -1,5 +1,5 @@
1
1
  import { BaseRushAction } from './BaseRushAction';
2
- import { RushCommandLineParser } from '../RushCommandLineParser';
2
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
3
3
  export declare class UpdateAutoinstallerAction extends BaseRushAction {
4
4
  private readonly _name;
5
5
  constructor(parser: RushCommandLineParser);
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class UpdateCloudCredentialsAction extends BaseRushAction {
4
4
  private readonly _interactiveModeFlag;
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare class UpgradeInteractiveAction extends BaseRushAction {
4
4
  private _makeConsistentFlag;
@@ -1,4 +1,4 @@
1
- import { RushCommandLineParser } from '../RushCommandLineParser';
1
+ import type { RushCommandLineParser } from '../RushCommandLineParser';
2
2
  import { BaseRushAction } from './BaseRushAction';
3
3
  export declare const DEFAULT_PACKAGE_UPDATE_MESSAGE: string;
4
4
  export declare const DEFAULT_CHANGELOG_UPDATE_MESSAGE: string;
@@ -1,8 +1,8 @@
1
- import { ITerminal } from '@rushstack/node-core-library';
2
- import { CommandLineParameterProvider } from '@rushstack/ts-command-line';
3
- import { RushConfiguration } from '../../api/RushConfiguration';
4
- import { RushConfigurationProject } from '../../api/RushConfigurationProject';
5
- import { IGitSelectorParserOptions } from '../../logic/selectors/GitChangedProjectSelectorParser';
1
+ import { type ITerminal } from '@rushstack/node-core-library';
2
+ import type { CommandLineParameterProvider } from '@rushstack/ts-command-line';
3
+ import type { RushConfiguration } from '../../api/RushConfiguration';
4
+ import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
5
+ import { type IGitSelectorParserOptions } from '../../logic/selectors/GitChangedProjectSelectorParser';
6
6
  /**
7
7
  * This class is provides the set of command line parameters used to select projects
8
8
  * based on dependencies.
@@ -1,6 +1,6 @@
1
- import { CommandLineParameter } from '@rushstack/ts-command-line';
2
- import { BaseRushAction, IBaseRushActionOptions } from '../actions/BaseRushAction';
3
- import { Command, CommandLineConfiguration, IParameterJson } from '../../api/CommandLineConfiguration';
1
+ import type { CommandLineParameter } from '@rushstack/ts-command-line';
2
+ import { BaseRushAction, type IBaseRushActionOptions } from '../actions/BaseRushAction';
3
+ import type { Command, CommandLineConfiguration, IParameterJson } from '../../api/CommandLineConfiguration';
4
4
  /**
5
5
  * Constructor parameters for BaseScriptAction
6
6
  */
@@ -1,4 +1,4 @@
1
- import { BaseScriptAction, IBaseScriptActionOptions } from './BaseScriptAction';
1
+ import { BaseScriptAction, type IBaseScriptActionOptions } from './BaseScriptAction';
2
2
  import type { IGlobalCommandConfig } from '../../api/CommandLineConfiguration';
3
3
  /**
4
4
  * Constructor parameters for GlobalScriptAction.
@@ -1,5 +1,5 @@
1
1
  import { PhasedCommandHooks } from '../../pluginFramework/PhasedCommandHooks';
2
- import { BaseScriptAction, IBaseScriptActionOptions } from './BaseScriptAction';
2
+ import { BaseScriptAction, type IBaseScriptActionOptions } from './BaseScriptAction';
3
3
  import type { IPhase, IPhasedCommandConfig } from '../../api/CommandLineConfiguration';
4
4
  /**
5
5
  * Constructor parameters for PhasedScriptAction.
@@ -1,4 +1,4 @@
1
- import { RushConfiguration } from '../api/RushConfiguration';
1
+ import type { RushConfiguration } from '../api/RushConfiguration';
2
2
  import type { RushGlobalFolder } from '../api/RushGlobalFolder';
3
3
  interface IAutoinstallerOptions {
4
4
  autoinstallerName: string;
@@ -1,5 +1,5 @@
1
- import { IChangelog } from '../api/Changelog';
2
- import { RushConfiguration } from '../api/RushConfiguration';
1
+ import type { IChangelog } from '../api/Changelog';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
3
  /**
4
4
  * This class represents the collection of change files existing in the repo and provides operations
5
5
  * for those change files.
@@ -1,8 +1,8 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
2
- import { IChangeInfo } from '../api/ChangeManagement';
3
- import { RushConfiguration } from '../api/RushConfiguration';
4
- import { RushConfigurationProject } from '../api/RushConfigurationProject';
5
- import { VersionPolicyConfiguration } from '../api/VersionPolicyConfiguration';
1
+ import type { IPackageJson } from '@rushstack/node-core-library';
2
+ import type { IChangeInfo } from '../api/ChangeManagement';
3
+ import type { RushConfiguration } from '../api/RushConfiguration';
4
+ import type { RushConfigurationProject } from '../api/RushConfigurationProject';
5
+ import type { VersionPolicyConfiguration } from '../api/VersionPolicyConfiguration';
6
6
  import { PrereleaseToken } from './PrereleaseToken';
7
7
  /**
8
8
  * The class manages change files and controls how changes logged by change files
@@ -1,9 +1,9 @@
1
1
  import { JsonSchema } from '@rushstack/node-core-library';
2
- import { IChangeRequests } from './PublishUtilities';
3
- import { IChangeInfo } from '../api/ChangeManagement';
4
- import { IChangelog } from '../api/Changelog';
5
- import { RushConfigurationProject } from '../api/RushConfigurationProject';
6
- import { RushConfiguration } from '../api/RushConfiguration';
2
+ import { type IChangeRequests } from './PublishUtilities';
3
+ import { type IChangeInfo } from '../api/ChangeManagement';
4
+ import type { IChangelog } from '../api/Changelog';
5
+ import type { RushConfigurationProject } from '../api/RushConfigurationProject';
6
+ import type { RushConfiguration } from '../api/RushConfiguration';
7
7
  export declare class ChangelogGenerator {
8
8
  /**
9
9
  * The JSON Schema for Changelog file (changelog.schema.json).
@@ -1,5 +1,5 @@
1
- import { CommonVersionsConfiguration } from '../api/CommonVersionsConfiguration';
2
- import { RushConfiguration } from '../api/RushConfiguration';
1
+ import type { CommonVersionsConfiguration } from '../api/CommonVersionsConfiguration';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
3
  export interface IDependencyAnalysis {
4
4
  /**
5
5
  * The common versions configuration from the repo's rush configuration.
@@ -1,5 +1,5 @@
1
1
  import { Event } from '../api/EventHooks';
2
- import { RushConfiguration } from '../api/RushConfiguration';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
3
  export declare class EventHooksManager {
4
4
  private _rushConfiguration;
5
5
  private _eventHooks;
@@ -1,7 +1,7 @@
1
1
  import gitInfo from 'git-repo-info';
2
- import { ITerminal } from '@rushstack/node-core-library';
3
- import { RushConfiguration } from '../api/RushConfiguration';
4
- import { IGitStatusEntry } from './GitStatusParser';
2
+ import { type ITerminal } from '@rushstack/node-core-library';
3
+ import type { RushConfiguration } from '../api/RushConfiguration';
4
+ import { type IGitStatusEntry } from './GitStatusParser';
5
5
  export declare const DEFAULT_GIT_TAG_SEPARATOR: string;
6
6
  export interface IGetBlobOptions {
7
7
  blobSpec: string;
@@ -1,6 +1,6 @@
1
- import { ITerminal } from '@rushstack/node-core-library';
2
- import { RushConfiguration } from '../api/RushConfiguration';
3
- import { RushConfigurationProject } from '../api/RushConfigurationProject';
1
+ import { type ITerminal } from '@rushstack/node-core-library';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
+ import type { RushConfigurationProject } from '../api/RushConfigurationProject';
4
4
  /**
5
5
  * @beta
6
6
  */
@@ -1,4 +1,4 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
1
+ import type { IPackageJson } from '@rushstack/node-core-library';
2
2
  /**
3
3
  * Parses the "scripts" section from package.json and provides support for executing scripts.
4
4
  */
@@ -1,5 +1,5 @@
1
- import { RushConfigurationProject } from '../api/RushConfigurationProject';
2
- import { Git } from './Git';
1
+ import type { RushConfigurationProject } from '../api/RushConfigurationProject';
2
+ import type { Git } from './Git';
3
3
  export declare class PublishGit {
4
4
  private readonly _targetBranch;
5
5
  private readonly _gitPath;
@@ -1,6 +1,6 @@
1
1
  import { AsyncRecycler } from '../utilities/AsyncRecycler';
2
- import { RushConfiguration } from '../api/RushConfiguration';
3
- import { RushGlobalFolder } from '../api/RushGlobalFolder';
2
+ import type { RushConfiguration } from '../api/RushConfiguration';
3
+ import type { RushGlobalFolder } from '../api/RushGlobalFolder';
4
4
  /**
5
5
  * This class implements the logic for "rush purge"
6
6
  */
@@ -14,7 +14,7 @@ export declare class PurgeManager {
14
14
  * Performs the AsyncRecycler.deleteAll() operation. This should be called before
15
15
  * the PurgeManager instance is disposed.
16
16
  */
17
- deleteAll(): void;
17
+ startDeleteAllAsync(): Promise<void>;
18
18
  /**
19
19
  * Delete everything from the common/temp folder
20
20
  */
@@ -1,4 +1,4 @@
1
- import { RushConfiguration } from '../api/RushConfiguration';
1
+ import type { RushConfiguration } from '../api/RushConfiguration';
2
2
  /**
3
3
  * This file is used to track the state of various Rush-related features. It is generated
4
4
  * and updated by Rush.