registry
registry copied to clipboard
Create a bot that checks for newer commits, makes a PR and pings the author
This should improve keeping the registry up to date, but it should still be manually verified.
Exactly the same as what I have in mind. :beers:
This would be great! Also a npm/github hook which will update versions on publish.
Sure thing is that developers who maintain their own definition in the package should have a way to easily (i.e. automatically) keep the typings registry up-to-date.
This doesn't have to be a bot, this could also be implemented as a typings
command, eg typings publish
similar to npm publish
. It would just use the GitHub REST API to create a PR. The typings publish
command could then be run in Travis after every successful build on master, with the GitHub token set through a secret env var.
@felixfbecker Absolutely should be both. There was an issue in Typings for tracking that feature - https://github.com/typings/typings/issues/27.