mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
dotnet electronize build should not npm install #63
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 @yoDon on GitHub (Nov 12, 2017).
Building and Starting are currently much slower than necessary because every build and every start does a bunch of npm install like tasks that take much longer than the actual build.
The install steps should be handled by a restore or install command, so we don't need to wait for them to complete each time we build/start (or alternatively could we have rebuild/restart commands that are lighter-weight than the full build/start commands, if you want to keep the installs in place?)
@robertmuehsig commented on GitHub (Nov 12, 2017):
At least the start is "faster", because if start detects the node_modules folder it doesn't do a npm install, maybe build should to the same. Good feedback - will consider it for the next drop 👍
@robertmuehsig commented on GitHub (Nov 15, 2017):
Works like the start enhancement - if we detect the node_modules folder, we skip npm install.
Maybe we need a --force command later on to reinstall npm packages if needed.
@damikun commented on GitHub (Oct 31, 2022):
Is there a proper way to pass
--force?Because some of my packages need to run
npm installwithforcewithout there is npm checks aplyed and--forceskip this checks(validation)...