javascript_registry_metadata
Acquire one public npm-compatible registry metadata response as a graph action. The generated target carries the registry URL and an explicit metadata generation; it does not choose package versions.
javascript_dependencies emits these targets in experimental JavaScript update
mode. Responses are streamed to a bounded output and read by declared
deferred callbacks. Reusing a generation permits local or remote cache
recovery without contacting the registry. Change the generation to request
fresh observations.
The action uses the generic fetch_response primitive, with a 16 MiB response
limit, an explicit refresh identity and a public-registry trust identity.
Retained observations require atomic conditional creation in the cache
provider. Local caches and filesystem object stores support this contract;
HTTP and Tuist caches currently fail with an unsupported-provider diagnostic.
Read-only graph queries replay settled observations without acquiring them.
Private registry credentials, automatic TTL refresh and conditional HTTP revalidation are not supported by this target. See the JavaScript resolution contract.