Skip to content

chore: update oxfmt to 0.19#5737

Merged
fengmk2 merged 4 commits intonextfrom
oxfmt-0.19
Dec 20, 2025
Merged

chore: update oxfmt to 0.19#5737
fengmk2 merged 4 commits intonextfrom
oxfmt-0.19

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Dec 20, 2025

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 20, 2025

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

135 files out of 242 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch oxfmt-0.19

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 20, 2025

Deploying egg-v3 with  Cloudflare Pages  Cloudflare Pages

Latest commit: c91cd5e
Status: ✅  Deploy successful!
Preview URL: https://9eb62199.egg-v3.pages.dev
Branch Preview URL: https://oxfmt-0-19.egg-v3.pages.dev

View logs

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @fengmk2, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on updating the oxfmt dependency to its latest version, 0.19.0. In addition to this core update, it includes a cleanup of the project's root-level Prettier configuration files and minor formatting adjustments in various documentation and configuration files, aiming to maintain code consistency and simplify the project setup.

Highlights

  • Dependency Update: The oxfmt dependency has been updated from version 0.15.0 to 0.19.0 in pnpm-workspace.yaml.
  • Prettier Configuration Cleanup: The root-level .prettierignore and .prettierrc configuration files have been removed, streamlining the project's formatting setup.
  • Code Formatting Adjustments: Minor formatting changes were applied across several files, including standardizing string literal quotes in pnpm-workspace.yaml and adjusting markdown table spacing in documentation.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates oxfmt to version 0.19.0 and applies the new formatting across the codebase. The changes primarily consist of updating the dependency in pnpm-workspace.yaml, removing Prettier configuration files, and applying formatting changes to various YAML, JSON, and Markdown files. The key reordering in package.json files and quote style changes in pnpm-workspace.yaml are consistent with the formatter update. The changes are clean, correct, and align with the goal of the pull request.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 20, 2025

Deploying egg with  Cloudflare Pages  Cloudflare Pages

Latest commit: c91cd5e
Status: ✅  Deploy successful!
Preview URL: https://d2311ffb.egg-cci.pages.dev
Branch Preview URL: https://oxfmt-0-19.egg-cci.pages.dev

View logs

@codecov
Copy link

codecov bot commented Dec 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.62%. Comparing base (545cee6) to head (c91cd5e).
⚠️ Report is 1 commits behind head on next.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #5737   +/-   ##
=======================================
  Coverage   87.61%   87.62%           
=======================================
  Files         569      569           
  Lines       10941    10941           
  Branches     1238     1238           
=======================================
+ Hits         9586     9587    +1     
+ Misses       1271     1270    -1     
  Partials       84       84           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fengmk2 fengmk2 marked this pull request as ready for review December 20, 2025 09:23
Copilot AI review requested due to automatic review settings December 20, 2025 09:23
@fengmk2 fengmk2 merged commit 6de1d54 into next Dec 20, 2025
47 of 49 checks passed
@fengmk2 fengmk2 deleted the oxfmt-0.19 branch December 20, 2025 09:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the oxfmt tool from version 0.15.0 to 0.19.0 and applies the new formatter's output across the codebase. The changes are primarily cosmetic, consisting of automatic reformatting of JSON and other files according to oxfmt 0.19's formatting rules.

Key changes:

  • Update oxfmt dependency from ^0.15.0 to ^0.19.0 in the pnpm workspace catalog
  • Remove prettier dependency and configuration files (moving to oxfmt for formatting)
  • Reformat all package.json files to match oxfmt 0.19's standard field ordering
  • Minor formatting adjustments to markdown tables and TypeScript configuration

Reviewed changes

Copilot reviewed 239 out of 243 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-workspace.yaml Updates oxfmt from 0.15.0 to 0.19.0; removes prettier dependency
All package.json files Reformatted with consistent field ordering: metadata fields first (name, version, description, keywords, homepage, bugs, license, author, repository), then files/type/main/exports, publishConfig, scripts, dependencies, devDependencies, peerDependencies, engines, and plugin-specific fields last
tools/create-egg/test/cli.test.ts Reformatted test code indentation
tegg/plugin/tegg/test/*.test.ts Removed extra blank lines
site/tsconfig.json Compressed exclude array to single line
site/package.json Removed prettier script and devDependency
site/.prettierrc, site/.prettierignore Deleted prettier configuration files
site/docs/advanced/loader.md, site/docs/zh-CN/advanced/loader.md Adjusted table column alignment
.prettierignore Removed root prettier ignore file
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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