chore(deps): migrate to @rstackjs/doc-ui v1.14.9 - #1880
Merged
Conversation
Deploying rslib with
|
| Latest commit: |
db492da
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://252307f5.rslib.pages.dev |
| Branch Preview URL: | https://chenjiahan-chore-upgrade-doc.rslib.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates the Rslib documentation website from the deprecated @rstack-dev/doc-ui package to @rstackjs/doc-ui@1.14.9, adopting the shared Doc UI theme stylesheet while retaining only Rslib-specific overrides.
Changes:
- Replaced all website theme component imports from
@rstack-dev/doc-ui/*to@rstackjs/doc-ui/*. - Added the shared
@rstackjs/doc-ui/theme.cssto the website theme entry and removed now-redundant local CSS variable definitions. - Updated workspace catalog, website dependency list, and lockfile to reference
@rstackjs/doc-ui@1.14.9.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/theme/pages/index.tsx | Updates Doc UI component import to the new package scope. |
| website/theme/index.tsx | Switches NavIcon import and loads shared theme.css before local overrides. |
| website/theme/index.scss | Removes redundant brand variables; keeps minimal Rslib override(s). |
| website/theme/components/ToolStack.tsx | Updates section and ToolStack imports to the new package scope. |
| website/theme/components/Hero.tsx | Updates Hero import to the new package scope. |
| website/package.json | Replaces the Doc UI dependency with @rstackjs/doc-ui via catalog. |
| pnpm-workspace.yaml | Updates the catalog version and minimumReleaseAgeExclude entry for the new package. |
| pnpm-lock.yaml | Reflects the dependency rename/version bump throughout the lockfile. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
@rstackjs/doc-uireplaces the old@rstack-dev/doc-uipackage and now exposes shared Rspress theme styles. This PR migrates all Rslib website imports to v1.14.9, loads the sharedtheme.css, and keeps only Rslib-specific theme overrides locally.Related Links
Checklist