Skip to content

refactor: collapse plugin barrel into plugin/index.ts#22914

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

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

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

Apply the collapse-barrel script to src/plugin:

  • delete the one-line src/plugin/index.ts barrel
  • git mv the implementation from src/plugin/plugin.ts to src/plugin/index.ts
  • append export * as Plugin from "." to the new index
  • any sibling files in src/plugin/ that imported "./plugin" now import "."

Verification

  • bunx --bun tsgo --noEmit — no new errors (baseline diff clean).
  • bun run --conditions=browser ./src/index.ts generate — clean.
  • bun run test test/plugin — all pass.

@kitlangton kitlangton enabled auto-merge (squash) April 16, 2026 20:30
@kitlangton kitlangton merged commit 2638e2a into dev Apr 16, 2026
13 checks passed
@kitlangton kitlangton deleted the kit/collapse-plugin branch April 16, 2026 20:37
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