@rushstack/rush-sdk 5.129.0 → 5.129.2
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import * as child_process from 'child_process';
|
|
3
|
+
import { type IWaitForExitResult } from '@rushstack/node-core-library';
|
|
3
4
|
import type { RushConfiguration } from '../api/RushConfiguration';
|
|
4
5
|
import { syncNpmrc } from './npmrcUtilities';
|
|
5
6
|
export type UNINITIALIZED = 'UNINITIALIZED';
|
|
@@ -21,6 +22,7 @@ export interface IExecuteCommandOptions {
|
|
|
21
22
|
* Note that this takes precedence over {@link IExecuteCommandOptions.suppressOutput}
|
|
22
23
|
*/
|
|
23
24
|
onStdoutStreamChunk?: (chunk: string) => string | void;
|
|
25
|
+
captureExitCodeAndSignal?: boolean;
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
26
28
|
* Options for {@link Utilities.installPackageInDirectoryAsync}.
|
|
@@ -119,11 +121,10 @@ export declare class Utilities {
|
|
|
119
121
|
*/
|
|
120
122
|
static dangerouslyDeletePath(folderPath: string): void;
|
|
121
123
|
static isFileTimestampCurrent(dateToCompare: Date, inputFilenames: string[]): boolean;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
static executeCommandAsync({ command, args, workingDirectory, suppressOutput, onStdoutStreamChunk, environment, keepEnvironment }: IExecuteCommandOptions): Promise<void>;
|
|
124
|
+
static executeCommandAsync(options: IExecuteCommandOptions & {
|
|
125
|
+
captureExitCodeAndSignal: true;
|
|
126
|
+
}): Promise<Pick<IWaitForExitResult, 'exitCode' | 'signal'>>;
|
|
127
|
+
static executeCommandAsync(options: IExecuteCommandOptions): Promise<void>;
|
|
127
128
|
/**
|
|
128
129
|
* Executes the command with the specified command-line parameters, and waits for it to complete.
|
|
129
130
|
* The current directory will be set to the specified workingDirectory.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.129.
|
|
3
|
+
"version": "5.129.2",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/node-fetch": "2.6.2",
|
|
27
27
|
"tapable": "2.2.1",
|
|
28
|
-
"@rushstack/
|
|
29
|
-
"@rushstack/
|
|
28
|
+
"@rushstack/terminal": "0.13.0",
|
|
29
|
+
"@rushstack/node-core-library": "5.4.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/semver": "7.5.0",
|
|
33
33
|
"@types/webpack-env": "1.18.0",
|
|
34
|
-
"@
|
|
35
|
-
"local-node-rig": "1.0.0",
|
|
36
|
-
"@microsoft/rush-lib": "5.129.0",
|
|
34
|
+
"@microsoft/rush-lib": "5.129.2",
|
|
37
35
|
"@rushstack/heft": "0.66.18",
|
|
36
|
+
"local-node-rig": "1.0.0",
|
|
37
|
+
"@rushstack/stream-collator": "4.1.56",
|
|
38
38
|
"@rushstack/ts-command-line": "4.22.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|