lambdaisland 2024-08-21

Hello. I have a launchpad-related question as well. I'm trying to have a monorepo setup, where • root deps.edn is including just 2 modules using aliases be and fe . The subprojects are refererenced using :local/root definition. • be project has deps.edn which defines its own :dev alias. It adds a few more development-related dependencies as well as extra-paths (relevant just to that be project) etc Now I'm trying to start everything from root directory using bin/launchpad be , but I also need to somhow specify, that the be subproject should be started with its`:dev` profile. So far I haven't found a way to do it. bin/launchpad be dev doesn'ts seem to be a way to go as it expects the :dev to be defined in root deps.edn .. Any hint welcome 🙏

or.. perhaps if anyone has a working monorepo project somewhere on github, that would be nice

This is really a tools.deps issue, tools.deps ignores any aliases from projects pulled in through local/root. It's been discussed before that it could and how it could work but I think they didn't find an approach they liked.

Maybe launchpad could handle this in some way, but currently it doesn't. The hard part is not the "doing something" but the "deciding how exactly it should work". Currently you're better off putting any aliases in the top level.

thanks for the explanation, I suspected that it might be deps-related limitation