CLI tools for Node.js Core collaborators
First, follow these instructions to create a personal access token.
Note: You don't need to check any boxes, these tools only require public access(for now).
Then create a file named .ncurc under your $HOME directory (~/.ncurc);
{
"username": "you_github_username"
"token": "token_that_you_created"
}
If you install via npm, that's it. If you are using it from source, install and link:
git clone git@github.com:joyeecheung/node-core-utils.git
cd node-core-utils
npm install
npm link
This one is inspired by Evan Lucas's node-review , although it is a CLI implemented with the Github GraphQL API.
- Generate
PR-URL - Generate
Reviewed-By - Generate
Fixes - Generate
Refs - Check for CI runs
- Check if commiters match authors
- Check 48-hour wait
- Check two TSC approval for semver-major
- Warn new commits after reviews
- Check number of files changed (request pre-backport)