chore: update rspack dependencies to latest beta versions#411
chore: update rspack dependencies to latest beta versions#411chenjiahan merged 3 commits intomainfrom
Conversation
Summary of ChangesHello, 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 focuses on maintaining the health and compatibility of the project's examples by upgrading core Rspack dependencies to their latest beta versions. This ensures that all examples are running with the most recent features and bug fixes, preventing potential compatibility issues and aligning the project with the ongoing development of the Rspack ecosystem. Highlights
🧠 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. Changelog
Activity
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
This pull request updates @rspack/cli, @rspack/core, and @rspack/dev-server dependencies to their latest beta versions across numerous examples. The changes are largely consistent, but I've identified a critical issue in one of the package.json files where @rspack/core was not updated along with @rspack/dev-server. This version mismatch is likely to break the corresponding example and should be addressed.
Note: Security Review has been skipped due to the limited scope of the PR.
There was a problem hiding this comment.
Pull request overview
This PR updates the Rspack example packages to newer beta releases of @rspack/cli, @rspack/core, and @rspack/dev-server to keep the examples aligned with the latest Rspack v2 beta tooling.
Changes:
- Bump
@rspack/cliand@rspack/corefrom2.0.0-beta.2to2.0.0-beta.5across examples. - Bump
@rspack/dev-serverfrom1.2.1to2.0.0-beta.3across examples.
Reviewed changes
Copilot reviewed 92 out of 93 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| rspack/worklet/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/worker/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/worker-inline/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/workbox-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/webpack-stats-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/webpack-bundle-analyzer/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/wasm-simple/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/vue/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/vue-vanilla/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/vue-tsx/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/vue-jsx/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/vanilla-extract-css/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/unplugin-auto-import/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/type-reexports-presence/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/ts-checker-rspack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/treeshaking-transform-imports/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/terser-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/tailwindcss/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/tailwindcss-with-type-css/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/tailwindcss-postcss/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/svgr/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/svelte/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/styled-components/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/stats/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/source-map-with-vscode-debugging/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/solid/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/sentry/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/rspack-manifest-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-with-sass/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-with-less/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-with-extract-css/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-ssr-esm/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-refresh/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-refresh-esm/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-refresh-babel-loader/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-compiler-babel/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/react-compiler-babel-ts/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/proxy/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/preact/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/preact-refresh/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/postcss-loader/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/polyfill/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/perfsee/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/node-polyfill/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/node-globals-shim/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/nestjs/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/nest-alias/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/multi-entry/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/monaco-editor-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/monaco-editor-ts-react/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/monaco-editor-js/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1/lib2/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1/lib1/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1/app/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1.5/lib2/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1.5/lib1/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-v1.5/app/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-interop/rspack-mf-v1/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/module-federation-interop/rspack-mf-v1.5/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/loader-compat/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/lightingcss-loader/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/license-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/library-umd/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/library-esm/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/library-cjs/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/lazy-compilation-server/package.json | Bump @rspack/dev-server to the newer beta (core remains v1.x). |
| rspack/inline-enum/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/inline-const/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/inline-const-enum/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/http-import/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/html-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/hooks-after-resolve/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/generate-package-json-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/extract-license/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/express/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/eslint/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/emotion/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/dll/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/dll-reference/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/css-parser-generator-options/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/css-chunking-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/cra/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/cra-ts/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/code-splitting/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/case-sensitive-paths-webpack-plugin/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/bundle-splitting/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/builtin-swc-loader/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/basic/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/basic-ts/package.json | Bump @rspack/* versions to the newer betas. |
| rspack/basic-ts-config/package.json | Bump @rspack/* versions to the newer betas. |
| rsdoctor/rspack/package.json | Bump @rspack/* versions to the newer betas. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f5689f402e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Update @rspack/cli, @rspack/core, and @rspack/dev-server dependencies across all examples to their latest beta versions (2.0.0-beta.5 and 2.0.0-beta.3 respectively) to ensure compatibility and leverage latest features