Skip to content

Migrate from nx to Turbo#14

Merged
brionmario merged 1 commit into
thunder-id:mainfrom
brionmario:migrate
Jul 2, 2026
Merged

Migrate from nx to Turbo#14
brionmario merged 1 commit into
thunder-id:mainfrom
brionmario:migrate

Conversation

@brionmario

@brionmario brionmario commented Jul 2, 2026

Copy link
Copy Markdown
Member

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=1 via committed .env.local files to prevent Nuxt telemetry consent prompts from hanging non-interactive builds.

Approach

  • Remove nx devDependency; add turbo
  • Replace nx.json with turbo.json defining the task pipeline (build, clean, format:check, format:fix, lint, lint:fix, test, typecheck) with correct dependsOn, outputs, and cache flags
  • Update root package.json scripts: nx run-many --target=X --allturbo run X
  • Update pnpm-workspace.yaml: swap nx: trueturbo: true in allowBuilds
  • Update release.yml: replace pnpm nx run @thunderid/<sdk>:buildpnpm turbo run build --filter=@thunderid/<sdk> for all 10 SDKs
  • Replace .nx/cache, .nx/workspace-data gitignore entries with .turbo
  • Add packages/nuxt/.env.local and samples/nuxt/quickstart/.env.local with NUXT_TELEMETRY_DISABLED=1; unignore .env.local in .gitignore

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards in WSO2 Secure Coding Guidelines
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@brionmario, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 54 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1796d3dc-5b35-4ef4-8b33-7c376426d6e7

📥 Commits

Reviewing files that changed from the base of the PR and between d250209 and 1b51275.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (9)
  • .github/workflows/release.yml
  • .gitignore
  • nx.json
  • package.json
  • packages/nuxt/.env.local
  • packages/nuxt/.gitignore
  • pnpm-workspace.yaml
  • samples/nuxt/quickstart/.env.local
  • turbo.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@brionmario brionmario merged commit 72d2d19 into thunder-id:main Jul 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate JavaScript SDKs monorepo from Nx to Turborepo

2 participants