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

Spawn local yarn .cjs files also using process.execPath #8144

Merged
merged 1 commit into from May 25, 2020

Conversation

bgotink
Copy link
Sponsor Member

@bgotink bgotink commented May 21, 2020

Summary

Yarn 2 recently switched its local versions from the .js extension to the .cjs extension to improve support for workspaces marked as "type": "module" in the package.json. These should also be executed by process.execPath instead of falling back to the node version on the PATH.

yarnpkg/berry#1354

This doesn't change anything the user will notice (berry with .cjs extension hasn't been released yet) so unsure what to add to changelog, if anything.

Test plan

ø

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.

None yet

2 participants