Skip to content

chore: bump Rslib and update rslib-vue and rslib-rstest examples#420

Merged
chenjiahan merged 2 commits intomainfrom
codex/update-rslib-021-examples
Apr 8, 2026
Merged

chore: bump Rslib and update rslib-vue and rslib-rstest examples#420
chenjiahan merged 2 commits intomainfrom
codex/update-rslib-021-examples

Conversation

@Timeless0911
Copy link
Copy Markdown
Member

Summary

  • bump the modified rslib examples to @rslib/core@^0.21.0
  • switch Vue-based rslib examples from rsbuild-plugin-unplugin-vue to @rsbuild/plugin-vue
  • update rstest examples to extend withRslibConfig() via @rstest/adapter-rslib

Why

The examples were still pinned to older @rslib/core and Vue plugin packages, and the rstest examples were manually wiring test environment and plugins instead of using the adapter that matches current rslib integration.

Impact

The examples stay aligned with the current rslib / rstest integration path and keep the sample configs smaller and easier to follow.

Validation

  • pnpm --filter @rslib-example/vue-basic build
  • pnpm --filter @rslib-example/vue-storybook build
  • pnpm --filter @rslib-example/node-rstest test
  • pnpm --filter @rslib-example/react-rstest test
  • pnpm --filter @rslib-example/vue-rstest test
  • pnpm --filter @rstest-example/rslib-adapter test

@Timeless0911 Timeless0911 changed the title [codex] update rslib examples for 0.21 chore(deps): update rslib examples Apr 8, 2026
@Timeless0911 Timeless0911 changed the title chore(deps): update rslib examples chore: bump Rslib and update rslib-vue and rslib-rstest examples Apr 8, 2026
@Timeless0911 Timeless0911 force-pushed the codex/update-rslib-021-examples branch from 0520289 to 94cdefe Compare April 8, 2026 11:47
@Timeless0911 Timeless0911 marked this pull request as ready for review April 8, 2026 11:50
@chenjiahan chenjiahan merged commit b9d84cf into main Apr 8, 2026
4 checks passed
@chenjiahan chenjiahan deleted the codex/update-rslib-021-examples branch April 8, 2026 12:17
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