-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat(core): support yarn berry in CNW #11528
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- Run `yarn set version berry` to switch to latest Yarn version. | ||
- Create `.yarnrc.yml` in root with following contents: | ||
```yml | ||
nodeLinker: node-modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have plans to support the default install strategy (pnp
)? If not, what were the blockers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do. There are some parts of our codebase that explicitly look for node_modules
folder and expect to see all packages there, so those would have to be resolved first.
But before all that, we still need to add support for Berry to our CI workflow generators.
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. |
Current Behavior
Create-nx-workspace fails when run in Yarn Berry
Expected Behavior
Create-nx-workspace and generators should successfully run in Yarn Berry
Related Issue(s)
Fixes #
Related story: nrwl/ci#24