Name: node-core-utils
Owner: Node.js Foundation
Description: CLI tools for Node.js Core collaborators
Created: 2017-10-22 12:27:44.0
Updated: 2018-05-20 11:30:36.0
Pushed: 2018-05-14 14:29:12.0
Size: 489
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
CLI tools for Node.js Core collaborators.
git-node
: Custom Git commands for working with Node.js
core, e.g. landing Pull Requests.ncu-config
: Configure variables for node-core-utils
to use.ncu-team
: Listing members of a team, synchronizing
special blocks in files with the list of members.get-metadata
: Retrieving metadata for a Pull Request.
DEPRECATED: use git node metadata
instead.install -g node-core-utils
If you would prefer to build from the source, install and link:
clone git@github.com:nodejs/node-core-utils.git
ode-core-utils
install
link
Most of the tools need your GitHub credentials to work. You can either
If you prefer option 2, follow these instructions to create the token.
When creating the token, the following boxes need to be checked:
user:email
: Used by git-node
and get-metadata
to read the email of the
PR author in order to check if it matches the email of the commit author.read:org
: Used by ncu-team
to read the list of team members.You can also edit the permission of existing tokens later.
After the token is generated, create an rc file with the following content:
(~/.ncurc
or $XDG_CONFIG_HOME/ncurc
):
sername": "your_github_username",
oken": "token_that_you_created"
Note: you could use ncu-config
to configure these variables, but it's not
recommended to leave your tokens in your command line history.
Put the following entries into ~/.gitignore_global
rc # node-core-utils configuration file
# node-core-utils working directory
Mind that.ncu/land
could contain your access token since it contains the
serialized configurations.
If you ever accidentally commit your access token on GitHub, you can simply revoke that token and use a new one.
See CONTRIBUTING.md.
MIT. See LICENSE.