mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
Fixed a bug with installing plugins (#1896)
Where NPM@5 whould rely on package-lock.json and not actually install new entries in package.json.
This commit is contained in:
parent
541d07be4c
commit
709fc03933
1 changed files with 2 additions and 2 deletions
|
|
@ -237,8 +237,8 @@ function install(fn) {
|
||||||
/* eslint-enable camelcase */
|
/* eslint-enable camelcase */
|
||||||
// Shell-specific installation commands
|
// Shell-specific installation commands
|
||||||
const installCommands = {
|
const installCommands = {
|
||||||
fish: 'npm prune; and npm install --production',
|
fish: 'npm prune; and npm install --production --no-shrinkwrap',
|
||||||
posix: 'npm prune && npm install --production'
|
posix: 'npm prune && npm install --production --no-shrinkwrap'
|
||||||
};
|
};
|
||||||
// determine the shell we're running in
|
// determine the shell we're running in
|
||||||
const whichShell = (typeof cfgShell === 'string' && cfgShell.match(/fish/)) ? 'fish' : 'posix';
|
const whichShell = (typeof cfgShell === 'string' && cfgShell.match(/fish/)) ? 'fish' : 'posix';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue