From 148ee663740aa05877c64f16cdf18eba33fbc371 Mon Sep 17 00:00:00 2001 From: C J Silverio Date: Tue, 14 Feb 2017 11:40:43 -0800 Subject: npm-cli: add update-notifier & use it The cli bin script now runs the update-notifier module after it has decided we're running in a good node version. We do not yet customize the output in any way. Credit: @ceejbot Fixes: #11473 PR-URL: https://github.com/npm/npm/pull/15774#pullrequestreview-23599057 Reviewed-By: @iarna --- package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index ae83af8ad..27050a03c 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,7 @@ "umask": "~1.1.0", "unique-filename": "~1.1.0", "unpipe": "~1.0.0", + "update-notifier": "~2.0.0", "uuid": "~3.0.1", "validate-npm-package-name": "~3.0.0", "which": "~1.2.12", @@ -189,6 +190,7 @@ "umask", "unique-filename", "unpipe", + "update-notifier", "validate-npm-package-license", "validate-npm-package-name", "which", -- cgit v1.2.3