Skip to content

Commit 74f8a48

Browse files
author
AI Assistant
committed
chore: suppress nx warnings for projects
1 parent c59d05b commit 74f8a48

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

patches/nx+21.2.3.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
diff --git a/node_modules/nx/src/command-line/run-many/run-many.js b/node_modules/nx/src/command-line/run-many/run-many.js
2+
index 52cb033..5d7863e 100644
3+
--- a/node_modules/nx/src/command-line/run-many/run-many.js
4+
+++ b/node_modules/nx/src/command-line/run-many/run-many.js
5+
@@ -64,7 +64,7 @@ function projectsToRun(nxArgs, projectGraph) {
6+
selectedProjects[project] = projectGraph.nodes[project];
7+
}
8+
}
9+
- if (invalidProjects.length > 0) {
10+
+ if (invalidProjects.length > 0 && nxArgs.silent !== true) {
11+
output_1.output.warn({
12+
title: `The following projects do not have a configuration for any of the provided targets ("${nxArgs.targets.join(', ')}")`,
13+
bodyLines: invalidProjects.map((name) => `- ${name}`),
114
diff --git a/node_modules/nx/src/command-line/yargs-utils/shared-options.js b/node_modules/nx/src/command-line/yargs-utils/shared-options.js
215
index d20e82d..38faf3c 100644
316
--- a/node_modules/nx/src/command-line/yargs-utils/shared-options.js

0 commit comments

Comments
 (0)