f
bump(): Promise<BumpedEntry>
manifestPath: string,
version: string
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.
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,dependenciesordevDependencies. -
range: string
The range now written there, operator included.
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.
Usage
import * as mod from "lib/commands/upgrade/manifest.ts";