Skip to content

Commit b78f241

Browse files
authored
Limit depth when searching TypeScript config in typecheck-apps (#103507)
1 parent 323a6c9 commit b78f241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"tsc": "NODE_OPTIONS='--max-old-space-size=4096' tsc",
140140
"typecheck": "run-p 'typecheck-*'",
141141
"typecheck-client": "yarn run tsc --project client",
142-
"typecheck-apps": "find apps -name tsconfig.json | xargs -n 1 -P 4 -I {} yarn tsc --noEmit --project {}",
142+
"typecheck-apps": "find apps -depth 2 -name tsconfig.json | xargs -n 1 -P 4 -I {} yarn tsc --noEmit --project {}",
143143
"typecheck-packages": "tsc --build packages/tsconfig.json",
144144
"vscode:link": "node bin/set-up-vs-code.js",
145145
"vscode:unlink": "node bin/set-up-vs-code.js --unlink",

0 commit comments

Comments
 (0)