diff --git a/CHANGELOG.md b/CHANGELOG.md index 574e8e4..17e9f12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 2.0.1 +### Improvements +- As of npm 5, npm automatically `--save`s dependencies installed with `npm install`. + because minstall shouldn't touch the local modules package.json files, this change adds + the `--no-save` flag the internaly used `npm install` command + # 2.0.0 ### Bugfixes - Fix linking of localy available packages, when they are also a sub-dependency (see below) diff --git a/lib/moduletools.js b/lib/moduletools.js index e1a5306..bba9558 100644 --- a/lib/moduletools.js +++ b/lib/moduletools.js @@ -196,7 +196,7 @@ const moduletools = { nullTarget = ''; } - return systools.runCommand(`npm install --loglevel ${npmiLoglevel} ${identities.join(' ')}${nullTarget}`) + return systools.runCommand(`npm install --no-save --loglevel ${npmiLoglevel} ${identities.join(' ')}${nullTarget}`) .catch((error) => { // This error might just be a warning from npm-install diff --git a/package.json b/package.json index 72f23b3..e066f40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minstall", - "version": "2.0.0", + "version": "2.0.1", "description": "local module installer", "main": "lib/minstall.js", "bin": "lib/minstall.js",