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

Function printUpdateTable

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

Source from the content-addressed store, hash-verified

275}
276
277function printUpdateTable(depsToUpdate: Dependency[], targetVersion: string): void {
278 log.message("Suggested updates");
279
280 const tableData = depsToUpdate.map((dep) => ({
281 package: dep.name,
282 old: dep.version,
283 new: targetVersion,
284 }));
285
286 logger.table(tableData);
287}
288
289async function updateConfirmation(depsToUpdate: Dependency[], targetVersion: string) {
290 printUpdateTable(depsToUpdate, targetVersion);

Callers 1

updateConfirmationFunction · 0.85

Calls 1

tableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…