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

feat(version): apply prettier to updated files, if applicable #3348

Merged
merged 3 commits into from Sep 29, 2022

Conversation

JamesHenry
Copy link
Member

If a user has prettier installed in their workspace, apply their prettier config to the files updated by the lerna version command.

The prime example of why this is useful is right here in the lerna repo itself. After this PR, we will no longer have to do a follow up commit after every release.

@JamesHenry JamesHenry marked this pull request as ready for review September 29, 2022 21:03
@JamesHenry JamesHenry merged commit d63fc1f into main Sep 29, 2022
@JamesHenry JamesHenry deleted the apply-prettier-pre-git-add-if-applicable branch September 29, 2022 21:03
rrhodes pushed a commit to rrhodes/lerna that referenced this pull request Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants