Repository navigation
chore: remove the workspace cycle between void and @void/md - #991
Merged
Merged
Conversation
`void` listed `@void/md` as an optional peer, and `@void/md` depends on `void`, so pnpm warned about cyclic workspace dependencies on every install and `vp run` refused to order the two builds. The root `build` script worked around it by building `@void/md` in a second run. The peer dates from when `void` re-exported the Markdown theme CSS (74f7bb5); that export was removed in b41eafe. `void` no longer imports `@void/md` and finds its plugin by name, and `@void/md`'s own `void` peer still pins the two packages to the same version. Remove the peer and build all packages in one dependency-ordered run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cpojer
self-requested a review
December 1, 2026 05:56
cpojer
approved these changes
Dec 1, 2026
cpojer
left a comment
Member
There was a problem hiding this comment.
Oh nice, glad we could get rid of this now – iirc it wasn't possible before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vp installwarns on every run:@void/mddepends onvoid(its plugin importsvoid/pages), andvoidlists@void/mdas an optional peer. For the same reason,vp runrefuses to order the two builds (Cycle dependency detected: @void/md#build -> void#build -> @void/md#build), so the rootbuildscript built@void/mdin a second run.The peer was added in 74f7bb5, when
voidre-exported the Markdown theme CSS with@import "@void-x/md/theme". b41eafe removed that export, andvoidno longer imports@void/md: it finds the Markdown plugin by name in the Vite config.@void/mdstill declaresvoidas a peer at its own version, so a mismatched pair is still reported.This removes the peer and builds every package in one dependency-ordered run. If a cycle comes back,
vp run buildfails on it.vpr test:allpasses, and so does the full packed React suite with npm and pnpm, which installs@void/mdfrom its tarball and serves a Markdown page.🤖 Generated with Claude Code