Functions

f
bump(
manifestPath: string,
version: string
): Promise<BumpedEntry>

Points the manifest's qunitx-cli entry at version, keeping whatever range operator it already used: ^ stays ^, ~ stays ~, and an exact pin stays exact.

f
registry(manifestPath: string): Promise<"npm" | "jsr">

Which registry a deno manifest pins qunitx-cli through, so a refusal names the deno add that updates the entry already there instead of adding a second one beside it. npm when the file says nothing, matching what deno add qunitx-cli resolves to.

Interfaces

I
BumpedEntry

What bump changed: where the entry lives, and the range it now carries.

  • field: string

    The part of the manifest that changed: imports, dependencies or devDependencies.

  • range: string

    The range now written there, operator included.

Variables

v
EntryMissing: Failure.FailureFactory<"UpgradeManifestEntryMissing", { manifest: string; }>

A manifest that declares qunitx-cli, but not at a version this can bump — an unpinned specifier, or a dependency that is not declared there at all.