@devries-cameron20 / t3code Mirror · read-only / commits / 5b056cd337
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 10:00 UTC

fix: remove duplicate catalog resolver after rebase

Co-authored-by: codex <codex@users.noreply.github.com>

Julius Marminge committed Mar 3, 2026 at 18:42 UTC 5b056cd33750ee7ffb36faea836dc106bdeb973b
1 file changed -25
scripts/build-desktop-artifact.ts
-25
@@ -322,31 +322,6 @@ function validateBundledClientAssets(clientDir: string) {
322 });
323 }
324
325 -function resolveCatalogDependencies(
326 - dependencies: Record<string, unknown>,
327 - catalog: Record<string, unknown>,
328 - dependencySourceLabel: string,
329 -): Record<string, unknown> {
330 - return Object.fromEntries(
331 - Object.entries(dependencies).map(([dependencyName, spec]) => {
332 - if (typeof spec !== "string" || !spec.startsWith("catalog:")) {
333 - return [dependencyName, spec];
334 - }
335 -
336 - const catalogKey = spec.slice("catalog:".length).trim();
337 - const lookupKey = catalogKey.length > 0 ? catalogKey : dependencyName;
338 - const resolvedSpec = catalog[lookupKey];
339 - if (typeof resolvedSpec !== "string" || resolvedSpec.length === 0) {
340 - throw new BuildScriptError({
341 - message: `Unable to resolve '${spec}' for ${dependencySourceLabel} dependency '${dependencyName}'. Expected key '${lookupKey}' in root workspace catalog.`,
342 - });
343 - }
344 -
345 - return [dependencyName, resolvedSpec];
346 - }),
347 - );
348 -}
349 -
325 function resolveDesktopRuntimeDependencies(
326 dependencies: Record<string, unknown> | undefined,
327 catalog: Record<string, unknown>,