Skip to content

feat(deps): upgrade Rsbuild to 2.2.0 - #1875

Merged
Timeless0911 merged 1 commit into
mainfrom
david/feat-rsbuild-core-2-2
Aug 26, 2026
Merged

feat(deps): upgrade Rsbuild to 2.2.0#1875
Timeless0911 merged 1 commit into
mainfrom
david/feat-rsbuild-core-2-2

Conversation

@Timeless0911

Copy link
Copy Markdown
Contributor

Summary

Upgrade Rsbuild from 2.2.0-rc.0 to ~2.2.0 across the workspace catalog and Storybook templates. Refresh the lockfile and config snapshots to align with the stable release's splitChunks defaults.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI lite review requested due to automatic review settings August 26, 2026 03:51
@Timeless0911
Timeless0911 merged commit 1d222d0 into main Aug 26, 2026
12 checks passed
@Timeless0911
Timeless0911 deleted the david/feat-rsbuild-core-2-2 branch August 26, 2026 03:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the monorepo’s Rsbuild toolchain from the 2.2.0-rc.0 pre-release to the stable 2.2.0 line, and refreshes related templates/lockfile/snapshots to match the stable release behavior.

Changes:

  • Bump @rsbuild/core in the workspace catalog from 2.2.0-rc.0 to ~2.2.0.
  • Update Storybook starter templates to use @rsbuild/core@~2.2.0.
  • Regenerate pnpm-lock.yaml and update config snapshots to reflect stable splitChunks defaults (e.g., minSize: 0).

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-workspace.yaml Updates the workspace catalog to prefer stable @rsbuild/core@~2.2.0.
pnpm-lock.yaml Lockfile refresh to @rsbuild/core@2.2.0 / @rspack/*@2.2.0 and updated dependency graph.
packages/create-rslib/template-storybook/vue-ts/package.json Bumps template Storybook dependency to stable Rsbuild.
packages/create-rslib/template-storybook/vue-js/package.json Bumps template Storybook dependency to stable Rsbuild.
packages/create-rslib/template-storybook/react-ts/package.json Bumps template Storybook dependency to stable Rsbuild.
packages/create-rslib/template-storybook/react-js/package.json Bumps template Storybook dependency to stable Rsbuild.
packages/core/tests/snapshots/config.test.ts.snap Updates expected composed Rsbuild config snapshot to match new defaults.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file
Suppressed comments (2)

pnpm-lock.yaml:9828

  • The lockfile still pulls @rsbuild/core@2.2.0-rc.0 via the published @rslib/core@1.0.0-rc.1 dependency tree (and rsbuild-plugin-dts@1.0.0-rc.1), so the workspace still installs the pre-release after this upgrade. If the intent is to fully move off 2.2.0-rc.0, update the catalog.rslib/rsbuild-plugin-dts versions (or otherwise remove that dependency path) and re-generate pnpm-lock.yaml so only @rsbuild/core@2.2.0 remains.

This issue also appears on line 14197 of the same file.
pnpm-lock.yaml:14202

  • rsbuild-plugin-dts@1.0.0-rc.1 is still resolved against @rsbuild/core@2.2.0-rc.0, which keeps the pre-release in the lockfile even after switching the catalog to ~2.2.0. Align this dependency path with @rsbuild/core@2.2.0 (or document why the RC is still required) and regenerate the lockfile.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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