-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM Notification #6
Comments
Have you tried https://doppins.com/ ? It does what you want, sort of. I understand from your spec that you want something smaller. https://gemnasium.com/ is something else, not that obtrusive, but works. |
Thanks for the update! Yeah, I've seen both greenkeeper.io and doppins.com. But that's not really the same problem as this though. This is more for a person to keep updated on package/module progress, and not as much for a project to get updated to the latest version. You can call this "bigger picture stuff" in a sense. A scenario I can envision: I get an update that So it's more an immediate notification when something major happens. If that makes sense? |
I'd be interested to work on this but I'm not sure how to go about it.
|
Great! I haven't dived any deep into the new hooks API, so this might not even be possible using that. I thought that hooks would be for paid users only as a beta, but maybe I figured wrong. If hooks aren't the way to go, maybe you could investigate doing some polling with caching. Have to confer with the licensing for NPM here, but doing something like |
I've been playing around with this idea by following this guide: https://github.com/npm/registry-follower-tutorial I have two working examples, one using |
As promised, here's the code: https://github.com/bsonntag/npm-notifier |
Cool! I get that it's probably still for experimenting and good idea to make an electron app from it. Didn't think of that 👍 I would suggest (and you are probably thinking this already) to split up the different user interfaces (electron and CLI) to two different packages both using a library for getting the data. Users interested in the CLI shouldn't have to install electron etc. But as I said, you are probably thinking this already. |
https://twitter.com/holman/status/793561589290979328 Libraries.io might have a similar feature now |
For anyone else running into this problem, I have been using https://dependabot.com and it works great for notifying any changes to a package. Any time a new version is released, it creates a PR with the following:
See an example here: styfle/packagephobia#94 |
Closing as it is fixed by @bsonntag, and any further discussion should be moved there. |
Project description
Just an idea I had earlier. A way to subscribe to push notifications on your computer when a major change occurs in a project you follow. I was thinking specifically on NPM packages. Let's say I use lodash or a test framework such as mocha or Jest. When a major change of that is updated I'd like to know that. So what better then to get a native notification on my computer the exact moment it updates?
You could have a CLI similar to:
This can use things like the NPM hooks in combination with
node-notifier
. This is not quite the same as https://gemnasium.com/ although it share some traits.Relevant Technology
JavaScript, NPM, Node.js, CLI design, NPM Hooks
Who is this for
Anyone who is interested in digging more into NPM and want to test out how to design good CLI tools. Don't think this is too much work in terms of days of development.
The text was updated successfully, but these errors were encountered: