-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Versionist should continue even if a package.json
for the updateVersion
default doesn't exist
#73
Comments
Is the |
I don't think this would be a good idea, mainly as it might apply settings for things specifically not required. Our real issue here is that the default assumes NPM and errors on non-NPM. I would expect it to simply not care if there was no |
Agreed, it should just log |
So just to clarify, if the (built-in) default And IMHO this behaviour should only be triggered if there's no local |
That's a good point; So, in conclusion:
|
This also connects to the discussion in #84 |
Currently
versionist
will error if it uses the defaultnpm
use ofupdateVersion
and nopackage.json
exists in the repository it's executing in.What should happen is a warning is returned, but the
CHANGELOG
is still correctly updated.Without this functionality, every non-Node based repo currently needs a custom
versionist.conf.js
which is far from ideal (see https://github.com/resin-io/resin-containers for an example, which has an empty callback).The text was updated successfully, but these errors were encountered: