Skip to content

chore(deps): bump rspress to 2.0.4 and align migration docs#1516

Merged
fi3ework merged 2 commits intomainfrom
codex/docs-rspress-dlx
Mar 5, 2026
Merged

chore(deps): bump rspress to 2.0.4 and align migration docs#1516
fi3ework merged 2 commits intomainfrom
codex/docs-rspress-dlx

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

Summary

  • bump website @rspress/* dependencies from 2.0.3 to 2.0.4 and update lockfile
  • bump create-rslib rspress template deps (@rspress/core, @rspress/plugin-api-docgen, @rspress/plugin-preview) to ^2.0.4
  • update migration docs (tsc / tsup, both en and zh) to replace the single npx skills add ... block with PackageManagerTabs using dlx
  • this aligns docs usage with the fix in Rspress for skills add command rendering across package managers

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings March 5, 2026 11:43
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: a5ec744
Status: ✅  Deploy successful!
Preview URL: https://f230ace8.rslib.pages.dev
Branch Preview URL: https://codex-docs-rspress-dlx.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 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 in website/package.json from 2.0.3 to 2.0.4 and updated pnpm-lock.yaml to reflect the new resolved versions (including many transitive dependency upgrades)
  • Updated packages/create-rslib/template-rspress/react-ts/package.json to pin @rspress/core, @rspress/plugin-api-docgen, and @rspress/plugin-preview to ^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 the import statement 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 fi3ework merged commit 9731774 into main Mar 5, 2026
13 checks passed
@fi3ework fi3ework deleted the codex/docs-rspress-dlx branch March 5, 2026 12:04
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