feat(js): add option for using tsgo compiler over tsc for build, typecheck#33821
feat(js): add option for using tsgo compiler over tsc for build, typecheck#33821leosvelperez merged 2 commits intonrwl:masterfrom
Conversation
Adds 'compiler' option to @nx/js/typescript plugin configuration, with options 'tsc' and 'tsgo'. Affects both typecheck and build targets.
👷 Deploy request for nx-docs pending review.Visit the deploys page to approve it
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
View your CI Pipeline Execution ↗ for commit ff47b57
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Nx Cloud has identified a possible root cause for your failed CI:
Our CI environment is experiencing failures due to missing or invalid Nx Cloud CI Access Token credentials. The similar-task-failure-detector confirmed these identical errors exist in the master branch, indicating this is a pre-existing environment configuration issue unrelated to the compiler configuration changes in this PR. External intervention is needed to configure proper CI credentials.
No code changes were suggested for this issue.
If the issue was transient, you can trigger a rerun by pushing an empty commit:
git commit --allow-empty -m "chore: trigger rerun"
git push
🎓 Learn more about Self-Healing CI on nx.dev
… typecheck tasks (#33821) Adds a 'compiler' option to the @nx/js/typescript plugin configuration, with options 'tsc' and 'tsgo'. Affects both typecheck and build targets. ## Current Behavior The `@nx/js/typescript` plugin always uses `tsc` as the compiler, with no way to use the native `tsgo` preview. ## Expected Behavior The `@nx/js/typescript` plugin can be configured to use `tsgo` for building and typechecking. ## Related Issue(s) Related discussion #32591.
|
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |

Adds a 'compiler' option to the @nx/js/typescript plugin configuration, with options 'tsc' and 'tsgo'. Affects both typecheck and build targets.
Current Behavior
The
@nx/js/typescriptplugin always usestscas the compiler, with no way to use the nativetsgopreview.Expected Behavior
The
@nx/js/typescriptplugin can be configured to usetsgofor building and typechecking.Related Issue(s)
Related discussion #32591.