Functions

f
detect(probe?: ChannelProbe): InstallChannel

Resolves the channel this process is running from.

f
isSelfUpdatable(channel: InstallChannel): boolean

Whether this channel's updater is qunitx's to run.

f
updateArgv(
channel: InstallChannel,
version: string,
registry?: "npm" | "jsr"
): string[]

The command that upgrades this channel: deno install, npm install -g, deno add, git pull.

Interfaces

I
ChannelProbe

The observable state detect reads. Every field defaults to this process, and every field is injectable so each channel is reachable in a test without that install existing.

Type Aliases