Skip to content

Commit 13f3210

Browse files
authored
docs: [correction] nx remote caching is free like Turborepo (#10460)
The deleted statement was **never** accurate in Nx. We briefly openly explored some alternative solutions and pricing structures for self-hosted caching but this _never_ landed as a requirement in Nx. We took on the feedback loud and clear that our initial thinking was misguided and we changed course _before_ it landed. We offer a broader array of free cache hosting options than Turborepo, with the OpenAPI spec being the exact equivalent of how Turborepo chooses to approach the problem, you can learn more here: https://nx.dev/recipes/running-tasks/self-hosted-caching For this change, I went for the most generous correction I could, but you may decide the overall section is redundant without this key incorrect point. While I'm here, I'd suggest you run through this guide yourself again because it doesn't really make sense currently. If you run the command you have listed Nx generates package manager workspaces, no `project.json` files, and `package.json` files for each project, but then you tell people to add these things because that's "only how Turborepo does things" (not quoting but that's the inaccurate gist)... Finally, as pointed out last time your `nx.json` to `turbo.json` comparison is very, very far from apples to apples. On the nx side you are demonstrating the configuration of a bunch of capabilities that Turborepo simply does not have and then saying "see, look, nx _requires_ more config", which doesn't seem fair 🤷 Nx can work _exactly_ how Turborepo works, and it can _also_ work with optional plugins, users have complete freedom of choice. If you'd like to collaborate on further rewrites I'm totally open to that, but I thought I would keep this PR very focused on this critical correction for now.
1 parent 0a8d123 commit 13f3210

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/site/content/docs/guides/migrating-from-nx.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ Migrating to Turborepo will likely require deleting previous configuration that
141141

142142
</Tabs>
143143

144-
### Free Remote Caching
145-
146-
Turborepo’s [Remote Caching](/docs/core-concepts/remote-caching) stores the results of your task on a cloud server. This saves enormous amounts of time by **preventing duplicated work across your entire organization**. [Vercel Remote Cache](https://vercel.com/docs/monorepos/remote-caching) has saved teams over 500 years of compute so far.
147-
148-
Since Nx 19.7, similar functionality is a paid-for feature, even when self-hosting. Remote Caching with Turborepo is free when [self-hosting](/docs/core-concepts/remote-caching#self-hosting) or using [Vercel Remote Cache](https://vercel.com/docs/monorepos/remote-caching).
149-
150144
## Migration steps
151145

152146
Our goal for this migration is to get a working Turborepo task as quickly as possible, so that you can adopt Turborepo features incrementally. We’ll start by using the Nx scaffolder to create a repository with a Next.js app.
@@ -473,7 +467,7 @@ turbo login
473467
turbo link
474468
```
475469

476-
You may also configure a self-hosted Remote Cache, which does not require a license or any other fees.
470+
You may also configure a self-hosted Remote Cache.
477471

478472
## Advanced migration considerations
479473

0 commit comments

Comments
 (0)