chore(deps): bump rspress to 2.0.4 and align migration docs#1516
Merged
chore(deps): bump rspress to 2.0.4 and align migration docs#1516
Conversation
Deploying rslib with
|
| Latest commit: |
a5ec744
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f230ace8.rslib.pages.dev |
| Branch Preview URL: | https://codex-docs-rspress-dlx.rslib.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps the @rspress/* dependencies from 2.0.3 to 2.0.4 across the website and the create-rslib rspress template, and updates the migration documentation to use the PackageManagerTabs component with the new dlx prop instead of a hardcoded npx code block — aligning with a fix in Rspress 2.0.4 for proper cross-package-manager dlx command rendering.
Changes:
- Bumped all
@rspress/*packages inwebsite/package.jsonfrom2.0.3to2.0.4and updatedpnpm-lock.yamlto reflect the new resolved versions (including many transitive dependency upgrades) - Updated
packages/create-rslib/template-rspress/react-ts/package.jsonto pin@rspress/core,@rspress/plugin-api-docgen, and@rspress/plugin-previewto^2.0.4 - Replaced the hardcoded
```bash\nnpx skills add ...```block in all four migration docs (EN/ZH × tsc/tsup) with<PackageManagerTabs command="..." dlx />, and moved theimportstatement to the top of each file
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 |
|---|---|
website/package.json |
Bumps all 6 @rspress/* website deps from 2.0.3 to 2.0.4 |
packages/create-rslib/template-rspress/react-ts/package.json |
Bumps 3 rspress template deps to ^2.0.4 |
website/docs/en/guide/migration/tsup.mdx |
Replaces npx code block with PackageManagerTabs dlx, moves import to top |
website/docs/en/guide/migration/tsc.mdx |
Same update as above for the tsc EN doc |
website/docs/zh/guide/migration/tsup.mdx |
Same update for the tsup ZH doc |
website/docs/zh/guide/migration/tsc.mdx |
Same update for the tsc ZH doc |
pnpm-lock.yaml |
Lockfile regenerated to reflect all direct and transitive version changes |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
fi3ework
approved these changes
Mar 5, 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
@rspress/*dependencies from2.0.3to2.0.4and update lockfilecreate-rslibrspress template deps (@rspress/core,@rspress/plugin-api-docgen,@rspress/plugin-preview) to^2.0.4tsc/tsup, bothenandzh) to replace the singlenpx skills add ...block withPackageManagerTabsusingdlxskills addcommand rendering across package managersRelated Links
Checklist