Skip to main content

Module pins

Module pins 

Source
Expand description

The versions of the external tools the toolchain fetches on demand.

WRANGLER_SPEC is the one place wrangler@4 is written in production code (#4043): the spawn site, super::wrangler::command, bynk dev’s warm-up line, bynk doctor’s install hints, and the test harness all read it.

Constants§

TSX_SPEC
The tsx package a runner fetches when tsx is not installed. Unpinned: pinning it would change what a user’s bynk test fetches (#4003, Decision G).
WRANGLER_SPEC
The wrangler package a runner fetches when wrangler is not installed: wrangler@<major>, so a new major cannot arrive unannounced. The test harness provisions exactly this spec before its smokes run, and CI’s pre-warm step names it too (bynk-tests/tests/system/wrangler_prewarm.rs).

Functions§

typescript_spec
The TypeScript package a runner fetches when tsc is not installed: typescript@<major>, the major the generated output is verified against (bynk_emit::TYPESCRIPT_MAJOR_TESTED, #1672). Also the package the install advice names.