Socket
Socket
Sign inDemoInstall

all-contributors-cli

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-contributors-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

cli.js

@@ -13,3 +13,4 @@ #!/usr/bin/env node

var defaultRCFile = '.all-contributorsrc';
var cwd = process.cwd();
var defaultRCFile = path.join(cwd, '.all-contributorsrc');

@@ -26,3 +27,3 @@ var argv = require('yargs')

} catch (error) {
if (configPath !== path.join(__dirname, defaultRCFile)) {
if (configPath !== defaultRCFile) {
console.error(error.message);

@@ -40,3 +41,3 @@ process.exit(1);

argv.contributions = argv._[2].split(',');
argv.file = path.join(__dirname, argv.file);
argv.file = path.join(cwd, argv.file);

@@ -43,0 +44,0 @@ getUserInfo(argv.username, function(error, user) {

{
"name": "all-contributors-cli",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tool to easily add recognition for new contributors",
"bin": "cli.js",
"bin": {
"all-contributors": "cli.js"
},
"scripts": {

@@ -7,0 +9,0 @@ "test": "ava lib/**/*.test.js",

@@ -9,3 +9,5 @@ # all-contributors-cli

# Add new contributor <username>, who a contribution of type <contribution>
all-contributors <username> <contribution>
all-contributors add <username> <contribution>
# Example:
all-contributors add jfmengels code,doc
```

@@ -71,3 +73,3 @@ Where:

:---: | :---:
[![Jeroen Engels](https://avatars.githubusercontent.com/u/3869412?v=3&s=100)<br />Jeroen Engels](https://github.com/jfmengels) | [📖💻⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=jfmengels)
[![Jeroen Engels](https://avatars.githubusercontent.com/u/3869412?v=3&s=100)<br />Jeroen Engels](https://github.com/jfmengels) | [💻📖⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=jfmengels)

@@ -74,0 +76,0 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc