# Nx is changing its conditions for caching build results

**URL:** <https://forum.xwiki.org/t/nx-is-changing-its-conditions-for-caching-build-results/15905>\
**Category:** Cristal\
**Created:** [November 13, 2024, 10:09am UTC](https://forum.xwiki.org/t/nx-is-changing-its-conditions-for-caching-build-results/15905 "2024-11-13T10:09:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [November 13, 2024, 10:09am UTC](https://forum.xwiki.org/t/nx-is-changing-its-conditions-for-caching-build-results/15905/1 "2024-11-13T10:09:02Z")

</div>

Hello all,

[nx](https://nx.dev/) (the tool we use to handle modules build order and intermediate results caching) is changing its condition for its next major version (v21). We’ll be unable to use the `tasksRunnerOptions` entry in our [config](https://github.com/xwiki-contrib/cristal/blob/335cc8219855048addbd9235a428d302828d1265/nx.json#L2)

We have several options:

- ask for a special offer for OSS project [https://nx.dev/pricing/special-offer](https://nx.dev/pricing/special-offer) to have access to their cloud. This would be the easiest option, and would even simplify our CI.
- see if we can keep doing what we do with nx 21 without the `tasksRunnerOptions` but this likely means losing the possibility to cache build results which is not a great news
- find an alternative to nx

For now this message is mostly to announce the incoming breaking change.  
I don’t know the planned release date of nx 21, or if a branch of nx 20.x will be maintained.

I’ll keep you updated, but in the meantime I’m interested in everybody’s opinion on the matter. Thanks.
