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(core): shell script invocation should use yarn for berry #18326

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

meeroslav
Copy link
Contributor

For yarn PnP running yarn exec fails since there is no .bin in node_modules/

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@meeroslav meeroslav requested a review from a team as a code owner July 26, 2023 15:54
@meeroslav meeroslav self-assigned this Jul 26, 2023
@meeroslav meeroslav requested a review from Cammisuli July 26, 2023 15:54
@vercel
Copy link

vercel bot commented Jul 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 3:57pm

@meeroslav meeroslav added the scope: core core nx functionality label Jul 26, 2023
@@ -75,7 +75,7 @@ export function getPackageManagerCommand(
add: useBerry ? 'yarn add' : 'yarn add -W',
addDev: useBerry ? 'yarn add -D' : 'yarn add -D -W',
rm: 'yarn remove',
exec: useBerry ? 'yarn exec' : 'yarn',
exec: 'yarn',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In create-nx-workspace this is set to npx... can you fix that one in a follow up PR as well please?

@FrozenPandaz FrozenPandaz merged commit aa557a0 into nrwl:master Jul 26, 2023
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: core core nx functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants