nx 21.0.0-rc.3 → 21.0.0-rc.4

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": "21.0.0-rc.3",
3
+ "version": "21.0.0-rc.4",
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": {
@@ -83,16 +83,16 @@
83
83
  }
84
84
  },
85
85
  "optionalDependencies": {
86
- "@nx/nx-darwin-arm64": "21.0.0-rc.3",
87
- "@nx/nx-darwin-x64": "21.0.0-rc.3",
88
- "@nx/nx-freebsd-x64": "21.0.0-rc.3",
89
- "@nx/nx-linux-arm-gnueabihf": "21.0.0-rc.3",
90
- "@nx/nx-linux-arm64-gnu": "21.0.0-rc.3",
91
- "@nx/nx-linux-arm64-musl": "21.0.0-rc.3",
92
- "@nx/nx-linux-x64-gnu": "21.0.0-rc.3",
93
- "@nx/nx-linux-x64-musl": "21.0.0-rc.3",
94
- "@nx/nx-win32-arm64-msvc": "21.0.0-rc.3",
95
- "@nx/nx-win32-x64-msvc": "21.0.0-rc.3"
86
+ "@nx/nx-darwin-arm64": "21.0.0-rc.4",
87
+ "@nx/nx-darwin-x64": "21.0.0-rc.4",
88
+ "@nx/nx-freebsd-x64": "21.0.0-rc.4",
89
+ "@nx/nx-linux-arm-gnueabihf": "21.0.0-rc.4",
90
+ "@nx/nx-linux-arm64-gnu": "21.0.0-rc.4",
91
+ "@nx/nx-linux-arm64-musl": "21.0.0-rc.4",
92
+ "@nx/nx-linux-x64-gnu": "21.0.0-rc.4",
93
+ "@nx/nx-linux-x64-musl": "21.0.0-rc.4",
94
+ "@nx/nx-win32-arm64-msvc": "21.0.0-rc.4",
95
+ "@nx/nx-win32-x64-msvc": "21.0.0-rc.4"
96
96
  },
97
97
  "nx-migrations": {
98
98
  "migrations": "./migrations.json",
@@ -38,7 +38,7 @@ async function initHandler(options) {
38
38
  await (0, react_1.addNxToCraRepo)(options);
39
39
  (0, utils_1.printFinalMessage)({
40
40
  learnMoreLink: options.integrated
41
- ? 'https://nx.dev/getting-started/tutorials/react-monorepo-tutorial'
41
+ ? 'https://nx.dev/tutorials/2-react-monorepo/1r-introduction/1-welcome'
42
42
  : 'https://nx.dev/getting-started/tutorials/react-standalone-tutorial',
43
43
  });
44
44
  return;
@@ -167,7 +167,7 @@ async function runPublishOnProjects(args, projectGraph, nxJson, projectNames, ex
167
167
  * NOTE: Force TUI to be disabled for now.
168
168
  */
169
169
  process.env.NX_TUI = 'false';
170
- const commandResults = await (0, run_command_1.runCommandForTasks)(projectsWithTarget, projectGraph, { nxJson }, {
170
+ const { taskResults } = await (0, run_command_1.runCommandForTasks)(projectsWithTarget, projectGraph, { nxJson }, {
171
171
  targets: [requiredTargetName],
172
172
  outputStyle: 'static',
173
173
  ...args,
@@ -175,13 +175,13 @@ async function runPublishOnProjects(args, projectGraph, nxJson, projectNames, ex
175
175
  nxIgnoreCycles: true,
176
176
  }, overrides, null, {}, extraOptions);
177
177
  const publishProjectsResult = {};
178
- for (const taskData of Object.values(commandResults)) {
178
+ for (const taskData of Object.values(taskResults)) {
179
179
  publishProjectsResult[taskData.task.target.project] = {
180
180
  code: taskData.code,
181
181
  };
182
182
  }
183
183
  await (0, tasks_execution_hooks_1.runPostTasksExecution)({
184
- taskResults: commandResults,
184
+ taskResults,
185
185
  workspaceRoot: workspace_root_1.workspaceRoot,
186
186
  nxJsonConfiguration: nxJson,
187
187
  });