diff --git a/graph/ui-project-details/src/lib/target-configuration-details/target-configuration-details.tsx b/graph/ui-project-details/src/lib/target-configuration-details/target-configuration-details.tsx index 640708eb3a6e9..5a8b05b6294fa 100644 --- a/graph/ui-project-details/src/lib/target-configuration-details/target-configuration-details.tsx +++ b/graph/ui-project-details/src/lib/target-configuration-details/target-configuration-details.tsx @@ -330,9 +330,31 @@ export default function TargetConfigurationDetails({ /> - ) : ( - '' - )} + ) : null} + + {targetConfiguration.parallelism === false ? ( +
+

+ ) as any} + > + + Parallelism + + +

+
+ + + +
+
+ ) : null} )} diff --git a/graph/ui-tooltips/src/lib/property-info-tooltip.tsx b/graph/ui-tooltips/src/lib/property-info-tooltip.tsx index 06e90d9923b41..2d12ae6a81db1 100644 --- a/graph/ui-tooltips/src/lib/property-info-tooltip.tsx +++ b/graph/ui-tooltips/src/lib/property-info-tooltip.tsx @@ -10,7 +10,8 @@ type PropertyInfoTooltipType = | 'dependsOn' | 'options' | 'configurations' - | 'release'; + | 'release' + | 'parallelism'; type PropertyInfoTooltipTypeOptions = { docsUrl?: string; @@ -81,6 +82,12 @@ const PROPERTY_INFO_TOOLTIP_TYPE_OPTIONS: Record< "The nx-release-publish target is used to publish your project with nxrelease. Don't invoke this directly - use nx release publish instead.", docsUrl: 'https://nx.dev/nx-api/nx/documents/release', }, + parallelism: { + heading: 'Parallelism', + description: + 'By default, tasks are run in parallel with other tasks. Setting `"parallelism": false` ensures that the target will not run in parallel with other tasks on the same machine.', + docsUrl: 'https://nx.dev/reference/project-configuration#parallelism', + }, }; export function PropertyInfoTooltip({ type }: PropertyInfoTooltipProps) {