chore(deps): update Rspress to 2.0.0-beta.22#411
Merged
chenjiahan merged 1 commit intomainfrom Jul 22, 2025
Merged
Conversation
✅ Deploy Preview for rstest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Rspress documentation framework from version 2.0.0-beta.21 to 2.0.0-beta.22, migrating from the legacy rspress package to the new scoped @rspress/core package structure.
- Updates package.json to use the new
@rspress/corepackage instead of the legacyrspresspackage - Migrates all import statements across theme files from
rspress/*to@rspress/core/* - Updates the Rspress plugin to the latest beta version
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/package.json | Updates dependencies to use @rspress/core 2.0.0-beta.22 and removes legacy rspress package |
| website/rspress.config.ts | Updates config import to use @rspress/core |
| website/theme/index.tsx | Updates theme imports to use @rspress/core/theme |
| website/theme/components/utils.ts | Updates runtime imports to use @rspress/core/runtime |
| website/theme/components/ToolStack.tsx | Updates runtime imports to use @rspress/core/runtime |
| website/theme/components/Step.tsx | Updates theme imports to use @rspress/core/theme |
| website/theme/components/RsbuildDocBadge.tsx | Updates runtime imports to use @rspress/core/runtime |
| website/theme/components/Overview.tsx | Updates theme imports to use @rspress/core/theme |
| website/theme/components/Hero.tsx | Updates runtime imports to use @rspress/core/runtime |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
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
Update Rspress to 2.0.0-beta.22 and use the new package name.
Related Links
https://github.com/web-infra-dev/rspress/releases
Checklist