-
-
Notifications
You must be signed in to change notification settings - Fork 525
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: support pnpm #3351
feat: support pnpm #3351
Conversation
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
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.
Hey @makeryi, thanks a lot for this contribution! Looks like the slow tests are failing at least because pnpm
and bun
are not installed in our CI configs.
Thanks for your reply! I will look into the CI configs and try to make the tests pass. |
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
…` functions Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
cc @BlackHole1 |
I don't think installing |
@makeryi Thank you for your PR! I have also encountered a similar error in #3178. Maybe @caoxiemeihao can provide some suggestions.
|
Thanks for your reply! I added The tests still failed locally even with
|
Thanks for your context! I am not familiar with bun too. Node and Bun are two different runtimes, maybe split this PR into two separate PRs is better than now. If so, i will make this PR to support pnpm only and create a new PR to support bun if i can do that. |
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Haha! The slow test error from #3178 only appears in Windows machine. 😅 |
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.
Thanks for this!
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Finally all tests passed (both in my local machine and CI) |
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.
Hey @makeryi, thanks for the quick turnaround time for addressing my feedback! One more thing I wanted to say is that I liked the npm_config_user_agent
approach by default (didn't know that var existed before you raised this PR). I think NODE_INSTALLER
should be an override for it with npm_config_user_agent
being used by default. 🤔
…ting Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Thanks for your suggestion! |
Any chance of this getting merged soon? Need somebody to try it out? |
@TranquilMarmot I just came back from vacation, and recently I will review this PR. |
Can I do something to help this merge? I would very much like to use electron-forge in my pnpm monorepo. |
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
Sorry for the late reply. |
pnpm create electron-app@latest hid-electron --template=vite It doesn't work. |
Hi @makeryi, the PR is closed. Unintentional action perhaps? 🤔 |
I can take this up and reland it if @makeryi is no longer interested. 🥺 |
any updates? |
@makeryi Have you discontinued the work on it? asking because the PR is closed. |
Summarize your changes:
This PR supports projects to use Electron Forge while using pnpm as their package manager.
Related issue: #2633