@nx/js 23.3.0-pr.37224.268062c → 23.3.0-rc.1

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.
@@ -28,7 +28,7 @@ function processTasksAndPopulateTsConfigTaskInfoMap(tsConfigTaskInfoMap, tasksOp
28
28
  tsConfigTaskInfoMap[tsConfigPath] = taskInfo;
29
29
  taskTsConfigCache.add(taskName);
30
30
  }
31
- processTasksAndPopulateTsConfigTaskInfoMap(tsConfigTaskInfoMap, tasksOptions, context, context.taskGraph.dependencies[taskName].map((edge) => edge.id), taskInMemoryTsConfigMap);
31
+ processTasksAndPopulateTsConfigTaskInfoMap(tsConfigTaskInfoMap, tasksOptions, context, context.taskGraph.dependencies[taskName], taskInMemoryTsConfigMap);
32
32
  }
33
33
  }
34
34
  function createTaskInfo(taskName, taskOptions, context, tsConfig) {
@@ -48,9 +48,7 @@ function generateTaskProjectTsConfig(task, tasksOptions, context, taskInMemoryTs
48
48
  }
49
49
  function getDependencyTasksInOtherProjects(task, project, context) {
50
50
  const implicitDependencies = new Set(context.projectGraph.nodes[project].data.implicitDependencies ?? []);
51
- return context.taskGraph.dependencies[task]
52
- .map((edge) => edge.id)
53
- .filter((t) => {
51
+ return context.taskGraph.dependencies[task].filter((t) => {
54
52
  const { project: dependencyProject } = (0, devkit_1.parseTargetString)(t, context);
55
53
  // Tasks for implicit dependencies are skipped since incremental builds only apply to explicit dependencies
56
54
  return (t !== task &&
@@ -206,7 +206,7 @@ function collectNpmDependencies(projectName, projectGraph, dependentTasks, colle
206
206
  return dependencies;
207
207
  }
208
208
  function collectDependentTasks(project, task, taskGraph, projectGraph, shallow, areTopLevelDeps = true, dependentTasks = new Map()) {
209
- for (const { id: depTask } of taskGraph.dependencies[task] ?? []) {
209
+ for (const depTask of taskGraph.dependencies[task] ?? []) {
210
210
  if (dependentTasks.has(depTask)) {
211
211
  if (!dependentTasks.get(depTask).isTopLevel && areTopLevelDeps) {
212
212
  dependentTasks.get(depTask).isTopLevel = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "23.3.0-pr.37224.268062c",
3
+ "version": "23.3.0-rc.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -138,8 +138,8 @@
138
138
  "@babel/preset-env": "^7.23.2",
139
139
  "@babel/preset-typescript": "^7.22.5",
140
140
  "@babel/runtime": "^7.22.6",
141
- "@nx/devkit": "23.3.0-pr.37224.268062c",
142
- "@nx/workspace": "23.3.0-pr.37224.268062c",
141
+ "@nx/devkit": "23.3.0-rc.1",
142
+ "@nx/workspace": "23.3.0-rc.1",
143
143
  "@zkochan/js-yaml": "0.0.7",
144
144
  "babel-plugin-const-enum": "^1.0.1",
145
145
  "babel-plugin-macros": "^3.1.0",
@@ -159,14 +159,14 @@
159
159
  "tslib": "^2.3.0"
160
160
  },
161
161
  "devDependencies": {
162
- "@nx/esbuild": "23.3.0-pr.37224.268062c",
163
- "@nx/eslint": "23.3.0-pr.37224.268062c",
164
- "@nx/jest": "23.3.0-pr.37224.268062c",
165
- "@nx/oxlint": "23.3.0-pr.37224.268062c",
166
- "@nx/rollup": "23.3.0-pr.37224.268062c",
167
- "@nx/vite": "23.3.0-pr.37224.268062c",
168
- "@nx/vitest": "23.3.0-pr.37224.268062c",
169
- "nx": "23.3.0-pr.37224.268062c"
162
+ "@nx/esbuild": "23.3.0-rc.1",
163
+ "@nx/eslint": "23.3.0-rc.1",
164
+ "@nx/jest": "23.3.0-rc.1",
165
+ "@nx/oxlint": "23.3.0-rc.1",
166
+ "@nx/rollup": "23.3.0-rc.1",
167
+ "@nx/vite": "23.3.0-rc.1",
168
+ "@nx/vitest": "23.3.0-rc.1",
169
+ "nx": "23.3.0-rc.1"
170
170
  },
171
171
  "peerDependencies": {
172
172
  "@swc/cli": ">=0.6.0 <0.9.0",