-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support for project references #26
Comments
I use tshy in a monorepo, but not at the root level. I just have each of the packages in the monorepo do their own tshy builds (so I guess it's not "using tshy in a monorepo" but more like "have a monorepo containing a bunch of packages that use tshy"). I'm not sure if it's possible to make it compatible with composite/incremental builds. I haven't looked too much into that, since it seemed to impose a lot of complexity on the project structure. Since tshy works by doing two complete builds into a fresh temp How would you like it to work? |
Ok, so, leaving aside project references, and just looking at incremental/composite.
I think what it ought to do is detect |
Hey. Sorry I'm neck deep in some major refactorings atm. and got zero head space right now to ponder this :-). I'll report back here in a few days when I'm done with this game of whack-a-mole! Sorry for not being responsive. |
Hm, the caveat here would be that if you set |
@fubhy No worries! I just like to dump thoughts on issues stream of consciousness style while working on it, or else I lose my place and forget what I was doing when I come back to it. Feel free to ignore or weigh in asynchronously whenever you like, or never, as you see fit :) |
Incremental composite builds seem worthwhile even if you aren't using project references, and can speed up build times, so why not. Just need to keep the I think maybe that'll make it just work with project references? But I'm not sure. @fubhy I'll land #29 and leave this open, you can weigh in whenever you get dug out of your refactor hole, or someone else can come along and verify that it works for them, or maybe someday I'll actually use project references and verify it for myself :) |
Closing to get this off my todo list, but happy to reopen of course if there's more to be done here :) |
Is it currently possible to set up
tshy
in a monorepo and leverage projects references (withcomposite
andincremental
builds)? If not, is that sth. you have planned?The text was updated successfully, but these errors were encountered: