chore[notask]: move Holepunch libs to peerDependencies#1905
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
9dd7a88 to
728d4db
Compare
simon-iribarren
approved these changes
May 6, 2026
NamelsKing
approved these changes
May 6, 2026
Contributor
Author
|
/review |
Contributor
Tier-based Approval Status |
Contributor
Author
|
/review |
opaninakuffo
approved these changes
May 6, 2026
Contributor
Author
|
/review |
yuranich
added a commit
to yuranich/qvac
that referenced
this pull request
May 13, 2026
Move hyperdb from dependencies to peerDependencies (tetherto#1905). Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced May 13, 2026
yuranich
added a commit
that referenced
this pull request
May 14, 2026
Move hyperdb from dependencies to peerDependencies (#1905). Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers.
NamelsKing
pushed a commit
that referenced
this pull request
May 15, 2026
Move corestore, hyperblobs, hyperdb, hyperswarm from dependencies to peerDependencies (#1905). Bump @qvac/registry-schema to ^0.2.0 to pull in its matching peers-cleaned release. Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers. Co-authored-by: Cursor <cursoragent@cursor.com>
NamelsKing
added a commit
that referenced
this pull request
May 15, 2026
Pulls in the peers-cleaned registry-client release (#1905, #2035) so hyperswarm, corestore, hyperdb, hyperblobs are not duplicated in consumer apps. Pairs with the @qvac/rag@^0.5.0 bump already on main from #2011. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
yuranich
added a commit
that referenced
this pull request
May 15, 2026
yuranich
added a commit
that referenced
this pull request
May 15, 2026
Move corestore, hyperblobs, hyperdb, hyperswarm from dependencies to peerDependencies (#1905). Bump @qvac/registry-schema to ^0.2.0 to pull in its matching peers-cleaned release. Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers. (cherry picked from commit 9229cdc) Co-authored-by: Cursor <cursoragent@cursor.com>
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
Move corestore, hyperblobs, hyperdb, hyperswarm from dependencies to peerDependencies (#1905). Bump @qvac/registry-schema to ^0.2.0 to pull in its matching peers-cleaned release. Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers. Co-authored-by: Cursor <cursoragent@cursor.com>
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
Move hyperdb from dependencies to peerDependencies (#1905). Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers.
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
* chore[bc]: move Holepunch libs to peerDependencies * chore: add hyperblobs and hyperdht to SDK peerDependencies
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
Pulls in the peers-cleaned registry-client release (#1905, #2035) so hyperswarm, corestore, hyperdb, hyperblobs are not duplicated in consumer apps. Pairs with the @qvac/rag@^0.5.0 bump already on main from #2011. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
Move corestore, hyperblobs, hyperdb, hyperswarm from dependencies to peerDependencies (#1905). Bump @qvac/registry-schema to ^0.2.0 to pull in its matching peers-cleaned release. Minor bump so 0.x ^-ranges don't auto-promote — install contract changed for standalone yarn-1 / legacy-peer-deps consumers. (cherry picked from commit c133b64) Co-authored-by: Cursor <cursoragent@cursor.com>
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.
What problem does this PR solve?
@qvac/registry-client,@qvac/rag, and@qvac/registry-schemadeclared Holepunch singleton libraries (hyperswarm,corestore,hyperdb,hyperblobs,hyperdht) as harddependencieswhile the SDK declared them aspeerDependencies. Range drift between these declarations (e.g. SDKhyperswarm ^4.12.1vs registry-client^4.14.0) caused npm to install duplicate copies of stateful singletons in consumer trees — separate DHT nodes, separate corestores, broken connectivity.How does it solve it?
peerDependenciesin the three internal packages; mirror indevDependenciesso packages still build and test in isolation.peerDependencies.hyperswarmfloor^4.12.1→^4.14.0; addhyperblobs(required) andhyperdht(optional) to SDK peers so the SDK manifest is the single source of truth for every Holepunch singleton range.ready-resourceas a hard dep — generic base class, not a stateful singleton.hyperdhtoptional in@qvac/rag(currently unused at runtime; reserved for the unwiredreplicateWithpath).Skips
@qvac/dl-hyperdrive(being phased out, zero in-repo runtime consumers). SDKoverridesremoval was already done as fallout from QVAC-14392.Install note
@qvac/sdkconsumers and any tooling that auto-installs required peers (npm 7+, pnpm, bun) are unaffected — the peers resolve transparently. Direct standalone consumers of@qvac/registry-clientusing yarn orlegacy-peer-deps=truewill see missing-peer warnings and need to addcorestore,hyperblobs,hyperdb, andhyperswarmto their own dependencies.How was it tested?
@qvac/registry-clientunit tests: 19/19 pass.@qvac/ragunit tests: 104/104 pass.@qvac/sdkbun run typecheck: clean.packages/sdk/node_modulescontains exactly one copy each ofhyperswarm@4.17.0,corestore@7.9.2,hyperdb@4.22.3,hyperblobs@2.11.1,hyperdrive@13.3.2,hyperdht@6.31.0.