Migrate from nx to Turbo#14
Conversation
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Purpose
Replace Nx with Turborepo as the monorepo task runner in the JavaScript SDKs workspace. Nx was only used as a thin orchestration layer (
nx run-many) with no Nx-specific plugins, project graphs, or generators — Turborepo covers the same use case with a simpler config, no analytics, and native pnpm workspace support.Also adds
NUXT_TELEMETRY_DISABLED=1via committed.env.localfiles to prevent Nuxt telemetry consent prompts from hanging non-interactive builds.Approach
nxdevDependency; addturbonx.jsonwithturbo.jsondefining the task pipeline (build,clean,format:check,format:fix,lint,lint:fix,test,typecheck) with correctdependsOn,outputs, and cache flagspackage.jsonscripts:nx run-many --target=X --all→turbo run Xpnpm-workspace.yaml: swapnx: true→turbo: trueinallowBuildsrelease.yml: replacepnpm nx run @thunderid/<sdk>:build→pnpm turbo run build --filter=@thunderid/<sdk>for all 10 SDKs.nx/cache,.nx/workspace-datagitignore entries with.turbopackages/nuxt/.env.localandsamples/nuxt/quickstart/.env.localwithNUXT_TELEMETRY_DISABLED=1; unignore.env.localin.gitignoreRelated Issues
nxwith an alternative thunderid#3088Related PRs
Checklist
breaking changelabel added.Security checks