Skip to content

Commit bbc3770

Browse files
committed
ci(upgrade-deps): keep @tsdown/css and @tsdown/exe in lockstep with tsdown
They are bundled into core and exact-peer-depend on the same tsdown version, so the catalog entries must track tsdown on every upgrade run.
1 parent 1b6a5cf commit bbc3770

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/scripts/upgrade-deps.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,21 @@ async function updatePnpmWorkspace(versions: PnpmWorkspaceVersions): Promise<voi
212212
replacement: `tsdown: ^${versions.tsdown}`,
213213
newVersion: versions.tsdown,
214214
},
215+
// `@tsdown/css` and `@tsdown/exe` are bundled into core and published in
216+
// lockstep with tsdown (they exact-peer-depend on the same tsdown version),
217+
// so pin both catalog entries to the tsdown version to avoid drift.
218+
{
219+
name: '@tsdown/css',
220+
pattern: /'@tsdown\/css': \^([\d.]+(?:-[\w.]+)?)/,
221+
replacement: `'@tsdown/css': ^${versions.tsdown}`,
222+
newVersion: versions.tsdown,
223+
},
224+
{
225+
name: '@tsdown/exe',
226+
pattern: /'@tsdown\/exe': \^([\d.]+(?:-[\w.]+)?)/,
227+
replacement: `'@tsdown/exe': ^${versions.tsdown}`,
228+
newVersion: versions.tsdown,
229+
},
215230
{
216231
name: '@oxc-node/cli',
217232
pattern: /'@oxc-node\/cli': \^([\d.]+(?:-[\w.]+)?)/,

0 commit comments

Comments
 (0)