mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Support for other package managers #301
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hecatron on GitHub (May 3, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Hi,
would it be possible to add support for pnpm or yarn instead of using npm
so instead of "npm install" the use of "pnpm install" or "yarn install"
pnpm tends to use a lot less disk space since it creates links inside node_modules that point to a single shared directory on the drive
@GregorBiswanger commented on GitHub (May 16, 2019):
NPM gets better from version to version. We want to use the established technolegy in the market. Recognizing the extra implementation of what is still running on the system and then performing that preferrably would be more unnecessary. Sorry.
But you are welcome to do a pull request again.
@Hecatron commented on GitHub (May 16, 2019):
I've added an option for it in some of the code I'm working on, I'll be putting that through on a pull request once I've finished with it
note I agree there may not be any advantages to yarn over npm
however pnpm does have one huge advantage in that it just stores just one copy of the files for node_modules in a single directory for all projects on a users drive
it then creates file links to that single copy.
So the end result is that you save a large amount of disk space with lots of websites under development since each one's node_modules just links back to a single copy on the disk.
@zaneclaes commented on GitHub (Jun 20, 2021):
The Electron.Build docs (upon which this repo is built) now "strongly recommend" using yarn over npm. It may be worth reconsidering this stance.