Skip to content

Commit

Permalink
Merge branch 'release/2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
heikomat committed Sep 6, 2017
2 parents fb900b0 + f77c09e commit 90d6993
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/moduletools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 90d6993

Please sign in to comment.