MCPcopy
hub / github.com/triggerdotdev/trigger.dev / updateConfirmation

Function updateConfirmation

packages/cli-v3/src/commands/update.ts:289–297  ·  view source on GitHub ↗
(depsToUpdate: Dependency[], targetVersion: string)

Source from the content-addressed store, hash-verified

287}
288
289async function updateConfirmation(depsToUpdate: Dependency[], targetVersion: string) {
290 printUpdateTable(depsToUpdate, targetVersion);
291
292 let confirmMessage = "Would you like to apply those updates?";
293
294 return await confirm({
295 message: confirmMessage,
296 });
297}
298
299export async function getPackageJson(absoluteProjectPath: string) {
300 const packageJsonPath = join(absoluteProjectPath, "package.json");

Callers 1

updateTriggerPackagesFunction · 0.85

Calls 1

printUpdateTableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…