Skip to content

feat: improve Yarn Berry support - #3997

Merged
erickzhao merged 1 commit into
mainfrom
berry-support
Sep 5, 2025
Merged

feat: improve Yarn Berry support#3997
erickzhao merged 1 commit into
mainfrom
berry-support

Conversation

@erickzhao

Copy link
Copy Markdown
Member

Similar to #3822, this PR adds a .yarnrc with nodeLinker: node-modules to get create-electron-app working out of the box with Yarn Berry (v2+). It also prevents Forge from starting if this option isn't set.

The package manager resolver util had to be hardened a bit to properly fetch the version of Yarn on runtime.

@erickzhao
erickzhao requested a review from a team as a code owner September 4, 2025 22:53
@erickzhao
erickzhao added this pull request to the merge queue Sep 5, 2025
Merged via the queue into main with commit 4f2ba7d Sep 5, 2025
12 checks passed
@erickzhao
erickzhao deleted the berry-support branch September 5, 2025 02:20
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.

2 participants