Support pnpm
See original GitHub issuePre-flight checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project uses.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description
Using pnpm does not seem to work with electron-forge. An error is thrown when executing pnpx electron-forge import
and I do not see any mention of pnpm in the repository and docs.
It would be nice if it worked as pnpm is becoming more and more popular.
Proposed solution
Allow pnpm to work and show working in docs along npm and yarn.
Alternatives considered
npm and yarn
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:21
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Fast, disk space efficient package manager | pnpm
pNPM. Fast, disk space efficient package manager ... Supports monorepos. pnpm has built-in support for multiple packages in a repository ...
Read more >Installation | pnpm
Here is a list of past pnpm versions with respective Node.js version support. Node.js, pnpm 4, pnpm 5, pnpm 6, pnpm 7. Node.js...
Read more >Tools | pnpm
Nx - Next generation build system with first class monorepo support and powerful integrations. Renovate - Automated dependency updates, for humans; syncpack ...
Read more >Workspace | pnpm
Workspace. pnpm has built-in support for monorepositories (AKA multi-package repositories, multi-project repositories, or monolithic repositories).
Read more >pnpm CLI
Run as if pnpm was started in the root of the workspace instead of the current working directory. Commands. For more information, see...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This isn’t just a case of supporting
pnpm
with hoist enabled in this repository, several core dependencies do package traversal. The key ones being:Galactus depends on flora-colossus so if support is added correctly in the former galactus may Just Work™️
Then there’s the stuff in this repository, most of which I believe is tied into the
yarn-or-npm
helper and routed into various helpers throughout the codebaseTry the solution from electron-builder: https://www.electron.build/index.html#note-for-pnpm
My .npmrc file in the project root looks so: