Skip to content

Conversation

@edison1105
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings December 23, 2025 13:46
@coderabbitai
Copy link

coderabbitai bot commented Dec 23, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch edison/feat/useOxfmt

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

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 85.5 kB 30 kB 26.5 kB
runtime-dom.global.prod.js 108 kB 40.7 kB 36.6 kB
vue.global.prod.js 167 kB 60.7 kB 54.1 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 48.3 kB 18.9 kB 17.3 kB
createApp 57.3 kB 22 kB 20.1 kB
createApp + vaporInteropPlugin 97.2 kB 35.8 kB 32.3 kB
createVaporApp 42.6 kB 15.6 kB 14.3 kB
createSSRApp 61.7 kB 23.9 kB 21.7 kB
defineCustomElement 63.4 kB 23.9 kB 21.8 kB
overall 72.1 kB 27.3 kB 24.9 kB

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 23, 2025

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@14238
npm i https://pkg.pr.new/@vue/compiler-core@14238
yarn add https://pkg.pr.new/@vue/compiler-core@14238.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@14238
npm i https://pkg.pr.new/@vue/compiler-dom@14238
yarn add https://pkg.pr.new/@vue/compiler-dom@14238.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@14238
npm i https://pkg.pr.new/@vue/compiler-sfc@14238
yarn add https://pkg.pr.new/@vue/compiler-sfc@14238.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@14238
npm i https://pkg.pr.new/@vue/compiler-ssr@14238
yarn add https://pkg.pr.new/@vue/compiler-ssr@14238.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@14238
npm i https://pkg.pr.new/@vue/compiler-vapor@14238
yarn add https://pkg.pr.new/@vue/compiler-vapor@14238.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@14238
npm i https://pkg.pr.new/@vue/reactivity@14238
yarn add https://pkg.pr.new/@vue/reactivity@14238.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@14238
npm i https://pkg.pr.new/@vue/runtime-core@14238
yarn add https://pkg.pr.new/@vue/runtime-core@14238.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@14238
npm i https://pkg.pr.new/@vue/runtime-dom@14238
yarn add https://pkg.pr.new/@vue/runtime-dom@14238.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@14238
npm i https://pkg.pr.new/@vue/runtime-vapor@14238
yarn add https://pkg.pr.new/@vue/runtime-vapor@14238.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@14238
npm i https://pkg.pr.new/@vue/server-renderer@14238
yarn add https://pkg.pr.new/@vue/server-renderer@14238.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@14238
npm i https://pkg.pr.new/@vue/shared@14238
yarn add https://pkg.pr.new/@vue/shared@14238.tgz

vue

pnpm add https://pkg.pr.new/vue@14238
npm i https://pkg.pr.new/vue@14238
yarn add https://pkg.pr.new/vue@14238.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@14238
npm i https://pkg.pr.new/@vue/compat@14238
yarn add https://pkg.pr.new/@vue/compat@14238.tgz

commit: 907a18f

@edison1105 edison1105 marked this pull request as draft December 23, 2025 13:48
Copy link

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 migrates the code formatter from Prettier to oxfmt, a faster alternative built on the Oxc toolchain. The migration involves updating configuration files, build scripts, CI workflows, and documentation to reflect the new formatter.

Key changes include:

  • Replaced Prettier with oxfmt as the project's code formatter
  • Updated formatting commands in package.json and lint-staged configuration
  • Migrated formatting configuration from .prettierrc to .oxfmtrc.jsonc with equivalent settings

Reviewed changes

Copilot reviewed 9 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pnpm-lock.yaml Removed Prettier dependencies and added oxfmt with its native binary dependencies for multiple platforms (darwin, linux, win32)
package.json Updated format scripts to use oxfmt commands, replaced prettier dependency with oxfmt ^0.20.0, and updated lint-staged hooks
.oxfmtrc.jsonc Created new oxfmt configuration file with equivalent settings (semi: false, singleQuote: true, arrowParens: avoid) plus ignore patterns
.prettierrc Removed Prettier configuration file
.prettierignore Removed Prettier ignore file
.vscode/settings.json Changed default formatter from prettier-vscode to oxc-vscode extension for TypeScript, JavaScript, and JSON files
.github/workflows/test.yml Updated workflow comment from "Run prettier" to "Run oxfmt"
.github/workflows/autofix.yml Updated workflow comment from "Run prettier" to "Run oxfmt"
.github/renovate.json5 Changed package matching pattern from prettier to oxfmt for dependency updates
.github/contributing.md Updated documentation references from Prettier to oxfmt throughout contributor guide
packages/vue/examples/transition/modal.html Applied oxfmt formatting to CSS indentation
netlify.toml Applied oxfmt formatting to TOML file structure
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edison1105 edison1105 marked this pull request as ready for review December 24, 2025 01:56
@edison1105 edison1105 changed the base branch from minor to main December 24, 2025 02:13
@edison1105 edison1105 changed the base branch from main to minor December 24, 2025 02:13
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "oxc.oxc-vscode"
Copy link
Member Author

Choose a reason for hiding this comment

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

This configuration for JSON file formatting is not taking effect. Is it not supported?
@Dunqing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants