Skip to content

Commit 3f57a71

Browse files
committed
studio: exclude packages and schemas from config discovery
1 parent ce5bca1 commit 3f57a71

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

packages/cli/src/index.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,17 @@ program
21662166
function listLocalConfigs(root: string): string[] {
21672167
const out: string[] = [];
21682168
const stack = [root];
2169-
const skipDirs = new Set(['.git', 'node_modules', '.next', 'dist', 'out', 'artifacts', 'cache']);
2169+
const skipDirs = new Set([
2170+
'.git',
2171+
'node_modules',
2172+
'.next',
2173+
'dist',
2174+
'out',
2175+
'artifacts',
2176+
'cache',
2177+
'packages',
2178+
'schemas'
2179+
]);
21702180

21712181
while (stack.length > 0) {
21722182
const dir = stack.pop()!;

0 commit comments

Comments
 (0)