Closed noisyscanner closed 3 years ago
Potential fix here: https://github.com/azu/monorepo-utils/pull/39 What do you think?
This solves our use case and means we can start using this and integrate into our pre-commit hooks and CI :)
@noisyscanner I've invited you as a collaborator. Thanks for committing 👍
Thanks @azu!
Problem
We have a project with the following layout:
We use
--tsconfigPath src/tsconfig.json
to target the correcttsconfig.json
file, as this is where we want the references, but we want the references for example for packageb
to be like:Instead of:
Solution
Would it be safe to assume that the directory structure given in
--tsconfigPath
can be used for referenced projects?I will make a PR for this on my fork and see how it goes - let me know what you think about this solution. I guess the alternative is to add another CLI option for it.