Comments (10)
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.
from ideas.
As promised, here's the code: https://github.com/bsonntag/npm-notifier
from ideas.
https://twitter.com/holman/status/793561589290979328 Libraries.io might have a similar feature now
from ideas.
A scenario I can envision: I get an update that Jest has a new major version released. I know this means an API breakage, so I can see the changelog and see what's changed.
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:
- Release notes from github
- CHANGELOG.md (since previous release)
- Commits (since previous release)
- Compatibility (how many others updated from previous version and tests still pass)
See an example here: styfle/packagephobia#94
from ideas.
Closing as it is fixed by @bsonntag, and any further discussion should be moved there.
from ideas.
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 Jest
has a new major version released. I know this means an API breakage, so I can see the changelog and see what's changed. If there are any new features I really want I know I can update in some projects.
So it's more an immediate notification when something major happens. If that makes sense?
from ideas.
I'd be interested to work on this but I'm not sure how to go about it.
You mentioned npm hooks as a way of subscribing to changes but unless I'm missing something, there are a couple of issues there:
- npm hooks are only available to paid users
- there is a limit of 100 hooks per user account which might or might not be an issue depending on how many projects a user would like to track
- you need to give a callback URI when setting up a hook and given that most people are behind dynamic IPs, one would need a dynamic dns just for this
- if this is implemented as a hosted service, there would be a problem of running a long lived process on your computer which would listen for updates and trigger a notification
from ideas.
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 npm show <package-name> version
periodically (not too often) could be a fallback.
from ideas.
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 node-notifier
and another using Electron. I'll share the code soon.
from ideas.
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.
from ideas.
Related Issues (20)
- Opensql Node.js ORM HOT 6
- Bluetooth battery monitor w/ notifications on disconnect HOT 2
- Integrate anti fraud tech with all devices HOT 1
- Search books and save quotes HOT 2
- A memory access visualization library HOT 1
- A tool to replace local environment info in binaries
- A neural network to detect a title card within a video file and a tool for it HOT 2
- The best long form writing experience on a smartphone HOT 5
- Re-imagining the typing experience on a smartphone HOT 4
- Video File Audio Track Language Identifier HOT 7
- instagram, but for generative AI? HOT 3
- Adaptive TCP/UDP VPN for more reliable internet connection HOT 1
- A free and open source solution to sync issues, discussions etc on different platforms, such as GitHub, GitLab, Gitea, Sourcehut and Bugzilla HOT 12
- Build a new module for gget to contribute to a program used by thousands around the world
- CLI for adding common node depdencies to a project (eg: prettier, eslint, husky, lint-staged, commitizen) HOT 2
- Travel Planner - Itinerary, Costs and Bookings (Open Data Sources Only) HOT 5
- A File Storage System At Home! HOT 2
- Get rid of VBA with a no-code workflow system for spreadsheets
- Repo alternative HOT 5
- MySQL protocol proxy using MongoDB as backend. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ideas.