Skip to content

chore: remove dead ink and yoga-layout dependencies#1170

Merged
jdalton merged 3 commits intomainfrom
chore/remove-dead-ink-yoga
Apr 7, 2026
Merged

chore: remove dead ink and yoga-layout dependencies#1170
jdalton merged 3 commits intomainfrom
chore/remove-dead-ink-yoga

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton jdalton commented Apr 6, 2026

Summary

ink was removed from source but its catalog entries and yoga-layout WASM download remained as dead code.

Removes:

  • ink, ink-table, ink-text-input, @types/ink, yoga-layout from pnpm-workspace.yaml catalog
  • yoga WASM download step from build-js.mjs and build.mjs
  • yoga asset config and transformYogaSync from download-assets.mjs

None of these are in the lockfile (0 references). The 403 CI failures on yoga download will be resolved by this removal.


Note

Low Risk
Low risk cleanup that removes unused dependencies and build steps; main risk is unintended reliance on the removed yoga asset download in some build path, but no references remain in the repo.

Overview
Removes the CLI build-time Yoga WASM download and related processing logic, simplifying build-js.mjs, build.mjs watch mode, and scripts/download-assets.mjs by deleting the yoga asset definition and its transformYogaSync workaround.

Cleans the workspace catalog by dropping unused Ink-related packages (ink, ink-table, ink-text-input, @types/ink) and yoga-layout, eliminating dead dependency entries that were causing CI failures during yoga asset download.

Reviewed by Cursor Bugbot for commit 70897b1. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 70897b1. Configure here.

@jdalton jdalton force-pushed the chore/remove-dead-ink-yoga branch from 70897b1 to 59ec640 Compare April 7, 2026 00:02
ink was removed from source but its catalog entries and yoga-layout
WASM download remained. Remove:
- ink, ink-table, ink-text-input, @types/ink from catalog
- yoga-layout from catalog
- yoga WASM download step from build-js.mjs and build.mjs
- yoga asset config and transformYogaSync from download-assets.mjs
@jdalton jdalton force-pushed the chore/remove-dead-ink-yoga branch from 59ec640 to d87f995 Compare April 7, 2026 00:06
jdalton added 2 commits April 6, 2026 20:20
…ests

vi.mock('node:fs') auto-mocking fails intermittently with vitest's
threads pool + sharding. Switch source files to namespace fs imports
and tests to vi.spyOn so mocks intercept at runtime without module
replacement.

Also remove dead processAsset function and unused computeFileHash
import from download-assets.mjs.
@jdalton jdalton merged commit ac55058 into main Apr 7, 2026
13 checks passed
@jdalton jdalton deleted the chore/remove-dead-ink-yoga branch April 7, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants