update-notifier icon indicating copy to clipboard operation
update-notifier copied to clipboard

Package deprecation notice

Open ghost opened this issue 8 years ago • 5 comments

Could the update-notifier package also post a console update notification when a CLI tool has been deprecated using npm's deprecate command?

ghost avatar Jul 22 '15 15:07 ghost

IMHO this is out of scope for this module.

arthurvr avatar Jul 22 '15 16:07 arthurvr

Is it out of scope to print the deprecation notice for a CLI tool that is simply out of date, when the out of date version has been deprecated. Especially if the deprecation notice contains text like npm's example: critical bug fixed in v0.2.3

This seems like critical information we should be disseminating to consumers of these CLI tools.

ghost avatar Jul 22 '15 17:07 ghost

I think it's a great idea. PR welcome :)

sindresorhus avatar Jul 22 '15 18:07 sindresorhus

Can we make this a separate module? I can see apps where I wouldn't want update notifications but I do want notifications when it's deprecated.

robbbz avatar Jul 22 '15 18:07 robbbz

@sindresorhus based on @robbbz comment, what do you think?

I am still in favor of update-notifier providing deprecation notices under the run npm text. I'm also fine with having a separate package that will just retrieve the deprecation notice of a particular package at a particular version (kind of like the helper package latest-version).

However, should we also have a deprecation-notifier package that provides similar functionality to update-notifier?

ghost avatar Jul 29 '15 00:07 ghost