ts-patch icon indicating copy to clipboard operation
ts-patch copied to clipboard

`tsconfig.json not found` when `references` is project folder

Open unional opened this issue 1 year ago • 2 comments

This works:

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

This doesn't:

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

unional avatar Sep 20 '23 19:09 unional

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?

nonara avatar Dec 05 '23 03:12 nonara

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.

unional avatar Dec 20 '23 08:12 unional