Skip to content

refactor: collapse command barrel into command/index.ts#22903

Merged
kitlangton merged 1 commit intodevfrom
kit/collapse-command
Apr 16, 2026
Merged

refactor: collapse command barrel into command/index.ts#22903
kitlangton merged 1 commit intodevfrom
kit/collapse-command

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

Apply the collapse-barrel script to src/command:

  • delete the one-line src/command/index.ts barrel
  • git mv the implementation from src/command/command.ts to src/command/index.ts
  • append export * as Command from "." to the new index

Verification

  • bunx --bun tsgo --noEmit — clean (only pre-existing unrelated @npmcli/arborist warning).
  • bun run --conditions=browser ./src/index.ts generate — clean.
  • Relevant tests pass.

@kitlangton kitlangton enabled auto-merge (squash) April 16, 2026 20:30
@kitlangton kitlangton merged commit 3fe906f into dev Apr 16, 2026
13 checks passed
@kitlangton kitlangton deleted the kit/collapse-command branch April 16, 2026 20:30
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant