Skip to content

Conversation

@SoonIter
Copy link
Member

Summary

  • Move @rspress/runtime package code into @rspress/core and export from @rspress/core/runtime
  • This consolidates the internal runtime APIs into the core package, reducing package complexity
  • All runtime hooks and utilities are now available via import { ... } from '@rspress/core/runtime'

Changes

  • Move runtime source files to packages/core/src/runtime/
  • Update @rspress/core's entry point to re-export runtime APIs
  • Update all internal imports from @rspress/runtime to @rspress/core/runtime
  • Remove @rspress/runtime package entirely
  • Update tsconfig references

Test plan

  • Build all packages successfully
  • All unit tests pass

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings December 25, 2025 19:19
@netlify
Copy link

netlify bot commented Dec 25, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 9d448ac
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/695b8cc2791c800008ef6f46
😎 Deploy Preview https://deploy-preview-2935--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.

Copy link
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.

Copilot reviewed 13 out of 34 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 25, 2025

Rsdoctor Bundle Diff Analysis

Found 3 projects in monorepo, 1 project with changes.

📊 Quick Summary
Project Total Size Change
node 9.5 MB 0
node_md 1.2 MB 0
web 15.3 MB -10.0 B (-0.0%)
📋 Detailed Reports (Click to expand)

📁 web

Path: website/doc_build/diff-rsdoctor/web/rsdoctor-data.json

📌 Baseline Commit: 170fef836a | PR: #2961

Metric Current Baseline Change
📊 Total Size 15.3 MB 15.3 MB -10.0 B (-0.0%)
📄 JavaScript 14.6 MB 14.6 MB -10.0 B (-0.0%)
🎨 CSS 128.4 KB 128.4 KB 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 555.6 KB 555.6 KB 0

📦 Download Diff Report: web Bundle Diff

Generated by Rsdoctor GitHub Action

SoonIter and others added 4 commits January 5, 2026 17:48
Move runtime package code into @rspress/core and export from @rspress/core/runtime.
This consolidates the internal runtime APIs into the core package.

Changes:
- Move runtime source files to packages/core/src/runtime/
- Update core's entry point to re-export runtime APIs
- Update all imports from @rspress/runtime to @rspress/core/runtime
- Remove @rspress/runtime package
- Update tsconfig references

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@SoonIter SoonIter force-pushed the refactor/merge-runtime-to-core branch from 8fb96ce to a69e1d3 Compare January 5, 2026 09:53
@SoonIter SoonIter changed the title refactor: merge @rspress/runtime into @rspress/core refactor!: merge @rspress/runtime into @rspress/core package and remove @rspress/runtime package Jan 5, 2026
@SoonIter SoonIter requested a review from Timeless0911 January 5, 2026 10:36
@SoonIter SoonIter enabled auto-merge (squash) January 5, 2026 10:36
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