From 40d7617cc1cc316671f839c1af26be47fa189cc3 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Mon, 22 Jun 2026 12:05:34 -0400 Subject: [PATCH] fix(auth): re-export interface-only barrel symbols as types for bun dev runs The auth commands barrel re-exported 4 interface-only symbols (AuthCommandArgs, ProfileOutput, ListOutput, CommandContext) via a value 'export {}', which bun's per-file transpile cannot resolve at runtime (the tsc dist elides them, so users were unaffected). Split them into 'export type {}' so 'bun run dev' / source runs work. --- src/auth/commands/index.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/auth/commands/index.ts b/src/auth/commands/index.ts index e21869d5..571ee721 100644 --- a/src/auth/commands/index.ts +++ b/src/auth/commands/index.ts @@ -5,14 +5,8 @@ */ // Types and utilities -export { - AuthCommandArgs, - ProfileOutput, - ListOutput, - CommandContext, - parseArgs, - formatRelativeTime, -} from './types'; +export type { AuthCommandArgs, ProfileOutput, ListOutput, CommandContext } from './types'; +export { parseArgs, formatRelativeTime } from './types'; // Command handlers export { handleCreate } from './create-command';