Skip to content

refactor: remove the unpublished dunkdiff/opentui component - #18

Merged
amix merged 1 commit into
mainfrom
amix/audit-3-drop-opentui
Nov 10, 2026
Merged

amix merged 1 commit into
mainfrom
amix/audit-3-drop-opentui

Conversation

@amix

@amix amix commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Context

Stacked on #17. README, docs/opentui-component.md, and example 7 advertise import { DunkDiffView } from "dunkdiff/opentui". We publish the staged prebuilt meta package, which never had exports, dist/npm, or peers (npm view dunkdiff exports is empty), so nobody could import it.

What was changed

  • Remove src/opentui/, its docs, example 7, and both extra tsconfigs.
  • Remove the root-pack path that only existed for it: build:npm, check:pack, prepack, the CI pack jobs, the bun runtime dependency, and the launcher's fallback to a dist/npm/main.js the published package never had.
  • Mark the root package.json private so an accidental npm publish from the repo root can't ship a package with no binary.

Verified the staged prebuilt package installs and runs (--version, skill path, a real PTY diff) with Bun absent from PATH.

@amix
amix added this pull request to stack #20 November 10, 2026 06:51
@amix
amix force-pushed the amix/audit-3-drop-opentui branch 2 times, most recently from 4b4de52 to b4f8fbd Compare November 10, 2026 06:58
Base automatically changed from amix/audit-2-cleanup to main November 10, 2026 06:59
README, docs/opentui-component.md, and example 7 advertised
`import { DunkDiffView } from "dunkdiff/opentui"`, but the package we
actually publish is the staged prebuilt meta package, which never had
`exports`, `dist/npm`, or peer dependencies. Nobody could import it.

Drop the component, its docs, example, and tsconfigs, plus the root-pack
path that only existed to build it: `build:npm`, `check:pack`, `prepack`,
the CI pack jobs, the `bun` runtime dependency, and the launcher's
fallback to a `dist/npm/main.js` that the published package never
contained. The root manifest is now `private` so an accidental
`npm publish` from the repo root can't ship a package with no binary.
@amix
amix force-pushed the amix/audit-3-drop-opentui branch from b4f8fbd to 8ecef8c Compare November 10, 2026 06:59
@amix
amix merged commit ec753f1 into main Nov 10, 2026
1 check passed
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.

1 participant