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

Show lerna-changelog output _before_ version prompt. #12

Merged
merged 1 commit into from Mar 19, 2020

Conversation

rwjblue
Copy link
Collaborator

@rwjblue rwjblue commented Mar 19, 2020

This is a significant refactor (of both implementation, and tests). The main goal is to ensure that the changelog that is displayed before selecting what the next version will be is from lerna-changelog (not whatever is configured as git.changelog script). This makes it much much easier to see that lerna-changelog labels have been applied, and (assuming they have) what the right version to select is.

This also significantly refactors the testing harness to much closer simulate actually executing lerna-changelog and the various git commands (plugin.responses is a simple matcher for the command and returns the value).

This is a significant refactor (of both implementation, and tests). The
main goal is to ensure that the changelog that is displayed before
selecting what the next version will be is from lerna-changelog (not
whatever is configured as `git.changelog` script).  This makes it much
much easier to see that lerna-changelog labels have been applied, and
(assuming they have) what the right version to select is.

This also significantly refactors the testing harness to much closer
simulate actually executing `lerna-changelog` and the various `git`
commands (`plugin.responses` is a simple matcher for the command and
returns the value).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant