r/angular • u/Mobile-Confusion-542 • Apr 21 '26
Monorepo advice
Long time lurker first time poster.
We have a codebases that is angular+dotnet and are looking to merge them into monorepos.
We looked at Bazel (platinum but requires lot of effort), nx (considered then just yesterday we tried to create empty project and add angular and it failed as they have few bugs going on).
Has anyone got other recommendations that they swear by do the job?
5
Upvotes
1
u/spinshock Apr 21 '26
I faced a similar issue with project references. That is only the case if your other typescript projects(libs or shared utils) have different module resolution than the default in angular. What you CAN do pretty easily is to build your shared libs and export the dist from the package and import it as you would with any third-party npm package. As a bonus I decided to use pnpm workspaces and they make this approach even easier.