Skip to content

refactor: mdx-plugins#111

Merged
Debbl merged 3 commits intomainfrom
feat/simple
Jan 22, 2026
Merged

refactor: mdx-plugins#111
Debbl merged 3 commits intomainfrom
feat/simple

Conversation

@Debbl
Copy link
Owner

@Debbl Debbl commented Jan 22, 2026

Summary by CodeRabbit

Release Notes

  • Chores
    • Simplified development and build workflow by removing turbo-based build steps.
    • Updated core dependencies (Next.js, fumadocs-mdx, and others) to latest versions for improved performance.
    • Added new npm scripts for type checking, linting, and production start.
    • Streamlined Next.js configuration and removed esbuild-wasm dependency.
    • Consolidated MDX plugins into the main codebase.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Jan 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
aiwan-run Ready Ready Preview, Comment Jan 22, 2026 3:18am

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for aiwan-run ready!

Name Link
🔨 Latest commit 7638cc0
🔍 Latest deploy log https://app.netlify.com/projects/aiwan-run/deploys/697196fa0f2e560009f3ca67
😎 Deploy Preview https://deploy-preview-111--aiwan-run.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.

@coderabbitai
Copy link

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

The changes consolidate the mdx-plugins package from a separate workspace into the main project by removing workspace configuration, integrating dependencies into the root package.json, updating import paths to local files, and removing related monorepo scaffolding. Several Next.js configuration options and build tooling are also simplified.

Changes

Cohort / File(s) Summary
Workspace consolidation & removal
packages/mdx-plugins/package.json, packages/mdx-plugins/tsdown.config.ts, packages/mdx-plugins/turbo.json, packages/mdx-plugins/.gitignore
Deleted separate mdx-plugins package manifest, build config, and turbo configuration. Removed dist from gitignore to allow tracking of built outputs locally.
Next.js config cleanup
next.config.ts
Removed cleanDistDir, typedRoutes, and transpilePackages options. Trimmed serverExternalPackages by removing esbuild-wasm.
Root configuration updates
pnpm-workspace.yaml, turbo.json
Removed workspace packages block and turbo build/dev task definitions. Updated onlyBuiltDependencies to include esbuild, sharp, simple-git-hooks, unrs-resolver, workerd.
Dependency integration
package.json
Updated pnpm to 10.28.1. Bumped Next.js and related packages (16.1.3 → 16.1.4). Added estree-util-\*, tsdown, unified, yaml, toml, @types/mdast as root dependencies. Removed @workspace/mdx-plugins and esbuild-wasm. Simplified dev/build scripts by removing turbo orchestration.
Import path updates
source.config.ts
Changed mdx-plugins import from @workspace/mdx-plugins to local ./mdx-plugins.
Sitemap og:image path
src/app/[lang]/sitemap.with.ts
Updated og:image URL construction from .png file paths to /opengraph-image endpoint format for both zh and en branches.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Feat/upgrade next 16 #108: Modifies Next.js configuration (16.x upgrade) and touches mdx-plugins packaging structure, suggesting parallel workspace consolidation work.

Poem

🐰 The plugins hop home at last,
From workspace branches to the path so vast,
Configs simplify, turbo tasks are freed,
One garden grown, that's all we need! 🌱

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'refactor: mdx-plugins' accurately summarizes the main changes: the mdx-plugins package has been removed from the workspace structure (deleted package.json, tsdown.config.ts, turbo.json, and .gitignore), and its code has been consolidated into the main source.config.ts by changing import paths from @workspace/mdx-plugins to ./mdx-plugins.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Debbl Debbl merged commit 5337b04 into main Jan 22, 2026
7 of 8 checks passed
@Debbl Debbl deleted the feat/simple branch January 22, 2026 03:22
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.

1 participant