npminstall
Advanced tools
Comparing version 1.6.5 to 1.7.0
1.7.0 / 2016-05-06 | ||
================== | ||
* feat: 打印出 deprecate 模块所在位置 (#78) | ||
1.6.5 / 2016-05-04 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -125,4 +125,9 @@ /** | ||
if (realPkg.deprecated) { | ||
options.console.warn('[%s] %s: %s', | ||
chalk.red(`${realPkg.name}@${realPkg.version}`), chalk.magenta('deprecate'), realPkg.deprecated); | ||
const pkgPath = path.join(parentDir, 'node_modules', realPkg.name); | ||
options.console.warn('[%s](%s) %s: %s', | ||
chalk.red(`${realPkg.name}@${realPkg.version}`), | ||
chalk.grey(pkgPath), | ||
chalk.magenta('deprecate'), | ||
realPkg.deprecated | ||
); | ||
} | ||
@@ -129,0 +134,0 @@ |
{ | ||
"name": "npminstall", | ||
"version": "1.6.5", | ||
"version": "1.7.0", | ||
"description": "Let npm install fast and easy", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
75346
19368
1823