Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: vendor MDX deps for Jest and the MDX 2 upgrade #8515

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jan 6, 2023

MDX 2 deps only support ESM so we need to vendor them as CJS to make them work in Jest unit tests.

This was initially made as part of the MDX 2 PR here: #8288

But I'm moving this in this separate PR and merging it earlier because otherwise, the MDX 2 PR (https://github.com/facebook/docusaurus/pull/8288/files) becomes hard to review (too much noise, GitHub review UI freezing...)

@slorber slorber added the pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog. label Jan 6, 2023
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jan 6, 2023
@netlify
Copy link

netlify bot commented Jan 6, 2023

[V2]

Name Link
🔨 Latest commit 3a02c65
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/63b7ff61eab440000898c8f6
😎 Deploy Preview https://deploy-preview-8515--docusaurus-2.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 site settings.

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 62 🟢 97 🟢 100 🟢 100 🟢 90 Report
/docs/installation 🟠 72 🟢 100 🟢 100 🟢 100 🟢 90 Report

@slorber slorber merged commit 5a59378 into main Jan 6, 2023
@slorber slorber deleted the slorber/mdx-jest-vendoring branch January 6, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants