nx 21.6.3 → 21.6.4

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.
Binary file
@@ -227,7 +227,7 @@ class TargetProjectLocator {
227
227
  this.packagesMetadata ??= (0, packages_1.getWorkspacePackagesMetadata)(this.nodes);
228
228
  const maybeDep = this.packagesMetadata.packageToProjectMap[dep];
229
229
  const maybeDepMetadata = maybeDep?.data.metadata.js;
230
- if (!maybeDepMetadata?.isInPackageManagerWorkspaces) {
230
+ if (!maybeDepMetadata) {
231
231
  return null;
232
232
  }
233
233
  const workspaceRegex = /^workspace:/;
@@ -88,7 +88,7 @@ async function getTerminalOutputLifeCycle(initiatingProject, initiatingTasks, pr
88
88
  pinnedTasks.push(mainContinuousDependencies[0]);
89
89
  }
90
90
  const [, target] = mainTaskId.split(':');
91
- titleText = `Running 1 ${target} task`;
91
+ titleText = `1 ${target} task`;
92
92
  if (tasks.length > 1) {
93
93
  const dependentTasksCount = tasks.length - 1;
94
94
  const dependentTaskText = dependentTasksCount === 1 ? 'other' : 'others';
@@ -99,7 +99,7 @@ async function getTerminalOutputLifeCycle(initiatingProject, initiatingTasks, pr
99
99
  const mainTasksCount = projectNames.length;
100
100
  const targetText = nxArgs.targets.join(', ');
101
101
  const mainTaskText = mainTasksCount === 1 ? 'task' : 'tasks';
102
- titleText = `Running ${mainTasksCount} ${targetText} ${mainTaskText}`;
102
+ titleText = `${mainTasksCount} ${targetText} ${mainTaskText}`;
103
103
  if (tasks.length > projectNames.length) {
104
104
  const dependentTasksCount = tasks.length - projectNames.length;
105
105
  const dependentTaskText = dependentTasksCount === 1 ? 'other' : 'others';