npminstall
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
2.0.0-beta.2 / 2016-07-26 | ||
================== | ||
* fix: global storeDir must ends with `node_modules` (#99) | ||
2.0.0-beta.1 / 2016-07-21 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -20,3 +20,4 @@ 'use strict'; | ||
} | ||
const storeDir = path.join(opts.targetDir, 'node_modules', `.${name}_npminstall`); | ||
// add `node_modules` in the last to ensure `module.paths` contains storeDir | ||
const storeDir = path.join(opts.targetDir, 'node_modules', `.${name}_npminstall/node_modules`); | ||
yield utils.rimraf(storeDir); | ||
@@ -23,0 +24,0 @@ const pkgOptions = Object.assign({}, opts, { |
{ | ||
"name": "npminstall", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"description": "Let npm install fast and easy", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
82988
1910