Tags: acalcutt/node-pre-gyp-github
Tags
Merge pull request bchr02#16 from bchr02/dev Changes: * new --silent option to turn off verbose logging * only options with a default value defined within NodePreGypGithub.prototype.createRelease are passed to the first parameter of github.releases.createRelease(). When I introduced the silent flag I didn't feel it made sense that this property should automatically make it's way to github.releases.createRelease function. This prevents that. * 100% test coverage, including a backwards compatibility section. * running tests no longer includes the verbose messages that get generate from within the module * coveralls badge now on README.md * package.json's scripts.coverage now includes a command to post to coveralls when the COVERALLS_SERVICE_NAME and COVERALLS_REPO_TOKEN environment variables are defined properly. * coveralls added as a devDependencies within package.json
Merge pull request bchr02#15 from bchr02/add-tests **Changes:** * adds test\test.js with over 97% line coverage. * added a test and coverage section to package.json's scripts property. * added some dev dependencies to package.json which are needed for testing and code coverage. * removed some unneeded dependencies from package.json * removed some unneeded modules that were required in index.js * ```NodePreGypGithub.prototype.github = new GitHubApi(..)``` now happens immediatelly instead of within ```NodePreGypGithub.prototype.init()```. The main reason for this was so I could provide a replacement mock to use within unit tests. * added some missing escape characters, so ```/{version}/g``` is now ```/\{version\}/g```
Merge pull request bchr02#14 from bchr02/dev **Changes:** * made error handling more consistent and always exit with a non 0 error code. bchr02#13 * an error will now occur if NODE_PRE_GYP_GITHUB_TOKEN is not found. * slightly changed some of the error messages and removed some of the prepended "Error: ". They are no longer needed since were are now throwing errors. * fixed a bug that caused an error to not occur when binary files were not found in the stage directory. * added a missing error catch for readdir that caused an error to not occur if the stage directory was missing. * in bin/node-pre-gyp-github.js, corrected the path that was displayed in the help text.
PreviousNext