Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix locating tsc in yarn 3 workspaces #462

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

satya164
Copy link
Member

Summary

With Yarn 3, the aliases for binaries only seem to exist at the monorepo root node_modules, so the current logic fails to find tsc. This change uses yarn bin tsc to get the correct location for the tsc binary.

Test plan

Tested in the React Navigation monorepo

With Yarn 3, the aliases for binaries only seem to exist at the monorepo root `node_modules`, so the current logic fails to find `tsc`. This change uses `yarn bin tsc` to get the correct location for the `tsc` binary.
@satya164 satya164 merged commit 19396ce into main Sep 15, 2023
30 of 32 checks passed
@satya164 satya164 deleted the @satya164/locate-tsc branch September 15, 2023 11:01
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.

1 participant