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(prettier) upgrade to prettier v3 #10179

Merged
merged 9 commits into from
Mar 10, 2024
Merged

feat(prettier) upgrade to prettier v3 #10179

merged 9 commits into from
Mar 10, 2024

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Mar 9, 2024

Second attempt of #9077 now that Jest tests aren't holding us back thanks to @Josh-Walker-GM! 🚀

I've also included the changes in #9078. I'm pretty sure this isn't breaking but will be more thorough after CI passes.

@jtoar jtoar added the release:feature This PR introduces a new feature label Mar 9, 2024
@jtoar jtoar added this to the next-release milestone Mar 9, 2024
@@ -54,7 +54,6 @@
"@types/fs-extra": "11.0.4",
"@types/jest": "29.5.8",
"@types/jscodeshift": "0.11.6",
"@types/prettier": "2.7.3",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Prettier provides its own types now. See the deprecation warning on https://www.npmjs.com/package/@types/prettier.

packages/codemods/vite.config.mts Outdated Show resolved Hide resolved
@jtoar jtoar added fixture-ok Override the test project fixture check and removed fixture-ok Override the test project fixture check labels Mar 9, 2024
@jtoar jtoar added the fixture-ok Override the test project fixture check label Mar 10, 2024
@jtoar jtoar enabled auto-merge (squash) March 10, 2024 01:36
@jtoar jtoar merged commit 2ecd37b into main Mar 10, 2024
42 of 45 checks passed
@jtoar jtoar deleted the ds-esm/prettier-v3 branch March 10, 2024 01:54
jtoar added a commit that referenced this pull request Mar 10, 2024
Second attempt of #9077 now
that Jest tests are holding us back thanks to @Josh-Walker-GM! 🚀

I've also included the changes in
#9078. I'm pretty sure this
isn't breaking but will be more thorough after CI passes.
jtoar added a commit that referenced this pull request Mar 10, 2024
@Josh-Walker-GM pointed out some breaking changes I included in the
prettier v3 upgrade (#10179) in
his PR [here](#10183). My goal
with the prettier v3 upgrade was to first do it in a non-breaking way so
that it could be released in the next minor, then come back and include
the breaking changes (mainly around the tailwind setup command). This
should undo the breaking changes so that we can release prettier v3 in
the next minor and redo #10182.
jtoar added a commit that referenced this pull request Mar 10, 2024
@Josh-Walker-GM pointed out some breaking changes I included in the
prettier v3 upgrade (#10179) in
his PR [here](#10183). My goal
with the prettier v3 upgrade was to first do it in a non-breaking way so
that it could be released in the next minor, then come back and include
the breaking changes (mainly around the tailwind setup command). This
should undo the breaking changes so that we can release prettier v3 in
the next minor and redo #10182.
@jtoar jtoar added release:breaking This PR is a breaking change and removed release:feature This PR introduces a new feature labels Mar 14, 2024
jtoar added a commit that referenced this pull request Mar 14, 2024
Josh-Walker-GM added a commit that referenced this pull request Apr 19, 2024
**Problem**
This follows up on the work done in #10179. The prettier API is now
async. Most of our code was already awaiting but we must now add `await`
in several places we previously did not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixture-ok Override the test project fixture check release:breaking This PR is a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants