feat: support pnpm#3351
feat: support pnpm#3351makeryi wants to merge 14 commits intoelectron:mainfrom makeryi:feat/package-manager-support
Conversation
Signed-off-by: Yi Yang <yangyi.makeryi@gmail.com>
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. 😅 |
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) |
erickzhao
left a comment
There was a problem hiding this comment.
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