Skip to content

Conversation

@SoonIter
Copy link
Member

@SoonIter SoonIter commented Jul 16, 2025

Summary

merge rspress package to @rspress/core package

rspress => @rspress/core
rspress/config => @rspress/core
rspress/theme => @rspress/core/theme
rspress/runtime => @rspress/core/runtime
rspress/shiki-transformers => @rspress/core/shiki-transformers

before

// rspress.config.ts
import { defineConfig } from 'rspress/config';
export default defineConfig({
});
// theme/index.ts
import { usePageData, useDark } from 'rspress/runtime';
import { HomeLayout } from 'rspress/theme'

after

// rspress.config.ts
import { defineConfig } from '@rspress/core';
export default defineConfig({
});
// theme/index.ts
import { usePageData, useDark } from '@rspress/core/runtime';
import { HomeLayout } from '@rspress/core/theme'

Migration Steps from V1

image

Related Issue

Checklist

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

@netlify
Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit d4e941e
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/6877855bdc27050008ccfc83
😎 Deploy Preview https://deploy-preview-2386--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit d4e941e
🔍 Latest deploy log https://app.netlify.com/projects/rspress/deploys/6877855b1300fe0008dcdba0
😎 Deploy Preview https://deploy-preview-2386--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 75 (🔴 down 2 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SoonIter SoonIter requested review from JounQin and chenjiahan and removed request for JounQin July 16, 2025 11:11
Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SoonIter SoonIter merged commit 4a45776 into main Jul 16, 2025
14 checks passed
@SoonIter SoonIter deleted the syt/rspress-core branch July 16, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants