nx 21.3.0-canary.20250711-be6d35b → 21.3.0-canary.20250712-18e5d95
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/src/native/index.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare class ExternalObject<T> {
|
|
8
8
|
}
|
9
9
|
}
|
10
10
|
export declare class AppLifeCycle {
|
11
|
-
constructor(tasks: Array<Task>, initiatingTasks: Array<string>, runMode: RunMode, pinnedTasks: Array<string>, tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string)
|
11
|
+
constructor(tasks: Array<Task>, initiatingTasks: Array<string>, runMode: RunMode, pinnedTasks: Array<string>, tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph)
|
12
12
|
startCommand(threadCount?: number | undefined | null): void
|
13
13
|
scheduleTask(task: Task): void
|
14
14
|
startTasks(tasks: Array<Task>, metadata: object): void
|
@@ -322,6 +322,7 @@ export interface TaskGraph {
|
|
322
322
|
roots: Array<string>
|
323
323
|
tasks: Record<string, Task>
|
324
324
|
dependencies: Record<string, Array<string>>
|
325
|
+
continuousDependencies: Record<string, Array<string>>
|
325
326
|
}
|
326
327
|
|
327
328
|
export interface TaskResult {
|
Binary file
|
@@ -128,7 +128,7 @@ async function getTerminalOutputLifeCycle(initiatingProject, initiatingTasks, pr
|
|
128
128
|
const lifeCycles = [tsLifeCycle];
|
129
129
|
// Only run the TUI if there are tasks to run
|
130
130
|
if (tasks.length > 0) {
|
131
|
-
appLifeCycle = new AppLifeCycle(tasks, initiatingTasks.map((t) => t.id), isRunOne ? 0 /* RunMode.RunOne */ : 1 /* RunMode.RunMany */, pinnedTasks, nxArgs ?? {}, nxJson.tui ?? {}, titleText, workspace_root_1.workspaceRoot);
|
131
|
+
appLifeCycle = new AppLifeCycle(tasks, initiatingTasks.map((t) => t.id), isRunOne ? 0 /* RunMode.RunOne */ : 1 /* RunMode.RunMany */, pinnedTasks, nxArgs ?? {}, nxJson.tui ?? {}, titleText, workspace_root_1.workspaceRoot, taskGraph);
|
132
132
|
lifeCycles.unshift(appLifeCycle);
|
133
133
|
/**
|
134
134
|
* Patch stdout.write and stderr.write methods to pass Nx Cloud client logs to the TUI via the lifecycle
|