@nx/js 23.3.0-pr.37224.268062c → 23.3.0-rc.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.
|
@@ -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]
|
|
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
|
|
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-
|
|
3
|
+
"version": "23.3.0-rc.0",
|
|
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-
|
|
142
|
-
"@nx/workspace": "23.3.0-
|
|
141
|
+
"@nx/devkit": "23.3.0-rc.0",
|
|
142
|
+
"@nx/workspace": "23.3.0-rc.0",
|
|
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-
|
|
163
|
-
"@nx/eslint": "23.3.0-
|
|
164
|
-
"@nx/jest": "23.3.0-
|
|
165
|
-
"@nx/oxlint": "23.3.0-
|
|
166
|
-
"@nx/rollup": "23.3.0-
|
|
167
|
-
"@nx/vite": "23.3.0-
|
|
168
|
-
"@nx/vitest": "23.3.0-
|
|
169
|
-
"nx": "23.3.0-
|
|
162
|
+
"@nx/esbuild": "23.3.0-rc.0",
|
|
163
|
+
"@nx/eslint": "23.3.0-rc.0",
|
|
164
|
+
"@nx/jest": "23.3.0-rc.0",
|
|
165
|
+
"@nx/oxlint": "23.3.0-rc.0",
|
|
166
|
+
"@nx/rollup": "23.3.0-rc.0",
|
|
167
|
+
"@nx/vite": "23.3.0-rc.0",
|
|
168
|
+
"@nx/vitest": "23.3.0-rc.0",
|
|
169
|
+
"nx": "23.3.0-rc.0"
|
|
170
170
|
},
|
|
171
171
|
"peerDependencies": {
|
|
172
172
|
"@swc/cli": ">=0.6.0 <0.9.0",
|