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

chore: update prettier and migrate to an esm config #1500

Merged
merged 59 commits into from
Aug 10, 2023

Conversation

FinnDore
Copy link
Contributor

@FinnDore FinnDore commented Jul 6, 2023

Closes #1501

✅ Checklist

  • I have followed every step in the contributing guide (updated 2022-10-06).
  • The PR title follows the convention we established conventional-commit
  • I performed a functional test on my final commit

Changelog

Updated prettier and converted the cjs config to esm


Screenshots

[Screenshots]

image

No screen shot, but a cry for help. each time i install its taking 20mins + ( im still testing my changes )

@changeset-bot
Copy link

changeset-bot bot commented Jul 6, 2023

⚠️ No Changeset found

Latest commit: 9e75488

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jul 6, 2023

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

Name Status Preview Comments Updated (UTC)
create-t3-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2023 7:52pm

@vercel
Copy link

vercel bot commented Jul 6, 2023

@FinnDore is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 88
🟢 Accessibility 100
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://create-t3-app-git-fork-finndore-update-prettier-t3-oss.vercel.app/

@juliusmarminge
Copy link
Member

I can't get .ts to work in VSCode (if you also migrate the monorepos config to .ts:

CleanShot 2023-07-06 at 09 30 50@2x

@FinnDore
Copy link
Contributor Author

FinnDore commented Jul 6, 2023

Looks like this is blocked by tailwindlabs/prettier-plugin-tailwindcss#176

@github-actions github-actions bot added the 📚 documentation Improvements or additions to documentation label Jul 6, 2023
@juliusmarminge
Copy link
Member

v0.4.0 includes prettier@3 support

@FinnDore
Copy link
Contributor Author

Will get on it 👍

@FinnDore
Copy link
Contributor Author

withastro/prettier-plugin-astro@94ed904
looks like we need to wait for this to be released aswell....

@FinnDore
Copy link
Contributor Author

FinnDore commented Aug 10, 2023

Cool, ive tested it again, working as expected, ive also bumped the tailwind plugin

If you wanna make a PR into this branch from that diff we can review them separetely but still merge to main at the same time?

ye, ig the pr will be on my fork

@FinnDore
Copy link
Contributor Author

@FinnDore
Copy link
Contributor Author

image 🥹

@github-actions
Copy link
Contributor

github-actions bot commented Aug 10, 2023

Hey t3-oss/translators!

This PR contains changes to your language. Please review the changes ❤️.

@juliusmarminge juliusmarminge merged commit ea2a8c6 into t3-oss:next Aug 10, 2023
23 of 24 checks passed
@FinnDore
Copy link
Contributor Author

it will take months to recover from this 😔

devvianto605 pushed a commit to devvianto605/create-devviantex-nextjs-app-deprecated that referenced this pull request Jun 9, 2024
* updated prettier and config

* cjs -> ts

* remove require resolve?

* Revert "remove require resolve?"

This reverts commit 86a6853.

* upgraded monorepo

* half working now

* the state of this plugin

* template

* version map

* trust issues

* astro update

* format changes

* whoops

* .

* revert ian vs

* cli formats it anyways

* this fixed it?

* .

* yes

* moved these back to then move them back

* moved back

* behond confusion

* v?

* surely this cant hurt

* fixed??

* .

* 🤡

* move back

* cli: rename prettier config

* imports

* small tweaks

* bump eslint-config-prettier version

* oh lawd

* re-write format functions as --check ---write breaks ivanas eslint stuff

* we do a little quote

* last formatting

* bumped prettier-plugin-tailwindcss 0.4.1 -> 0.5.1

* formatting

* we do a little tweak

* more tweaking

* reverse tweaking

* added import thing

* begone

* :pog:

* adjust regexp

* formatted the rest of the repo

* move config to sub configs

---------

Co-authored-by: juliusmarminge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📌 area: cli Relates to the CLI 📌 area: t3-app Relates to the generated T3 App 📚 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update prettier
3 participants