Comparing version 1.0.0 to 1.0.1
@@ -29,2 +29,7 @@ #!/usr/bin/env node | ||
if (! (program.increment || program.newVersion)) { | ||
console.error('Please provide an increment via -i, --increment or a new version via -n, --new-version.'); | ||
process.exit(1); | ||
} | ||
if (!path.isAbsolute(program.file)) { | ||
@@ -31,0 +36,0 @@ program.file = path.join(process.cwd(), program.file); |
@@ -10,2 +10,8 @@ # Changelog | ||
## [1.0.1] - 2020-04-10 | ||
### Added | ||
- Run tests via npm test (see [issue 5](https://github.com/pheyvaer/changefrog/issues/5)) | ||
- Make CLI complain when neither -i or -n are provided (see [issue 6](https://github.com/pheyvaer/changefrog/issues/6)) | ||
## [1.0.0] - 2020-04-10 | ||
@@ -15,2 +21,3 @@ | ||
[1.0.0](https://github.com/pheyvaer/changefrog/releases/tag/v1.0.0) | ||
[1.0.1]: https://github.com/pheyvaer/changefrog/compare/v1.0.0...v1.0.1 | ||
[1.0.0]: https://github.com/pheyvaer/changefrog/releases/tag/v1.0.0 |
{ | ||
"name": "changefrog", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Automatically update changelog for next release.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "mocha" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
8462
115
0