nx 19.4.0 → 19.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +12 -12
- package/src/command-line/reset/reset.js +1 -1
- package/src/commands-runner/create-command-graph.js +32 -10
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.css +1 -1
- package/src/plugins/js/utils/register.js +29 -13
- package/src/project-graph/plugins/isolation/messaging.d.ts +1 -1
- package/src/project-graph/plugins/isolation/plugin-pool.js +1 -1
- package/src/project-graph/plugins/isolation/plugin-worker.js +5 -1
- package/src/project-graph/utils/project-configuration-utils.js +3 -1
- package/src/tasks-runner/create-task-graph.d.ts +2 -1
- package/src/tasks-runner/create-task-graph.js +14 -30
- package/src/tasks-runner/task-graph-utils.d.ts +1 -1
- package/src/tasks-runner/task-graph-utils.js +4 -4
- package/src/tasks-runner/utils.d.ts +15 -2
- package/src/tasks-runner/utils.js +89 -25
- package/src/utils/find-matching-projects.d.ts +4 -0
- package/src/utils/find-matching-projects.js +7 -4
- package/src/utils/serializable-error.js +6 -0
@@ -17,6 +17,12 @@ function createSerializableError(error) {
|
|
17
17
|
value = value.map((v) => {
|
18
18
|
if (typeof v === 'object' && v instanceof Error) {
|
19
19
|
return createSerializableError(v);
|
20
|
+
// Support for AggregateCreateNodesError
|
21
|
+
}
|
22
|
+
else if (Array.isArray(v) &&
|
23
|
+
v.length === 2 &&
|
24
|
+
v[1] instanceof Error) {
|
25
|
+
return [v[0], createSerializableError(v[1])];
|
20
26
|
}
|
21
27
|
return v;
|
22
28
|
});
|