npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

How to have Auto Update Notifications

I have a package (A) that is a wrapper for package (B). It works with any version of B, and so the latest version of B should be used. (A is a cli tool for B which is a compiler)

If package B is updated, I would like package A to notify the user so he can run ‘npm update B’. Is there a way to do this automatically?

I’m guessing my dependencies for package A should use an asterix to denote any version of B?

“B”: “*”