Skip to content

chore(deps): upgrade Rsbuild 2.0.0-beta.11 and update decorators tests#1564

Merged
Timeless0911 merged 1 commit intomainfrom
chore/rsbuild-beta-11
Mar 30, 2026
Merged

chore(deps): upgrade Rsbuild 2.0.0-beta.11 and update decorators tests#1564
Timeless0911 merged 1 commit intomainfrom
chore/rsbuild-beta-11

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Mar 30, 2026

Summary

Upgrade the workspace, examples, website, and test fixtures to @rsbuild/core@2.0.0-beta.11 so they all resolve against the same Rsbuild release.

This also captures the updated compiler behavior introduced by that beta, including the 2023-11 decorators transform output.

Related Links

Checklist

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

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

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: 57ca685
Status: ✅  Deploy successful!
Preview URL: https://3f72e184.rslib.pages.dev
Branch Preview URL: https://chore-rsbuild-beta-11.rslib.pages.dev

View logs

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

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/core from 2.0.0-beta.10 to 2.0.0-beta.11 in multiple workspace and fixture package.json files and update pnpm-lock.yaml accordingly.
  • 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

@Timeless0911 Timeless0911 merged commit d824f08 into main Mar 30, 2026
15 checks passed
@Timeless0911 Timeless0911 deleted the chore/rsbuild-beta-11 branch March 30, 2026 05:40
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.

3 participants