Skip to content
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

[Request] Use .npmrc message key if available #55

Open
filipekiss opened this issue Feb 8, 2023 · 2 comments
Open

[Request] Use .npmrc message key if available #55

filipekiss opened this issue Feb 8, 2023 · 2 comments
Labels
question Further information is requested

Comments

@filipekiss
Copy link

It would be nice if I can have the message option set on my .npmrc and commit-and-tag-version could use that if no --releaseCommitMessageFormat was passed in the CLI. That way, if someone releases using npm version for any reason, at least the messages will always be consistent.

@filipekiss filipekiss added the question Further information is requested label Feb 8, 2023
@TimothyJones
Copy link
Member

Thanks for this request. I really like this idea - in fact, it would be nice if you could specify any options in any way.

In general, the options need to be overhauled. At the moment, there are some options that are only available via the package.json keys, and some options that are only available via the CLI. At the time that those options are overhauled, it would be very easy to add .npmrc as another potential source (although perhaps .versionrc is a more appropriate place, I am not sure).

See also #31 and #44

@filipekiss
Copy link
Author

I'll take a look and at those and, if I have some time, might take a shot at implementing it :) Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants