feat(deps): upgrade Rsbuild to 2.2.0 - #1875
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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/corein the workspace catalog from2.2.0-rc.0to~2.2.0. - Update Storybook starter templates to use
@rsbuild/core@~2.2.0. - Regenerate
pnpm-lock.yamland update config snapshots to reflect stablesplitChunksdefaults (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.0via the published@rslib/core@1.0.0-rc.1dependency tree (andrsbuild-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 off2.2.0-rc.0, update thecatalog.rslib/rsbuild-plugin-dtsversions (or otherwise remove that dependency path) and re-generatepnpm-lock.yamlso only@rsbuild/core@2.2.0remains.
This issue also appears on line 14197 of the same file.
pnpm-lock.yaml:14202
rsbuild-plugin-dts@1.0.0-rc.1is 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade Rsbuild from
2.2.0-rc.0to~2.2.0across the workspace catalog and Storybook templates. Refresh the lockfile and config snapshots to align with the stable release'ssplitChunksdefaults.Related Links
Checklist