nx 21.0.0-rc.3 → 21.0.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/package.json +11 -11
- package/src/command-line/init/init-v1.js +1 -1
- package/src/command-line/release/publish.js +3 -3
- package/src/core/graph/main.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/life-cycles/tui-summary-life-cycle.d.ts +3 -2
- package/src/tasks-runner/life-cycles/tui-summary-life-cycle.js +25 -10
- package/src/tasks-runner/run-command.d.ts +4 -1
- package/src/tasks-runner/run-command.js +37 -6
- package/src/tasks-runner/task-graph-utils.d.ts +1 -0
- package/src/tasks-runner/task-graph-utils.js +28 -0
- package/src/tasks-runner/task-orchestrator.d.ts +1 -0
- package/src/tasks-runner/task-orchestrator.js +27 -12
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "21.0.0
|
3
|
+
"version": "21.0.0",
|
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
|
87
|
-
"@nx/nx-darwin-x64": "21.0.0
|
88
|
-
"@nx/nx-freebsd-x64": "21.0.0
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "21.0.0
|
90
|
-
"@nx/nx-linux-arm64-gnu": "21.0.0
|
91
|
-
"@nx/nx-linux-arm64-musl": "21.0.0
|
92
|
-
"@nx/nx-linux-x64-gnu": "21.0.0
|
93
|
-
"@nx/nx-linux-x64-musl": "21.0.0
|
94
|
-
"@nx/nx-win32-arm64-msvc": "21.0.0
|
95
|
-
"@nx/nx-win32-x64-msvc": "21.0.0
|
86
|
+
"@nx/nx-darwin-arm64": "21.0.0",
|
87
|
+
"@nx/nx-darwin-x64": "21.0.0",
|
88
|
+
"@nx/nx-freebsd-x64": "21.0.0",
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "21.0.0",
|
90
|
+
"@nx/nx-linux-arm64-gnu": "21.0.0",
|
91
|
+
"@nx/nx-linux-arm64-musl": "21.0.0",
|
92
|
+
"@nx/nx-linux-x64-gnu": "21.0.0",
|
93
|
+
"@nx/nx-linux-x64-musl": "21.0.0",
|
94
|
+
"@nx/nx-win32-arm64-msvc": "21.0.0",
|
95
|
+
"@nx/nx-win32-x64-msvc": "21.0.0"
|
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/
|
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
|
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(
|
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
|
184
|
+
taskResults,
|
185
185
|
workspaceRoot: workspace_root_1.workspaceRoot,
|
186
186
|
nxJsonConfiguration: nxJson,
|
187
187
|
});
|