@nx/devkit 24.0.5 → 24.1.0-beta.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.
@@ -246,7 +246,7 @@ async function computeResidualByProject(tree, projectGraph, scope, inferredTarge
246
246
  * sequence. Single-project mode never centralizes, so this is its permanent
247
247
  * write path.
248
248
  */
249
- function writeResiduals(tree, projectConfigsByName, projectGraph, scope, residualByProject, logger) {
249
+ function writeResiduals(tree, projectConfigsByName, scope, residualByProject, logger) {
250
250
  for (const executorScope of scope.executorScopes) {
251
251
  for (const [targetName, projectNames] of executorScope.targetAndProjects) {
252
252
  for (const projectName of projectNames) {
@@ -1605,7 +1605,7 @@ async function migrateProjects(tree, projectGraph, pluginPath, createNodes, crea
1605
1605
  // deviations.
1606
1606
  let hoistedByTarget = new Map();
1607
1607
  if (specificProjectToMigrate || batchStaging) {
1608
- writeResiduals(tree, projectConfigsByName, projectGraph, scope, residualByProject, logger);
1608
+ writeResiduals(tree, projectConfigsByName, scope, residualByProject, logger);
1609
1609
  }
1610
1610
  else {
1611
1611
  hoistedByTarget = hoistCommonAndWrite(tree, projectConfigsByName, scope, residualByProject, pluginPath, projectGraph, inferredTargetsByOptionSet, inferredExecutors, pluginPreRegistered, logger);
@@ -38,7 +38,7 @@ async function* combineAsyncIterables(..._iterators) {
38
38
  } while (asyncIteratorsValues.size > 0);
39
39
  }
40
40
  finally {
41
- for (const [index, iterator] of asyncIteratorsValues.entries())
41
+ for (const [, iterator] of asyncIteratorsValues.entries())
42
42
  if (iterator?.['return'] !== null)
43
43
  iterator['return']?.();
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/devkit",
3
- "version": "24.0.5",
3
+ "version": "24.1.0-beta.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -66,8 +66,7 @@
66
66
  "minimatch": "10.2.5"
67
67
  },
68
68
  "devDependencies": {
69
- "jest": "30.3.0",
70
- "nx": "24.0.5"
69
+ "nx": "24.1.0-beta.0"
71
70
  },
72
71
  "peerDependencies": {
73
72
  "nx": ">= 23 <= 25 || ^24.0.0-0"