Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsconfig.json not found when references is project folder #126

Open
unional opened this issue Sep 20, 2023 · 2 comments
Open

tsconfig.json not found when references is project folder #126

unional opened this issue Sep 20, 2023 · 2 comments

Comments

@unional
Copy link

unional commented Sep 20, 2023

This works:

{
  "references": [{ "path": "../app/tsconfig.json" }]
}

This doesn't:

{
  "references": [{ "path": "../app" }]
}
@nonara
Copy link
Owner

nonara commented Dec 5, 2023

Hello and thanks for the report!

We don't do anything with references, so I don't think that's going to be related to ts-patch.

Can you give more details about what plugin you're using and exactly what the issue is as well as why you think it's an issue with ts-patch specifically?

@unional
Copy link
Author

unional commented Dec 20, 2023

I need to look up which project was using ts-patch (it is likely a private repo). Basically I was doing tspc -b tsconfig.build.json which the tsconfig.bulid.json has the references as mentioned in the OP.

It needs to specify the tsconfig as the packages in the monorepo contains multiple tsconfigs.

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

No branches or pull requests

2 participants