How should lk agent deploy handle Node workspace agents in monorepos?

We had a similar question come up for Python a while back, How to structure a Python project with multiple agents sharing code - #7 by Ashwin_Dharne and the solution there was to swap Dockerfiles around (in the root) during a deploy. I’m not an expert in yarn monorepos however, so quite possibly I’m missing something.