web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.21k stars 107 forks source link

chore(deps): update markdown-related dependencies #1001

Open colinaaa opened 2 months ago

colinaaa commented 2 months ago

Summary

I'm trying out #574. The @shikijs/rehype uses a higher version of unified than Rspress. So I decided to first upgrade the dependencies of Rspress.

Upgrade @mdxjs/*, hast-*, mdast-util-*, rehype-*, remark-*, unist-util-* and unified to latest.

Please note that these are major bumps with breaking changes(mostly typings). The remarkPlugins/toc.ts and remarkPlugins/loader.ts have been updated for the correct types.

I've tried running Rspack and Rsbuild documentation with the upgraded Rspress. Everything looks just fine!

Related Issue

574

Checklist

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

netlify[bot] commented 2 months ago

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
Latest commit f769dd982fe227fba934f0f377e090bae5e2cf0d
Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/6625352325c2440008bf2a07
Deploy Preview https://deploy-preview-1001--aquamarine-blini-95325f.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 92 (🔴 down 1 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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