Skip to content

feat: unwrap 11 util namespaces to flat exports + barrel#22739

Merged
kitlangton merged 1 commit intodevfrom
kit/ns-util-all
Apr 16, 2026
Merged

feat: unwrap 11 util namespaces to flat exports + barrel#22739
kitlangton merged 1 commit intodevfrom
kit/ns-util-all

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

Convert all remaining export namespace in src/util/ to flat named exports with shared export * as barrel:

Color, Filesystem, Keybind, LocalContext, Locale, Lock, Log, Process, Rpc, Token, Wildcard

Why one PR

These all share src/util/index.ts as their barrel file. Separate PRs create serial merge conflicts on every merge — each one dirties all the others. One PR avoids the churn.

Details

  • 188 files changed (mostly one-line import path rewrites)
  • Log: 1 self-reference fix, test/preload.ts dynamic import fix
  • Process: 1 sibling import fix
  • Full typecheck clean

Part of the namespace tree-shake migration.

Color, Filesystem, Keybind, LocalContext, Locale, Lock, Log,
Process, Rpc, Token, Wildcard — all converted to flat exports
with shared barrel in util/index.ts.

These share a barrel so they go together to avoid serial
merge conflicts.
@kitlangton kitlangton enabled auto-merge (squash) April 16, 2026 03:10
@kitlangton kitlangton disabled auto-merge April 16, 2026 03:14
@kitlangton kitlangton merged commit 343a564 into dev Apr 16, 2026
12 checks passed
@kitlangton kitlangton deleted the kit/ns-util-all branch April 16, 2026 03:16
jerome-benoit pushed a commit to jerome-benoit/opencode that referenced this pull request Apr 16, 2026
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