Commit 9cccdb6
committed
feat(prompts): add @inquirer/checkbox support
- Add @inquirer/checkbox@4.3.1 as pinned dev dependency
- Create external wrapper at src/external/@inquirer/checkbox.js
- Add checkbox to build externals config for bundling
- Export checkbox prompt with spinner/theme/signal support
Enables multi-select prompts in Socket CLI tools.1 parent 264e291 commit 9cccdb6
4 files changed
Lines changed: 80 additions & 0 deletions
File tree
- scripts/build-externals
- src/external/@inquirer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| 606 | + | |
606 | 607 | | |
607 | 608 | | |
608 | 609 | | |
| |||
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 | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments