Skip to content

Commit fcfb65e

Browse files
fix(cli): skip catalog: versions in update check
Closes #3905
1 parent a7c734c commit fcfb65e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/cli-catalog-protocol.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Skip `catalog:` dependency versions in the CLI update check so monorepos using bun/pnpm catalogs no longer crash with Invalid comparator.

packages/cli-v3/src/commands/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ async function getTriggerDependencies(
332332
continue;
333333
}
334334

335-
if (version.startsWith("workspace")) {
335+
if (version.startsWith("workspace") || version.startsWith("catalog:")) {
336336
continue;
337337
}
338338

0 commit comments

Comments
 (0)