@rushstack/rush-sdk 5.117.2 → 5.117.3

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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.42.1"
8
+ "packageVersion": "7.42.3"
9
9
  }
10
10
  ]
11
11
  }
@@ -18,7 +18,7 @@ export declare class RushPnpmCommandLineParser {
18
18
  static initializeAsync(options: IRushPnpmCommandLineParserOptions): Promise<RushPnpmCommandLineParser>;
19
19
  executeAsync(): Promise<void>;
20
20
  private _validatePnpmUsageAsync;
21
- private _execute;
21
+ private _executeAsync;
22
22
  private _postExecuteAsync;
23
23
  private _doRushUpdateAsync;
24
24
  }
@@ -1,4 +1,4 @@
1
- import type { CommandLineFlagParameter, CommandLineIntegerParameter, CommandLineStringParameter } from '@rushstack/ts-command-line';
1
+ import type { CommandLineFlagParameter, CommandLineIntegerParameter, CommandLineStringParameter, IRequiredCommandLineIntegerParameter } from '@rushstack/ts-command-line';
2
2
  import { type ITerminal } from '@rushstack/terminal';
3
3
  import { BaseRushAction, type IBaseRushActionOptions } from './BaseRushAction';
4
4
  import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
@@ -14,7 +14,7 @@ export declare abstract class BaseInstallAction extends BaseRushAction {
14
14
  protected readonly _noLinkParameter: CommandLineFlagParameter;
15
15
  protected readonly _networkConcurrencyParameter: CommandLineIntegerParameter;
16
16
  protected readonly _debugPackageManagerParameter: CommandLineFlagParameter;
17
- protected readonly _maxInstallAttempts: CommandLineIntegerParameter;
17
+ protected readonly _maxInstallAttempts: IRequiredCommandLineIntegerParameter;
18
18
  protected readonly _ignoreHooksParameter: CommandLineFlagParameter;
19
19
  protected readonly _offlineParameter: CommandLineFlagParameter;
20
20
  protected readonly _subspaceParameter: CommandLineStringParameter;
@@ -126,7 +126,7 @@ export declare class Utilities {
126
126
  *
127
127
  * It's basically the same as executeCommand() except that it returns a Promise.
128
128
  */
129
- static executeCommandAndInspectOutputAsync(options: IExecuteCommandOptions, onStdoutStreamChunk?: (chunkString: string) => void): Promise<void>;
129
+ static executeCommandAndInspectOutputAsync(options: IExecuteCommandOptions, onStdoutStreamChunk?: (chunk: string) => string | void, onExit?: (code: number, signal: string) => void): Promise<void>;
130
130
  /**
131
131
  * Executes the command with the specified command-line parameters, and waits for it to complete.
132
132
  * The current directory will be set to the specified workingDirectory.
@@ -142,7 +142,7 @@ export declare class Utilities {
142
142
  *
143
143
  * Note: This is similar to {@link executeCommandWithRetry} except that it returns a Promise and provides a callback to process the output.
144
144
  */
145
- static executeCommandAndProcessOutputWithRetryAsync(options: IExecuteCommandOptions, maxAttempts: number, onStdoutStreamChunk?: (chunkString: string) => void, retryCallback?: () => void): Promise<void>;
145
+ static executeCommandAndProcessOutputWithRetryAsync(options: IExecuteCommandOptions, maxAttempts: number, onStdoutStreamChunk?: (chunk: string) => string | void, retryCallback?: () => void): Promise<void>;
146
146
  /**
147
147
  * Executes the command using cmd if running on windows, or using sh if running on a non-windows OS.
148
148
  * @param command - the command to run on shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.117.2",
3
+ "version": "5.117.3",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,11 +31,11 @@
31
31
  "devDependencies": {
32
32
  "@types/semver": "7.5.0",
33
33
  "@types/webpack-env": "1.18.0",
34
- "@microsoft/rush-lib": "5.117.2",
35
- "@rushstack/heft": "0.65.8",
34
+ "@microsoft/rush-lib": "5.117.3",
35
+ "@rushstack/heft": "0.66.0",
36
36
  "local-node-rig": "1.0.0",
37
- "@rushstack/stream-collator": "4.1.35",
38
- "@rushstack/ts-command-line": "4.18.1"
37
+ "@rushstack/stream-collator": "4.1.38",
38
+ "@rushstack/ts-command-line": "4.19.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "heft build --clean",