mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add --no-update-notifier flag to npm calls to speedup processing.
This commit is contained in:
parent
b246f0779f
commit
3b11195caa
@ -10,7 +10,7 @@ Runtime
|
||||
- Remove remnants of when library in git/index Fixes #2057
|
||||
- Clear subflow status on close
|
||||
- Add exportGlobalContextKeys to prevent exposing functionGlobalContext keys
|
||||
- Add --no-audit flag to npm commands to reduce workload
|
||||
- Add --no-audit and --no-update-notifier flags to npm commands to reduce workload
|
||||
|
||||
Editor
|
||||
- Transfer placeholder and type to generated TypedInput field
|
||||
|
@ -104,7 +104,7 @@ function installModule(module,version) {
|
||||
}
|
||||
|
||||
var installDir = settings.userDir || process.env.NODE_RED_HOME || ".";
|
||||
var args = ['install','--no-audit','--save','--save-prefix="~"','--production',installName];
|
||||
var args = ['install','--no-audit','--no-update-notifier','--save','--save-prefix="~"','--production',installName];
|
||||
log.trace(npmCommand + JSON.stringify(args));
|
||||
exec.run(npmCommand,args,{
|
||||
cwd: installDir
|
||||
@ -197,7 +197,7 @@ function uninstallModule(module) {
|
||||
var list = registry.removeModule(module);
|
||||
log.info(log._("server.install.uninstalling",{name:module}));
|
||||
|
||||
var args = ['remove','--no-audit','--save',module];
|
||||
var args = ['remove','--no-audit','--no-update-notifier','--save',module];
|
||||
log.trace(npmCommand + JSON.stringify(args));
|
||||
|
||||
exec.run(npmCommand,args,{
|
||||
|
Loading…
Reference in New Issue
Block a user