Skip to content

chore(app): remove stale frontend dependencies - #42464

Merged
kitlangton merged 1 commit into
v2from
prune-frontend-deps
Aug 14, 2026
Merged

kitlangton merged 1 commit into
v2from
prune-frontend-deps

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

What

Remove verified-unused frontend dependency declarations from @opencode-ai/app, @opencode-ai/ui, and @opencode-ai/session-ui, then regenerate bun.lock.

How

  • Removes @solid-primitives/active-element, audio, scroll, timer, and websocket from packages/app.
  • Removes @solid-primitives/bounds from packages/ui and packages/session-ui.
  • Removes direct @shikijs/[email protected] declarations from all three packages.
  • Re-verifies no references in package source, scripts, configs, tests, or generated files.

Impact

Measure Before After Change
Direct declarations 10 0 -10
Unique package/version nodes in the install graph 9 0 -9
Published unpacked payload for removed nodes 240,412 B 0 B -234.8 KiB (-0.229 MiB)

The nine removed graph nodes are the seven requested package/version nodes plus @shikijs/[email protected] and @shikijs/[email protected], which were retained only by @shikijs/[email protected]. Shared Solid primitive support nodes remain installed and are excluded from the savings.

Scope

Transformer versions remain where still required elsewhere in the workspace: @shikijs/[email protected] for packages/web / @pierre/diffs, and @shikijs/[email protected] through blume.

Testing

  • bun install
  • bun typecheck in packages/app, packages/ui, and packages/session-ui
  • bun run test in packages/ui: 27 passed
  • bun run test in packages/session-ui: 83 passed
  • bun run test:browser in packages/app: 41 passed
  • bun run build in packages/app and packages/ui
  • .husky/pre-push: workspace typecheck passed (35 tasks)
  • bun run test in packages/app: 696 passed, 13 skipped, with one unrelated locale-data failure where pa-PK resolves to en instead of expected pa; the browser suite was run independently and passed

@kitlangton
kitlangton merged commit 7909817 into v2 Aug 14, 2026
10 checks passed
@kitlangton
kitlangton deleted the prune-frontend-deps branch August 14, 2026 01:53
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 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