Skip to content

Commit a68cb00

Browse files
committed
chore: update
1 parent 81c4b5e commit a68cb00

File tree

12 files changed

+124
-157
lines changed

12 files changed

+124
-157
lines changed

pnpm-lock.yaml

Lines changed: 110 additions & 143 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docs/en/guide/advanced/storybook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PackageManagerTabs } from '@theme';
2-
import { Tab, Tabs } from 'rspress/theme';
2+
import { Tab, Tabs } from '@rspress/core/theme';
33

44
# Use Storybook
55

website/docs/zh/guide/advanced/storybook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PackageManagerTabs } from '@theme';
2-
import { Tab, Tabs } from 'rspress/theme';
2+
import { Tab, Tabs } from '@rspress/core/theme';
33

44
# 使用 Storybook
55

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@rsbuild/core": "~1.4.11",
1313
"@rsbuild/plugin-sass": "^1.3.3",
1414
"@rslib/tsconfig": "workspace:*",
15+
"@rspress/core": "2.0.0-beta.22",
1516
"@rspress/plugin-algolia": "2.0.0-beta.22",
1617
"@rspress/plugin-llms": "2.0.0-beta.22",
1718
"@rspress/plugin-rss": "2.0.0-beta.22",
@@ -24,7 +25,6 @@
2425
"react-dom": "^19.1.0",
2526
"rsbuild-plugin-google-analytics": "1.0.3",
2627
"rsbuild-plugin-open-graph": "^1.0.2",
27-
"rspress": "2.0.0-beta.21",
2828
"rspress-plugin-font-open-sans": "1.0.0",
2929
"rspress-plugin-sitemap": "^1.2.0"
3030
}

website/rspress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import path from 'node:path';
22
import { pluginSass } from '@rsbuild/plugin-sass';
3+
import { defineConfig } from '@rspress/core';
34
import { pluginAlgolia } from '@rspress/plugin-algolia';
45
import { pluginLlms } from '@rspress/plugin-llms';
56
import { pluginRss } from '@rspress/plugin-rss';
@@ -9,7 +10,6 @@ import {
910
} from '@shikijs/transformers';
1011
import { pluginGoogleAnalytics } from 'rsbuild-plugin-google-analytics';
1112
import { pluginOpenGraph } from 'rsbuild-plugin-open-graph';
12-
import { defineConfig } from 'rspress/config';
1313
import { pluginFontOpenSans } from 'rspress-plugin-font-open-sans';
1414
import pluginSitemap from 'rspress-plugin-sitemap';
1515

website/theme/components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { useI18n, useNavigate } from '@rspress/core/runtime';
12
import { Hero as BaseHero } from '@rstack-dev/doc-ui/hero';
2-
import { useI18n, useNavigate } from 'rspress/runtime';
33
import { useI18nUrl } from './utils';
44
import './Hero.module.scss';
55

website/theme/components/Overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Link } from 'rspress/theme';
1+
import { Link } from '@rspress/core/theme';
22
import styles from './Overview.module.scss';
33
import { useUrl } from './utils';
44

website/theme/components/RsbuildDocBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Badge, Link } from '@theme';
2-
import { useLang } from 'rspress/runtime';
1+
import { useLang } from '@rspress/core/runtime';
2+
import { Badge, Link } from '@rspress/core/theme';
33

44
type Props = {
55
/** Rsbuild doc URL pathname, i18n prefix stripped. */

website/theme/components/Step.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Link } from 'rspress/theme';
1+
import { Link } from '@rspress/core/theme';
22
import styles from './Step.module.scss';
33
import { useUrl } from './utils';
44

website/theme/components/ToolStack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { useLang } from '@rspress/core/runtime';
12
import { containerStyle } from '@rstack-dev/doc-ui/section-style';
23
import { ToolStack as BaseToolStack } from '@rstack-dev/doc-ui/tool-stack';
3-
import { useLang } from 'rspress/runtime';
44

55
export function ToolStack() {
66
const lang = useLang();

0 commit comments

Comments
 (0)