Skip to content

Upgrade Prettier to fix CI#438

Open
jabelic wants to merge 2 commits intoiddan:masterfrom
jabelic:chore/upgrade-prettier-ci
Open

Upgrade Prettier to fix CI#438
jabelic wants to merge 2 commits intoiddan:masterfrom
jabelic:chore/upgrade-prettier-ci

Conversation

@jabelic
Copy link
Copy Markdown

@jabelic jabelic commented Mar 25, 2026

Proposal to address the current CI failure that is affecting unrelated contribution PRs such as #437.

Summary

  • upgrade Prettier to 3.8.1 in both the root package and the website package
  • refresh the lockfiles and reformat the repository with the new Prettier 3 output
  • restore yarn ci by allowing formatting checks to parse the current config syntax correctly

Why

For example, #437 is currently failing yarn ci on prettier --check ., even though the failure is not caused by the paste-related changes in that PR itself.

Instead, the repository now includes syntax that the current Prettier 2.x setup cannot parse during CI, including:

  • TypeScript satisfies in website/docusaurus.config.ts
  • import attributes such as with { type: "json" } in rollup.config.mjs

Because check-format runs as part of yarn ci, unrelated contribution PRs can fail before their actual changes are evaluated. Updating the formatter first should make those PRs easier to review on their own merits.

Scope

  • dependency update only for Prettier in the root package and the website package
  • lockfile refresh
  • formatting-only file changes produced by Prettier 3
  • no intended runtime or API behavior changes

Review notes

  • the branch is split into two commits to make review easier:
    • Upgrade Prettier to 3.8.1
    • Reformat repository with Prettier 3
  • the large file diff is mechanical reformatting after the formatter upgrade

jabelic added 2 commits March 26, 2026 01:15
Update the root package and website to Prettier 3 so formatting checks can parse the current configuration syntax consistently across the repository.

Made-with: Cursor
Apply the new Prettier 3 output after the formatter upgrade so the repository matches the updated formatting rules and CI checks pass consistently.

Made-with: Cursor
@jabelic jabelic marked this pull request as ready for review March 25, 2026 16:47
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.

1 participant