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

fix: make prettier a production dependency #91

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

swain
Copy link
Contributor

@swain swain commented Feb 9, 2024

Motivation

Prettier is used in the CLI here: https://github.com/lifeomic/one-schema/blob/master/src/bin/cli.ts#L34

By not making this a production dependency, we force consumers to have prettier installed, and we use their version instead. This creates a bug for any consumers using prettier v3, which returns a Promise from format, instead of a synchronous string.

@swain swain changed the title fix: make fix: make prettier a production dependency Feb 9, 2024
@swain swain marked this pull request as ready for review February 9, 2024 16:13
@swain swain merged commit 1f74c7d into master Feb 9, 2024
4 checks passed
@swain swain deleted the fix-prettier-dep branch February 9, 2024 16:19
Copy link

github-actions bot commented Feb 9, 2024

🎉 This PR is included in version 5.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

@epeters3 epeters3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

3 participants