A project using Next.js with Litium tends to become quite a large codebase with many different parts/modules.
We have experimented a bit with using workspaces by separating different modules into packages and decoupling them from the main Next.js application.
However the build in Litium Cloud fails due to the folder structure not being what it expects, also it cannot handle the linking from PNPM in order to build the standalone application. It could be nice if a flag or different artifact could be supported for specifically PNPM. PNPM requires that the pnpm deploy command is executed in order to build the standalone package. This is also currencly not supported either in Litium Cloud.
In short being able to work with workspaces in PNPm would be a nice addition which could help in having a cleaner structure with more clearly defined submodules for partners developing their own accelerator.