nx 18.3.0-canary.20240403-270788e → 18.3.0-canary.20240405-fc8d5ba

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "18.3.0-canary.20240403-270788e",
3
+ "version": "18.3.0-canary.20240405-fc8d5ba",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -66,7 +66,7 @@
66
66
  "yargs-parser": "21.1.1",
67
67
  "node-machine-id": "1.1.12",
68
68
  "ora": "5.3.0",
69
- "@nrwl/tao": "18.3.0-canary.20240403-270788e"
69
+ "@nrwl/tao": "18.3.0-canary.20240405-fc8d5ba"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@swc-node/register": "^1.8.0",
@@ -81,16 +81,16 @@
81
81
  }
82
82
  },
83
83
  "optionalDependencies": {
84
- "@nx/nx-darwin-x64": "18.3.0-canary.20240403-270788e",
85
- "@nx/nx-darwin-arm64": "18.3.0-canary.20240403-270788e",
86
- "@nx/nx-linux-x64-gnu": "18.3.0-canary.20240403-270788e",
87
- "@nx/nx-linux-x64-musl": "18.3.0-canary.20240403-270788e",
88
- "@nx/nx-win32-x64-msvc": "18.3.0-canary.20240403-270788e",
89
- "@nx/nx-linux-arm64-gnu": "18.3.0-canary.20240403-270788e",
90
- "@nx/nx-linux-arm64-musl": "18.3.0-canary.20240403-270788e",
91
- "@nx/nx-linux-arm-gnueabihf": "18.3.0-canary.20240403-270788e",
92
- "@nx/nx-win32-arm64-msvc": "18.3.0-canary.20240403-270788e",
93
- "@nx/nx-freebsd-x64": "18.3.0-canary.20240403-270788e"
84
+ "@nx/nx-darwin-x64": "18.3.0-canary.20240405-fc8d5ba",
85
+ "@nx/nx-darwin-arm64": "18.3.0-canary.20240405-fc8d5ba",
86
+ "@nx/nx-linux-x64-gnu": "18.3.0-canary.20240405-fc8d5ba",
87
+ "@nx/nx-linux-x64-musl": "18.3.0-canary.20240405-fc8d5ba",
88
+ "@nx/nx-win32-x64-msvc": "18.3.0-canary.20240405-fc8d5ba",
89
+ "@nx/nx-linux-arm64-gnu": "18.3.0-canary.20240405-fc8d5ba",
90
+ "@nx/nx-linux-arm64-musl": "18.3.0-canary.20240405-fc8d5ba",
91
+ "@nx/nx-linux-arm-gnueabihf": "18.3.0-canary.20240405-fc8d5ba",
92
+ "@nx/nx-win32-arm64-msvc": "18.3.0-canary.20240405-fc8d5ba",
93
+ "@nx/nx-freebsd-x64": "18.3.0-canary.20240405-fc8d5ba"
94
94
  },
95
95
  "nx-migrations": {
96
96
  "migrations": "./migrations.json",
@@ -132,7 +132,7 @@ class ForkedProcessTaskRunner {
132
132
  });
133
133
  }
134
134
  }
135
- async forkProcessWithPseudoTerminal(task, { streamOutput, taskGraph, env, }) {
135
+ async forkProcessWithPseudoTerminal(task, { temporaryOutputPath, streamOutput, taskGraph, env, }) {
136
136
  const args = (0, utils_1.getPrintableCommandArgsForTask)(task);
137
137
  if (streamOutput) {
138
138
  output_1.output.logCommand(args.join(' '));
@@ -160,6 +160,7 @@ class ForkedProcessTaskRunner {
160
160
  if (code >= 128) {
161
161
  process.exit(code);
162
162
  }
163
+ this.writeTerminalOutput(temporaryOutputPath, terminalOutput);
163
164
  res({
164
165
  code,
165
166
  terminalOutput,
@@ -4,6 +4,7 @@ exports.TaskOrchestrator = void 0;
4
4
  const events_1 = require("events");
5
5
  const perf_hooks_1 = require("perf_hooks");
6
6
  const path_1 = require("path");
7
+ const fs_1 = require("fs");
7
8
  const run_commands_impl_1 = require("../executors/run-commands/run-commands.impl");
8
9
  const forked_process_task_runner_1 = require("./forked-process-task-runner");
9
10
  const cache_1 = require("./cache");
@@ -238,6 +239,7 @@ class TaskOrchestrator {
238
239
  if (!streamOutput) {
239
240
  this.options.lifeCycle.printTaskTerminalOutput(task, status, terminalOutput);
240
241
  }
242
+ (0, fs_1.writeFileSync)(temporaryOutputPath, terminalOutput);
241
243
  results.push({
242
244
  task,
243
245
  status,