-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): bump rspress to v2.0.0-beta.29 #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: ecb3ce1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Caution Review failedThe pull request is closed. WalkthroughReplaces usages of Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant CLI as getCommonConfig (CLI)
participant FS_sync as node:fs (sync)
participant MD as Markdown Dead-Link Checker
participant PUB as public/ Directory
CLI->>FS_sync: resolve(root, 'public') → publicPath
Note right of CLI: compute publicPath for asset checks
loop For each markdown link
CLI->>MD: Evaluate link
alt link starts with "/"
CLI->>PUB: existsSync(publicPath + pathname)
alt file exists
MD-->>CLI: Skip dead-link report
else file missing
MD-->>CLI: Proceed with dead-link validation
end
else other links
MD-->>CLI: Proceed with existing checks
end
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this 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 updates the rspress framework from version 2.0.0-beta.28 to 2.0.0-beta.29, adapting the codebase to breaking changes in the new version. The main change involves updating import references from 'virtual-runtime-config' to 'virtual-site-data' and adding new markdown link checking functionality.
- Updated rspress packages to v2.0.0-beta.29
- Replaced 'virtual-runtime-config' imports with 'virtual-site-data'
- Added dead link checking configuration for markdown files
Reviewed Changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/doom/src/global/VersionsNav/index.tsx | Updated import and usage from virtual-runtime-config to virtual-site-data |
| packages/doom/src/cli/load-config.ts | Added dead link checking configuration and minor code cleanup |
| packages/doom/package.json | Updated rspress packages and React type dependencies to latest versions |
| package.json | Updated React type definitions to latest versions |
| fixture-docs/en/link.md | Added test link for dead link checking functionality |
| eslint.config.js | Updated ESLint configuration to recognize new virtual module name |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
commit: |
Signed-off-by: JounQin <admin@1stg.me>
Summary by CodeRabbit
Bug Fixes
Documentation
Refactor
Chores