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: rollback prettier to 2ˆ to fix publishing issues #2056

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

icazevedo
Copy link
Contributor

@icazevedo icazevedo commented Oct 9, 2023

What's the purpose of this pull request?

This PR fixes this issue that happened while publishing packages due to incompatible eslint-plugin-prettier versions with prettier 3.x.

How it works?

In #2050 I upgraded the prettier version to 3.x. That caused the issue because tsdx has a dependency on an old eslint-plugin-prettier version, which is incompatible with prettier@3. I'm rolling back the upgrade and fixing the prettier version on the major 2 which makes it difficult for others to make the same mistake as me.

In the future, we remove all uses of tsdx as it is no longer supported and has gone 3 years without updates.

How to test it?

By merging this!

References

prettier/eslint-plugin-prettier#562
Thanks @hellofanny for noticing the error and investigating it!

@icazevedo icazevedo self-assigned this Oct 9, 2023
@icazevedo icazevedo requested a review from a team as a code owner October 9, 2023 19:45
@icazevedo icazevedo requested review from renatamottam and lucasfp13 and removed request for a team October 9, 2023 19:45
@vercel
Copy link

vercel bot commented Oct 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2023 7:47pm

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 9, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0fe202c:

Sandbox Source
Store UI Typescript Configuration

@icazevedo icazevedo requested review from hellofanny and removed request for renatamottam October 9, 2023 19:48
@icazevedo icazevedo merged commit dcf8692 into main Oct 9, 2023
5 checks passed
@icazevedo icazevedo deleted the fix/rollback-prettier-to-2.x branch October 9, 2023 19:59
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.

3 participants