@rushstack/rush-sdk 5.158.1-pr5355.0 → 5.159.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/dist/rush-lib.d.ts +5 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/api/CommandLineJson.d.ts +0 -2
- package/lib/cli/scriptActions/PhasedScriptAction.d.ts +0 -2
- package/lib/logic/operations/IOperationExecutionResult.d.ts +5 -1
- package/lib/logic/operations/OperationExecutionManager.d.ts +0 -2
- package/lib/logic/operations/OperationExecutionRecord.d.ts +2 -1
- package/package.json +11 -11
package/dist/rush-lib.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { HookMap } from 'tapable';
|
|
|
16
16
|
import { IFileDiffStatus } from '@rushstack/package-deps-hash';
|
|
17
17
|
import { IPackageJson } from '@rushstack/node-core-library';
|
|
18
18
|
import { IPrefixMatch } from '@rushstack/lookup-by-path';
|
|
19
|
+
import type { IProblemCollector } from '@rushstack/terminal';
|
|
19
20
|
import { ITerminal } from '@rushstack/terminal';
|
|
20
21
|
import { ITerminalProvider } from '@rushstack/terminal';
|
|
21
22
|
import { JsonNull } from '@rushstack/node-core-library';
|
|
@@ -1859,6 +1860,10 @@ export declare interface IOperationExecutionResult {
|
|
|
1859
1860
|
* Object used to report a summary at the end of the Rush invocation.
|
|
1860
1861
|
*/
|
|
1861
1862
|
readonly stdioSummarizer: StdioSummarizer;
|
|
1863
|
+
/**
|
|
1864
|
+
* Object used to collect problems (errors/warnings/info) encountered during the operation.
|
|
1865
|
+
*/
|
|
1866
|
+
readonly problemCollector: IProblemCollector;
|
|
1862
1867
|
/**
|
|
1863
1868
|
* The value indicates the duration of the same operation without cache hit.
|
|
1864
1869
|
*/
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -19,7 +19,6 @@ export interface IBaseCommandJson {
|
|
|
19
19
|
export interface IBulkCommandJson extends IBaseCommandJson {
|
|
20
20
|
commandKind: 'bulk';
|
|
21
21
|
enableParallelism: boolean;
|
|
22
|
-
allowOversubscription?: boolean;
|
|
23
22
|
ignoreDependencyOrder?: boolean;
|
|
24
23
|
ignoreMissingScript?: boolean;
|
|
25
24
|
incremental?: boolean;
|
|
@@ -34,7 +33,6 @@ export interface IBulkCommandJson extends IBaseCommandJson {
|
|
|
34
33
|
export interface IPhasedCommandWithoutPhasesJson extends IBaseCommandJson {
|
|
35
34
|
commandKind: 'phased';
|
|
36
35
|
enableParallelism: boolean;
|
|
37
|
-
allowOversubscription?: boolean;
|
|
38
36
|
incremental?: boolean;
|
|
39
37
|
}
|
|
40
38
|
/**
|
|
@@ -7,7 +7,6 @@ import type { IPhase, IPhasedCommandConfig } from '../../api/CommandLineConfigur
|
|
|
7
7
|
*/
|
|
8
8
|
export interface IPhasedScriptActionOptions extends IBaseScriptActionOptions<IPhasedCommandConfig> {
|
|
9
9
|
enableParallelism: boolean;
|
|
10
|
-
allowOversubscription: boolean;
|
|
11
10
|
incremental: boolean;
|
|
12
11
|
disableBuildCache: boolean;
|
|
13
12
|
originalPhases: Set<IPhase>;
|
|
@@ -35,7 +34,6 @@ export declare class PhasedScriptAction extends BaseScriptAction<IPhasedCommandC
|
|
|
35
34
|
readonly hooks: PhasedCommandHooks;
|
|
36
35
|
readonly sessionAbortController: AbortController;
|
|
37
36
|
private readonly _enableParallelism;
|
|
38
|
-
private readonly _allowOversubscription;
|
|
39
37
|
private readonly _isIncrementalBuildAllowed;
|
|
40
38
|
private readonly _disableBuildCache;
|
|
41
39
|
private readonly _originalPhases;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StdioSummarizer } from '@rushstack/terminal';
|
|
1
|
+
import type { StdioSummarizer, IProblemCollector } from '@rushstack/terminal';
|
|
2
2
|
import type { OperationStatus } from './OperationStatus';
|
|
3
3
|
import type { Operation } from './Operation';
|
|
4
4
|
import type { IStopwatchResult } from '../../utilities/Stopwatch';
|
|
@@ -36,6 +36,10 @@ export interface IOperationExecutionResult {
|
|
|
36
36
|
* Object used to report a summary at the end of the Rush invocation.
|
|
37
37
|
*/
|
|
38
38
|
readonly stdioSummarizer: StdioSummarizer;
|
|
39
|
+
/**
|
|
40
|
+
* Object used to collect problems (errors/warnings/info) encountered during the operation.
|
|
41
|
+
*/
|
|
42
|
+
readonly problemCollector: IProblemCollector;
|
|
39
43
|
/**
|
|
40
44
|
* The value indicates the duration of the same operation without cache hit.
|
|
41
45
|
*/
|
|
@@ -9,7 +9,6 @@ export interface IOperationExecutionManagerOptions {
|
|
|
9
9
|
quietMode: boolean;
|
|
10
10
|
debugMode: boolean;
|
|
11
11
|
parallelism: number;
|
|
12
|
-
allowOversubscription: boolean;
|
|
13
12
|
inputsSnapshot?: IInputsSnapshot;
|
|
14
13
|
destination?: TerminalWritable;
|
|
15
14
|
beforeExecuteOperationAsync?: (operation: OperationExecutionRecord) => Promise<OperationStatus | undefined>;
|
|
@@ -28,7 +27,6 @@ export declare class OperationExecutionManager {
|
|
|
28
27
|
private readonly _executionRecords;
|
|
29
28
|
private readonly _quietMode;
|
|
30
29
|
private readonly _parallelism;
|
|
31
|
-
private readonly _allowOversubscription;
|
|
32
30
|
private readonly _totalOperations;
|
|
33
31
|
private readonly _outputWritable;
|
|
34
32
|
private readonly _colorsNewlinesTransform;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ITerminal, type ITerminalProvider, StdioSummarizer } from '@rushstack/terminal';
|
|
1
|
+
import { type ITerminal, type ITerminalProvider, StdioSummarizer, ProblemCollector } from '@rushstack/terminal';
|
|
2
2
|
import { type CollatedWriter, type StreamCollator } from '@rushstack/stream-collator';
|
|
3
3
|
import { OperationStatus } from './OperationStatus';
|
|
4
4
|
import type { IOperationRunner, IOperationRunnerContext } from './IOperationRunner';
|
|
@@ -79,6 +79,7 @@ export declare class OperationExecutionRecord implements IOperationRunnerContext
|
|
|
79
79
|
readonly consumers: Set<OperationExecutionRecord>;
|
|
80
80
|
readonly stopwatch: Stopwatch;
|
|
81
81
|
readonly stdioSummarizer: StdioSummarizer;
|
|
82
|
+
readonly problemCollector: ProblemCollector;
|
|
82
83
|
readonly runner: IOperationRunner;
|
|
83
84
|
readonly associatedPhase: IPhase;
|
|
84
85
|
readonly associatedProject: RushConfigurationProject;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.159.0",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@pnpm/lockfile.types": "~1.0.3",
|
|
38
38
|
"tapable": "2.2.1",
|
|
39
|
-
"@rushstack/lookup-by-path": "0.
|
|
40
|
-
"@rushstack/node-core-library": "5.
|
|
41
|
-
"@rushstack/
|
|
42
|
-
"@rushstack/
|
|
39
|
+
"@rushstack/lookup-by-path": "0.8.1",
|
|
40
|
+
"@rushstack/node-core-library": "5.15.1",
|
|
41
|
+
"@rushstack/package-deps-hash": "4.4.9",
|
|
42
|
+
"@rushstack/terminal": "0.18.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/semver": "7.5.0",
|
|
46
46
|
"@types/webpack-env": "1.18.8",
|
|
47
47
|
"eslint": "~9.25.1",
|
|
48
48
|
"webpack": "~5.98.0",
|
|
49
|
-
"@rushstack/heft": "0.
|
|
50
|
-
"@microsoft/rush-lib": "5.
|
|
51
|
-
"@rushstack/
|
|
52
|
-
"@rushstack/
|
|
53
|
-
"@rushstack/ts-command-line": "5.0.3",
|
|
49
|
+
"@rushstack/heft": "1.0.0",
|
|
50
|
+
"@microsoft/rush-lib": "5.159.0",
|
|
51
|
+
"@rushstack/stream-collator": "4.1.111",
|
|
52
|
+
"@rushstack/ts-command-line": "5.0.5",
|
|
54
53
|
"local-node-rig": "1.0.0",
|
|
55
|
-
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.
|
|
54
|
+
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.110",
|
|
55
|
+
"@rushstack/heft-webpack5-plugin": "1.0.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "heft build --clean",
|