Expand description
Read-only registry queries for editors and scripts (#2472): bynk search
and bynk deps, and the JSON documents bynk add, bynk fetch and
bynk publish print under --format json.
The registry protocol is a static, per-package index (packaging §6.2): it
has no listing or free-text search, so search is an exact org/package
lookup through the same verifying Client a build uses.
Everything here goes through the driver so that routing, trust, tokens and
caching stay in one place (#2472, decision A).
Structs§
- Dependency
- One
[dependencies]or[dev-dependencies]entry with whatbynk.lockresolved it to. - Found
- What
bynk search <package>found. - Version
- One version of a package, as
searchreports it.
Functions§
- added_
json - The
bynk add --format jsondocument: the manifest line written. - dependencies
- The dependencies of the project at
project, offline: the manifest’s entries joined tobynk.lock. - dependencies_
json - The
bynk deps --format jsondocument. - fetched_
json - The
bynk fetch --format jsondocument. - published_
json - The
bynk publish --format jsondocument (also for--dry-run). - search
- Look
package(org/package) up on the registry its organisation routes to, from the project atproject.