nx 19.8.0-canary.20240919-7f4a877 → 19.8.0-canary.20240920-999abe9

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "19.8.0-canary.20240919-7f4a877",
3
+ "version": "19.8.0-canary.20240920-999abe9",
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": {
@@ -68,7 +68,7 @@
68
68
  "yargs-parser": "21.1.1",
69
69
  "node-machine-id": "1.1.12",
70
70
  "ora": "5.3.0",
71
- "@nrwl/tao": "19.8.0-canary.20240919-7f4a877"
71
+ "@nrwl/tao": "19.8.0-canary.20240920-999abe9"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@swc-node/register": "^1.8.0",
@@ -83,16 +83,16 @@
83
83
  }
84
84
  },
85
85
  "optionalDependencies": {
86
- "@nx/nx-darwin-x64": "19.8.0-canary.20240919-7f4a877",
87
- "@nx/nx-darwin-arm64": "19.8.0-canary.20240919-7f4a877",
88
- "@nx/nx-linux-x64-gnu": "19.8.0-canary.20240919-7f4a877",
89
- "@nx/nx-linux-x64-musl": "19.8.0-canary.20240919-7f4a877",
90
- "@nx/nx-win32-x64-msvc": "19.8.0-canary.20240919-7f4a877",
91
- "@nx/nx-linux-arm64-gnu": "19.8.0-canary.20240919-7f4a877",
92
- "@nx/nx-linux-arm64-musl": "19.8.0-canary.20240919-7f4a877",
93
- "@nx/nx-linux-arm-gnueabihf": "19.8.0-canary.20240919-7f4a877",
94
- "@nx/nx-win32-arm64-msvc": "19.8.0-canary.20240919-7f4a877",
95
- "@nx/nx-freebsd-x64": "19.8.0-canary.20240919-7f4a877"
86
+ "@nx/nx-darwin-x64": "19.8.0-canary.20240920-999abe9",
87
+ "@nx/nx-darwin-arm64": "19.8.0-canary.20240920-999abe9",
88
+ "@nx/nx-linux-x64-gnu": "19.8.0-canary.20240920-999abe9",
89
+ "@nx/nx-linux-x64-musl": "19.8.0-canary.20240920-999abe9",
90
+ "@nx/nx-win32-x64-msvc": "19.8.0-canary.20240920-999abe9",
91
+ "@nx/nx-linux-arm64-gnu": "19.8.0-canary.20240920-999abe9",
92
+ "@nx/nx-linux-arm64-musl": "19.8.0-canary.20240920-999abe9",
93
+ "@nx/nx-linux-arm-gnueabihf": "19.8.0-canary.20240920-999abe9",
94
+ "@nx/nx-win32-arm64-msvc": "19.8.0-canary.20240920-999abe9",
95
+ "@nx/nx-freebsd-x64": "19.8.0-canary.20240920-999abe9"
96
96
  },
97
97
  "nx-migrations": {
98
98
  "migrations": "./migrations.json",
@@ -24,6 +24,7 @@ export interface ProjectGraphClientResponse {
24
24
  isPartial: boolean;
25
25
  errors?: GraphError[];
26
26
  connectedToCloud?: boolean;
27
+ disabledTaskSyncGenerators?: string[];
27
28
  }
28
29
  export interface TaskGraphClientResponse {
29
30
  taskGraphs: Record<string, TaskGraph>;
@@ -499,11 +499,14 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
499
499
  let isPartial = false;
500
500
  let errors;
501
501
  let connectedToCloud;
502
+ let disabledTaskSyncGenerators;
502
503
  try {
503
504
  const projectGraphAndSourceMaps = await (0, project_graph_1.createProjectGraphAndSourceMapsAsync)({ exitOnError: false });
504
505
  projectGraph = projectGraphAndSourceMaps.projectGraph;
505
506
  sourceMaps = projectGraphAndSourceMaps.sourceMaps;
506
- connectedToCloud = (0, nx_cloud_utils_1.isNxCloudUsed)((0, configuration_1.readNxJson)());
507
+ const nxJson = (0, configuration_1.readNxJson)();
508
+ connectedToCloud = (0, nx_cloud_utils_1.isNxCloudUsed)(nxJson);
509
+ disabledTaskSyncGenerators = nxJson.sync?.disabledTaskSyncGenerators;
507
510
  }
508
511
  catch (e) {
509
512
  if (e instanceof error_types_1.ProjectGraphError) {
@@ -538,6 +541,7 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
538
541
  sourceMaps,
539
542
  errors,
540
543
  connectedToCloud,
544
+ disabledTaskSyncGenerators,
541
545
  }));
542
546
  const hash = hasher.digest('hex');
543
547
  perf_hooks_1.performance.mark('project graph response generation:end');
@@ -555,6 +559,7 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
555
559
  isPartial,
556
560
  errors,
557
561
  connectedToCloud,
562
+ disabledTaskSyncGenerators,
558
563
  },
559
564
  sourceMapResponse: sourceMaps,
560
565
  };