@rushstack/rush-sdk 5.112.2-pr4485.1 → 5.112.2-pr4485.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.
package/dist/rush-lib.d.ts
CHANGED
|
@@ -1155,6 +1155,12 @@ export declare interface ICreateOperationsContext {
|
|
|
1155
1155
|
* The Rush configuration
|
|
1156
1156
|
*/
|
|
1157
1157
|
readonly rushConfiguration: RushConfiguration;
|
|
1158
|
+
/**
|
|
1159
|
+
* Marks an operation's result as invalid, potentially triggering a new build. Only applicable in watch mode.
|
|
1160
|
+
* @param operation - The operation to invalidate
|
|
1161
|
+
* @param reason - The reason for invalidating the operation
|
|
1162
|
+
*/
|
|
1163
|
+
readonly invalidateOperation?: ((operation: Operation, reason: string) => void) | undefined;
|
|
1158
1164
|
}
|
|
1159
1165
|
|
|
1160
1166
|
/**
|
|
@@ -1661,10 +1667,6 @@ export declare interface IOperationRunnerContext {
|
|
|
1661
1667
|
* Defaults to `true`. Will be `false` if Rush was invoked with `--verbose`.
|
|
1662
1668
|
*/
|
|
1663
1669
|
quietMode: boolean;
|
|
1664
|
-
/**
|
|
1665
|
-
* Object used to report a summary at the end of the Rush invocation.
|
|
1666
|
-
*/
|
|
1667
|
-
stdioSummarizer: StdioSummarizer;
|
|
1668
1670
|
/**
|
|
1669
1671
|
* Object used to manage metadata of the operation.
|
|
1670
1672
|
*
|
|
@@ -1687,13 +1689,6 @@ export declare interface IOperationRunnerContext {
|
|
|
1687
1689
|
* it later (for example to re-print errors at end of execution).
|
|
1688
1690
|
*/
|
|
1689
1691
|
error?: Error;
|
|
1690
|
-
/**
|
|
1691
|
-
* Normally the incremental build logic will rebuild changed projects as well as
|
|
1692
|
-
* any projects that directly or indirectly depend on a changed project.
|
|
1693
|
-
* If true, then the incremental build logic will only rebuild changed projects and
|
|
1694
|
-
* ignore dependent projects.
|
|
1695
|
-
*/
|
|
1696
|
-
readonly changedProjectsOnly: boolean;
|
|
1697
1692
|
/**
|
|
1698
1693
|
* Invokes the specified callback with a terminal that is associated with this operation.
|
|
1699
1694
|
*
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { StdioSummarizer } from '@rushstack/terminal';
|
|
2
1
|
import type { CollatedWriter } from '@rushstack/stream-collator';
|
|
3
2
|
import type { ITerminal, ITerminalProvider } from '@rushstack/node-core-library';
|
|
4
3
|
import type { OperationStatus } from './OperationStatus';
|
|
@@ -22,10 +21,6 @@ export interface IOperationRunnerContext {
|
|
|
22
21
|
* Defaults to `true`. Will be `false` if Rush was invoked with `--verbose`.
|
|
23
22
|
*/
|
|
24
23
|
quietMode: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Object used to report a summary at the end of the Rush invocation.
|
|
27
|
-
*/
|
|
28
|
-
stdioSummarizer: StdioSummarizer;
|
|
29
24
|
/**
|
|
30
25
|
* Object used to manage metadata of the operation.
|
|
31
26
|
*
|
|
@@ -48,13 +43,6 @@ export interface IOperationRunnerContext {
|
|
|
48
43
|
* it later (for example to re-print errors at end of execution).
|
|
49
44
|
*/
|
|
50
45
|
error?: Error;
|
|
51
|
-
/**
|
|
52
|
-
* Normally the incremental build logic will rebuild changed projects as well as
|
|
53
|
-
* any projects that directly or indirectly depend on a changed project.
|
|
54
|
-
* If true, then the incremental build logic will only rebuild changed projects and
|
|
55
|
-
* ignore dependent projects.
|
|
56
|
-
*/
|
|
57
|
-
readonly changedProjectsOnly: boolean;
|
|
58
46
|
/**
|
|
59
47
|
* Invokes the specified callback with a terminal that is associated with this operation.
|
|
60
48
|
*
|
|
@@ -13,7 +13,6 @@ export interface IOperationExecutionRecordContext {
|
|
|
13
13
|
onOperationStatusChanged?: (record: OperationExecutionRecord) => void;
|
|
14
14
|
debugMode: boolean;
|
|
15
15
|
quietMode: boolean;
|
|
16
|
-
changedProjectsOnly: boolean;
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
18
|
* Internal class representing everything about executing an operation
|
|
@@ -84,7 +83,6 @@ export declare class OperationExecutionRecord implements IOperationRunnerContext
|
|
|
84
83
|
get name(): string;
|
|
85
84
|
get debugMode(): boolean;
|
|
86
85
|
get quietMode(): boolean;
|
|
87
|
-
get changedProjectsOnly(): boolean;
|
|
88
86
|
get collatedWriter(): CollatedWriter;
|
|
89
87
|
get nonCachedDurationMs(): number | undefined;
|
|
90
88
|
get cobuildRunnerId(): string | undefined;
|
|
@@ -83,6 +83,12 @@ export interface ICreateOperationsContext {
|
|
|
83
83
|
* The Rush configuration
|
|
84
84
|
*/
|
|
85
85
|
readonly rushConfiguration: RushConfiguration;
|
|
86
|
+
/**
|
|
87
|
+
* Marks an operation's result as invalid, potentially triggering a new build. Only applicable in watch mode.
|
|
88
|
+
* @param operation - The operation to invalidate
|
|
89
|
+
* @param reason - The reason for invalidating the operation
|
|
90
|
+
*/
|
|
91
|
+
readonly invalidateOperation?: ((operation: Operation, reason: string) => void) | undefined;
|
|
86
92
|
}
|
|
87
93
|
/**
|
|
88
94
|
* Hooks into the execution process for phased commands
|
|
@@ -59,6 +59,10 @@ export interface ILifecycleCommandOptions {
|
|
|
59
59
|
* If true, attempt to establish a NodeJS IPC channel to the child process.
|
|
60
60
|
*/
|
|
61
61
|
ipc?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* If true, wire up SubprocessTerminator to the child process.
|
|
64
|
+
*/
|
|
65
|
+
connectSubprocessTerminator?: boolean;
|
|
62
66
|
}
|
|
63
67
|
export interface IEnvironmentPathOptions {
|
|
64
68
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.112.2-pr4485.
|
|
3
|
+
"version": "5.112.2-pr4485.2",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/semver": "7.5.0",
|
|
32
32
|
"@types/webpack-env": "1.18.0",
|
|
33
|
-
"@microsoft/rush-lib": "5.112.2-pr4485.
|
|
33
|
+
"@microsoft/rush-lib": "5.112.2-pr4485.2",
|
|
34
|
+
"local-node-rig": "1.0.0",
|
|
34
35
|
"@rushstack/stream-collator": "4.1.18",
|
|
35
36
|
"@rushstack/heft": "0.64.0",
|
|
36
|
-
"@rushstack/
|
|
37
|
-
"
|
|
38
|
-
"@rushstack/ts-command-line": "4.17.1"
|
|
37
|
+
"@rushstack/ts-command-line": "4.17.1",
|
|
38
|
+
"@rushstack/terminal": "0.7.17"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "heft build --clean",
|