这是indexloc提供的服务,不要输入任何密码
Skip to content

chore: use Turbopack for documentation builds #10312

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

Merged
merged 6 commits into from
Apr 21, 2025
Merged

Conversation

mischnic
Copy link
Contributor

@mischnic mischnic commented Apr 8, 2025

The fumadocs MDX transformation seems to be off with Turbopack, and some MDX frontmatter appears to be missing.

There is unfortunately no way to satisfy these Package shiki can't be external warnings, because there are two packages each requesting different versions of shiki. The only solution would be to somehow use a combination of fumadocs-core and @shikijs/rehype versions that both use the same version of shiki.

fumadocs-core/dist
The package resolves to a different version when requested from the project directory (3.2.1) compared to the package requested from the importing module (2.5.0).

@shikijs/rehype/dist
The package resolves to a different version when requested from the project directory (2.5.0) compared to the package requested from the importing module (3.2.1).

@turbo-orchestrator turbo-orchestrator bot added area: site needs: triage New issues get this label. Remove it after triage labels Apr 8, 2025
Copy link

vercel bot commented Apr 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:06pm

@mischnic mischnic changed the title Use Turbopack for turbo.build chore: Use Turbopack for turbo.build Apr 17, 2025
@anthonyshew anthonyshew changed the title chore: Use Turbopack for turbo.build chore: use Turbopack for documentation builds Apr 17, 2025
@anthonyshew anthonyshew marked this pull request as ready for review April 21, 2025 02:04
@anthonyshew anthonyshew requested review from anthonyshew and a team as code owners April 21, 2025 02:04
@anthonyshew anthonyshew requested a review from tknickman April 21, 2025 02:04
@anthonyshew anthonyshew merged commit 89e7f5d into main Apr 21, 2025
59 of 68 checks passed
@anthonyshew anthonyshew deleted the mischnic/turbopack branch April 21, 2025 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation area: site needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants