janitor is coming soon.
Create a bot that would:
- Go throught all the published node modules for a partiuclar user.
- Check for validity of their package.json
- Raise an issue or send a PR as the user itself not as a bot!
-
Get write acess to repos of the user using this.
-
Using
package-json-validator
module validate thepackage.json
-
Send a PR if needed.
-
Fix all published node module names from the regsitry we might use
jsonselect
module to filer out names. -
Iterate over the names using
npm
module get thepackage.json
-
Using
package-json-validator
module validate thepackage.json
-
If any issues found with the
package.json
clone the repo. -
Create an issue and send a PR if possible fixing the
package.json
usingnpm
module.
# Project on halt!
I contacted a human from Github and got the below as a reponse, so until we get a green signal, this seems to be a rest :/
Hi Hemanth,
Thanks for getting in touch! The problem is this item:
> Raise an issue or fork and send a PR
We don't currently allow bots to create issues, comments, and PRs. This usually ends up in repo owners reporting these things as spam.
Let us know if you have any other questions!
Cheers,
Jamie
P.S: WIP now!