MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / getTargetVersion

Function getTargetVersion

packages/cli/src/commands/update.ts:111–116  ·  view source on GitHub ↗
(toVersion?: string)

Source from the content-addressed store, hash-verified

109// expects a version number, or latest.
110// if version number is specified, prepend it with '@' for ncu.
111function getTargetVersion(toVersion?: string): NcuRunOptionTarget {
112 if (!toVersion) {
113 return "latest";
114 }
115 return toVersion === "latest" ? "latest" : `@${toVersion}`;
116}
117
118async function hasUserConfirmed(
119 packagesToUpdate: string[],

Callers 1

updateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…