tcmts.cli.upgrade

Move type
builtAgainst (cb: Codebase, name: string) => { name: string; range: string; version: string; }[]
Locked packages built against `name`: they list it as a peer dependency.
listPackages (cb: Codebase) => void
`tcm packages`: what the codebase runs, and what uses it.
newestFitting (name: string, fits: (c: { version: string; peers: Record<string, string>; }) => boolean) => string…
The newest version of `name` that `fits` accepts, looking range by range from the newest (asking the registry for every version's peers at once is more than it answers).
typesFor (name: string) => string
upgradeTo (cb: Codebase, name: string, target: string, namespace: string | undefined) => boolean
Re-pin the definitions using `name` (in `namespace`, or all) to range `target` (a range, a version, or "latest"), and the packages built against it to ranges that accept it; re-hash them and their dependents.
upgradeWithin (cb: Codebase, name: string, force: boolean) => boolean
Move the lock to the newest versions within the ranges `name` is used at.
usersOf (cb: Codebase, name: string, range?: string | undefined, namespace?: string | undefined) => Map<str…
Named, live definitions that use `name` (at `range`, or any), with the ranges they use.