# Migrating away from Nx

**URL:** <https://forum.xwiki.org/t/migrating-away-from-nx/16555>\
**Category:** Cristal\
**Tags:** brainstorming\
**Created:** [February 24, 2025, 11:13am UTC](https://forum.xwiki.org/t/migrating-away-from-nx/16555 "2025-02-24T11:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClementEXWiki](https://forum.xwiki.org/user_avatar/forum.xwiki.org/clementexwiki/32/8428_2.png) [@ClementEXWiki](https://forum.xwiki.org/u/ClementEXWiki)\
**Post date:** [February 24, 2025, 11:13am UTC](https://forum.xwiki.org/t/migrating-away-from-nx/16555/1 "2025-02-24T11:13:55Z")

</div>

With Nx [abandoning custom task runners](https://github.com/nrwl/nx/discussions/28332) which we use extensively in Cristal (original post [here](https://forum.xwiki.org/t/nx-is-changing-its-conditions-for-caching-build-results/15905)), it may be time to change the monorepo tool.

I took a look at other options, but there aren’t that many:

- [Lerna](https://lerna.js.org/) has been acquired by Nx’s parent company, so we may get the same problems as with Nx ;
- [Turborepo](https://turbo.build/) is made by Vercel, which may try to force paid cloud in the future just like Nx ; plus it seems to be [slower at first glance](https://github.com/vsavkin/large-monorepo)
- [Moon](https://moonrepo.dev/) is designed to be language-agnostic, so integration with TypeScript _may_ be worse (didn’t test it yet) but they seem to have quite a list of nice features. Here their own [comparison page](https://moonrepo.dev/docs/comparison) against Nx and Turborepo
- [Rush](https://rushjs.io) by Microsoft is another option but it has a few downsides like [forcefully relocating packages](https://rushjs.io/pages/commands/rush-pnpm/). I had a pretty bad experience with it in a previous project both in terms of DX and performance, but it may have improved since then.

Moon seems like a compelling option ; it also integrates some tools to automatically migrate from Nx. I’m not familiar enough with how Cristal’s and XWiki’s CI work, so someone with more knowledge on the matter may want to take a look at it.

The [monorepo comparison page](https://design.xwiki.org/xwiki/bin/view/Proposal/Cristal/Technologies/PackageManager/#HMonorepomanager) will be updated accordingly.
