Skip to content

Fix Monorepo tsconfig Resolution#79

Open
alegian wants to merge 1 commit intodmmulroy:mainfrom
alegian:fix-monorepo
Open

Fix Monorepo tsconfig Resolution#79
alegian wants to merge 1 commit intodmmulroy:mainfrom
alegian:fix-monorepo

Conversation

@alegian
Copy link
Copy Markdown

@alegian alegian commented Jan 17, 2026

here are the results of the old tsconfig resolution command (in Monorepos):

Screenshot_20260117_115852

the problem is that the pattern matches too broadly, including arbitrary json files in folders with names containing tsconfig. This in turn causes tsc to crash because the tsconfig "has invalid structure" (because it resolved to my package.json...)

image

so i fixed the ripgrep command.

the second change regarding the find command was an accidental discovery: the command literally didnt work because it required that the dot in (.*) always exists.

i tested both new commands on my system and they correctly resolve the configs.

DISCLAIMER: i have not tested the TSC tool itself, because I dont know how

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant