all-contributors-cli
Advanced tools
Comparing version 4.11.1 to 4.11.2
@@ -23,2 +23,8 @@ 'use strict'; | ||
function writeConfig(configPath, content) { | ||
if (!content.projectOwner) { | ||
throw new Error(`Error! Project owner is not set in ${configPath}`); | ||
} | ||
if (!content.projectName) { | ||
throw new Error(`Error! Project name is not set in ${configPath}`); | ||
} | ||
return pify(fs.writeFile)(configPath, `${JSON.stringify(content, null, 2)}\n`); | ||
@@ -25,0 +31,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"name":"all-contributors-cli","version":"4.11.1","description":"Tool to easily add recognition for new contributors","bin":{"all-contributors":"dist/cli.js"},"files":["dist"],"engines":{"node":">=4"},"scripts":{"add-contributor":"kcd-scripts contributors add","build":"kcd-scripts build","lint":"kcd-scripts lint","test":"kcd-scripts test","validate":"kcd-scripts validate","precommit":"kcd-scripts precommit"},"repository":{"type":"git","url":"https://github.com/jfmengels/all-contributors-cli.git"},"keywords":["all-contributors","contributors"],"author":"Jeroen Engels <jfm.engels@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/jfmengels/all-contributors-cli/issues"},"homepage":"https://github.com/jfmengels/all-contributors-cli#readme","dependencies":{"async":"^2.0.0-rc.1","chalk":"^2.3.0","inquirer":"^4.0.0","lodash":"^4.11.2","pify":"^3.0.0","request":"^2.72.0","yargs":"^10.0.3"},"devDependencies":{"kcd-scripts":"^0.29.0","nock":"^9.1.0"},"eslintIgnore":["node_modules","coverage","dist"],"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"camelcase":"off","no-process-exit":"off","import/extensions":"off","func-names":"off","consistent-return":"off"}}} | ||
{"name":"all-contributors-cli","version":"4.11.2","description":"Tool to easily add recognition for new contributors","bin":{"all-contributors":"dist/cli.js"},"files":["dist"],"engines":{"node":">=4"},"scripts":{"add-contributor":"kcd-scripts contributors add","build":"kcd-scripts build","lint":"kcd-scripts lint","test":"kcd-scripts test","validate":"kcd-scripts validate","precommit":"kcd-scripts precommit"},"repository":{"type":"git","url":"https://github.com/jfmengels/all-contributors-cli.git"},"keywords":["all-contributors","contributors"],"author":"Jeroen Engels <jfm.engels@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/jfmengels/all-contributors-cli/issues"},"homepage":"https://github.com/jfmengels/all-contributors-cli#readme","dependencies":{"async":"^2.0.0-rc.1","chalk":"^2.3.0","inquirer":"^4.0.0","lodash":"^4.11.2","pify":"^3.0.0","request":"^2.72.0","yargs":"^10.0.3"},"devDependencies":{"kcd-scripts":"^0.29.0","nock":"^9.1.0"},"eslintIgnore":["node_modules","coverage","dist"],"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"camelcase":"off","no-process-exit":"off","import/extensions":"off","func-names":"off","consistent-return":"off"}}} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47588
954