chore(deps): upgrade Rsbuild 2.0.0-beta.11 and update decorators tests#1564
Merged
Timeless0911 merged 1 commit intomainfrom Mar 30, 2026
Merged
chore(deps): upgrade Rsbuild 2.0.0-beta.11 and update decorators tests#1564Timeless0911 merged 1 commit intomainfrom
Timeless0911 merged 1 commit intomainfrom
Conversation
Deploying rslib with
|
| Latest commit: |
57ca685
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3f72e184.rslib.pages.dev |
| Branch Preview URL: | https://chore-rsbuild-beta-11.rslib.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the monorepo’s Rsbuild dependency to @rsbuild/core@2.0.0-beta.11 across workspace packages, examples, website, and test fixtures, and updates integration/unit snapshots to reflect behavior changes in that beta (notably source map output config shape and decorators transform output).
Changes:
- Bump
@rsbuild/corefrom2.0.0-beta.10to2.0.0-beta.11in multiple workspace and fixturepackage.jsonfiles and updatepnpm-lock.yamlaccordingly. - Add an integration fixture/test case for
source.decorators.version: '2023-11'and record the updated emitted output snapshot. - Update existing snapshots to match Rsbuild beta.11 output changes (e.g.,
devtoolFallbackModuleFilenameTemplate) and copy test output tree.
Reviewed changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| website/package.json | Align website devDependency on @rsbuild/core@2.0.0-beta.11. |
| tests/package.json | Align tests workspace devDependency on @rsbuild/core@2.0.0-beta.11. |
| tests/integration/node-polyfill/bundle/package.json | Update fixture to use @rsbuild/core@2.0.0-beta.11. |
| tests/integration/node-polyfill/bundle-false/package.json | Update fixture to use @rsbuild/core@2.0.0-beta.11. |
| tests/integration/decorators/index.test.ts | Add integration test coverage for decorators 2023-11 config. |
| tests/integration/decorators/snapshots/index.test.ts.snap | Add snapshot for 2023-11 decorators transform output. |
| tests/integration/decorators/2023-11/rslib.config.ts | New fixture config exercising source.decorators.version: '2023-11'. |
| tests/integration/decorators/2023-11/package.json | New fixture package manifest for the 2023-11 decorators test. |
| tests/integration/copy/index.test.ts | Update inline snapshot to reflect emitted index.js in output tree. |
| pnpm-lock.yaml | Lockfile updates for rsbuild/rspack/swc helper bump to match beta.11 resolution. |
| packages/plugin-dts/package.json | Align plugin-dts devDependency on @rsbuild/core@2.0.0-beta.11. |
| packages/create-rslib/template-storybook/vue-ts/package.json | Update template to use @rsbuild/core@2.0.0-beta.11. |
| packages/create-rslib/template-storybook/vue-js/package.json | Update template to use @rsbuild/core@2.0.0-beta.11. |
| packages/create-rslib/template-storybook/react-ts/package.json | Update template to use @rsbuild/core@2.0.0-beta.11. |
| packages/create-rslib/template-storybook/react-js/package.json | Update template to use @rsbuild/core@2.0.0-beta.11. |
| packages/core/tests/snapshots/config.test.ts.snap | Update config snapshot with new output devtoolFallbackModuleFilenameTemplate field. |
| packages/core/package.json | Align core package dependency on @rsbuild/core@2.0.0-beta.11. |
| examples/vue-component-bundleless/package.json | Update example to use @rsbuild/core@2.0.0-beta.11. |
| examples/module-federation/mf-remote/package.json | Update example to use @rsbuild/core@2.0.0-beta.11. |
| examples/module-federation/mf-react-component/package.json | Update example to use @rsbuild/core@2.0.0-beta.11. |
| examples/module-federation/mf-host/package.json | Update example to use @rsbuild/core@2.0.0-beta.11. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
fi3ework
approved these changes
Mar 30, 2026
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 the workspace, examples, website, and test fixtures to
@rsbuild/core@2.0.0-beta.11so they all resolve against the same Rsbuild release.This also captures the updated compiler behavior introduced by that beta, including the
2023-11decorators transform output.Related Links
Checklist