Releases: bchr02/node-pre-gyp-github
Releases · bchr02/node-pre-gyp-github
2.0.0
- updated all dependencies to the latest versions
- updated dev dependencies to the latest versions. Replaced nyc to c8.
- test.js > test.mjs to make compatible with ESM modules since chai v5 does not support commonjs modules
- using Octokit's userAgent property instead of setting through the header property
bumped major version since Node.js v18 or newer is now required
1.4.6
- updated all dependencies to the latest versions
- updated dev dependencies to the latest versions. Replaced nyc to c8.
- test.js > test.mjs to make compatible with ESM modules since chai v5 does not support commonjs modules
- using Octokit's userAgent property instead of setting through the header property
Do not use this version. This version was bumped to 2.0.0 since it introduced breaking changes and we deprecated it within npm.
1.4.5
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
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 ofgithub.releases.createRelease()
. When I introduced the silent flag I didn't feel it made sense that this property should automatically make it's way togithub.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
1.2.2
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 withinNodePreGypGithub.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
1.2.1
Changes:
- made error handling more consistent and always exit with a non 0 error code. #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.