Commit d6d22c7
committed
refactor: delete TUI code (mask, prompts, progress, clear, inquirer vendoring)
The TUI surface — interactive keyboard handling (mask), inquirer-based
prompts (prompts), progress bars (progress), and cursor control (clear) —
is being replaced by a dedicated TUI package. Removing here per the
'FORBIDDEN to maintain backward compatibility — actively remove' rule.
Removed:
- src/stdio/mask.ts + tests (ctrl+o toggle runner, uses setRawMode/keypress)
- src/stdio/prompts.ts + tests (inquirer wrappers)
- src/stdio/clear.ts + tests (cursor/line clear, only mask consumed it)
- src/stdio/progress.ts (progress bar, zero callers)
- src/external/@inquirer/{checkbox,confirm,input,password,search,select}.js
(vendored inquirer — only stdio/prompts used them)
- scripts/utils/interactive-runner.mts (consumed mask from lib-stable)
- package.json ./stdio/{clear,mask,progress,prompts} exports
- package.json @inquirer/* devDeps (6 packages)
- pnpm-workspace.yaml @inquirer/* overrides (3 entries)
- build/validator refs to @inquirer/* and external-pack rewrote to drop them
- scripts/test/main.mts: removed TTY branch that used interactive-runner
Public API surface drops from 144 exports to 140. Build passes, all 6207
tests pass.1 parent 421f7e2 commit d6d22c7
26 files changed
Lines changed: 22 additions & 3588 deletions
File tree
- docs
- scripts
- build-externals
- test
- utils
- validate
- src
- external
- @inquirer
- stdio
- test
- integration/stdio
- unit
- stdio
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
206 | 202 | | |
207 | 203 | | |
208 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | 562 | | |
567 | 563 | | |
568 | 564 | | |
| |||
575 | 571 | | |
576 | 572 | | |
577 | 573 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 574 | | |
591 | 575 | | |
592 | 576 | | |
| |||
707 | 691 | | |
708 | 692 | | |
709 | 693 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | 694 | | |
717 | 695 | | |
718 | 696 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 70 | | |
85 | 71 | | |
86 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 197 | | |
206 | 198 | | |
207 | 199 | | |
| |||
0 commit comments