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

feat: add support for pnpm workspace #1027

Merged
merged 5 commits into from
Jan 23, 2024

Conversation

seokju-na
Copy link
Contributor

Hello ✋

When using the pnpm workspace, there was a problem that some native modules were missing from the build target because the project root path is incorrect.

This PR adds support for pnpm workspace by find where pnpm-lock.yaml is located.

@hipstersmoothie
Copy link

@dsanders11 @erickzhao any reason not to merge this?

@erikian erikian requested review from a team and BlackHole1 January 9, 2024 16:10
Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks to @seokju-na's PR and @hipstersmoothie's reminder.

PTAL @dsanders11

@dsanders11 dsanders11 changed the title feat: Add support for pnpm workspace feat: add support for pnpm workspace Jan 23, 2024
Copy link
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

Made a minor change to correct the filename, which the PR description lists as pnpm-lock.yaml but was originally in the code as pnpm-lock.json - confirmed the former is correct and updated the code.

@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (28714f9) 77.06% compared to head (f9b4e41) 77.06%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1027   +/-   ##
=======================================
  Coverage   77.06%   77.06%           
=======================================
  Files          21       21           
  Lines         763      763           
  Branches      142      142           
=======================================
  Hits          588      588           
  Misses        122      122           
  Partials       53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dsanders11 dsanders11 merged commit 38dcca2 into electron:main Jan 23, 2024
3 checks passed
Copy link

🎉 This PR is included in version 3.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants