Skip to content

docs(deps): upgrade vite to 8.0.0#384

Merged
risu729 merged 1 commit intomainfrom
vite-8
Mar 17, 2026
Merged

docs(deps): upgrade vite to 8.0.0#384
risu729 merged 1 commit intomainfrom
vite-8

Conversation

@risu729
Copy link
Copy Markdown
Owner

@risu729 risu729 commented Mar 17, 2026

oxc-minify is required until this PR is merged.
vuejs/vitepress#5048

Copilot AI review requested due to automatic review settings March 17, 2026 16:17
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
biwa-docs 8856eb5 Commit Preview URL

Branch Preview URL
Mar 17 2026, 04:18 PM

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 project's documentation tooling by upgrading Vite to its latest major version, 8.0.0. This update involves significant changes to the dependency tree, including the introduction of oxc-minify for improved minification and a switch from rollup to rolldown for bundling. These changes ensure the project's build process leverages modern, efficient tools, enhancing performance and maintainability.

Highlights

  • Vite Upgrade: The core dependency Vite has been upgraded to version 8.0.0, bringing the project up to date with the latest features and improvements.
  • Dependency Management: The Renovate bot configuration was updated to no longer ignore Vite, allowing for automatic updates of this critical dependency in the future.
  • New Dependency Added: The oxc-minify package has been introduced as a new dependency, likely for optimized code minification, as noted in the PR description.
  • Bundler Transition: The project transitioned from using rollup to rolldown as a bundler, along with the addition of lightningcss for CSS processing, indicating a shift in the build toolchain.
Changelog
  • .github/renovate.json
    • Removed 'vite' from the ignoreDeps list, enabling Renovate to manage Vite updates.
  • docs/bun.lock
    • Added oxc-minify at version 0.120.0.
    • Updated the vite override version from 7.1.12 to 8.0.0.
    • Updated @babel/parser from 7.29.0 to 7.29.2.
    • Added @emnapi/core and @emnapi/wasi-threads dependencies.
    • Added numerous @oxc-minify/binding-* packages for various platforms.
    • Removed @types/estree dependency.
    • Added lightningcss and its various platform-specific bindings.
    • Replaced rollup with rolldown and its associated bindings, removing all @rollup/rollup-* entries.
    • Removed vite/esbuild and all its platform-specific bindings.
  • docs/package.json
    • Added oxc-minify at version 0.120.0 to the devDependencies.
    • Updated the vite override version from 7.1.12 to 8.0.0.
Activity
  • No human activity has been recorded on this pull request since its creation.
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
Copy Markdown
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 upgrades vite to version 8.0.0. While the changes in the configuration and lock files seem correct for this upgrade, there are significant compatibility risks with other dependencies. Specifically, @cloudflare/vite-plugin and vitepress have peer/direct dependencies on older versions of vite and are not guaranteed to work with Vite 8. This could lead to build failures or runtime errors, especially in the production environment.

Comment thread docs/package.json
Copy link
Copy Markdown
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

Updates the docs site’s frontend toolchain dependencies by forcing a Vite major upgrade and aligning lockfiles/config with the new resolution.

Changes:

  • Pin vite to 8.0.0 via overrides in the docs workspace.
  • Add oxc-minify to docs devDependencies (also reflected in bun.lock).
  • Simplify Renovate config by removing the ignoreDeps entry for vite.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/package.json Adds oxc-minify and overrides vite to 8.0.0 for the docs toolchain.
docs/bun.lock Regenerates dependency graph/lock to reflect Vite 8 + new transitive deps.
.github/renovate.json Removes ignoreDeps pinning for Vite upgrades.

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

Comment thread docs/package.json
Comment thread .github/renovate.json
@risu729 risu729 merged commit 16b8561 into main Mar 17, 2026
22 checks passed
@risu729 risu729 deleted the vite-8 branch March 17, 2026 16:21
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.

2 participants