@inquirer/prompts 5.0.2 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -301,6 +301,32 @@ Confirm with a toggle. Select a choice with arrow keys + Enter.
|
|
|
301
301
|
? Do you want to continue? no / yes
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
+
[**Sortable Checkbox Prompt**](https://github.com/th0r/inquirer-sortable-checkbox)<br/>
|
|
305
|
+
The same as built-in checkbox prompt, but also allowing to reorder choices using ctrl+up/down.
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
? Which PRs and in what order would you like to merge? (Press <space> to select, <a> to toggle all, <i> to invert selection, <ctrl+up> to move item up, <ctrl+down> to move item down, and <enter> to proceed)
|
|
309
|
+
❯ ◯ PR 1
|
|
310
|
+
◯ PR 2
|
|
311
|
+
◯ PR 3
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
[**Multi Select Prompt**](https://github.com/jeffwcx/inquirer-select-pro)
|
|
315
|
+
|
|
316
|
+
An inquirer select that supports multiple selections and filtering/searching.
|
|
317
|
+
|
|
318
|
+
```
|
|
319
|
+
? Choose your OS, IDE, PL, etc. (Press <tab> to select/deselect, <backspace> to remove selected
|
|
320
|
+
option, <enter> to select option)
|
|
321
|
+
>> vue
|
|
322
|
+
>[ ] vue
|
|
323
|
+
[ ] vuejs
|
|
324
|
+
[ ] fuelphp
|
|
325
|
+
[ ] venv
|
|
326
|
+
[ ] vercel
|
|
327
|
+
(Use arrow keys to reveal more options)
|
|
328
|
+
```
|
|
329
|
+
|
|
304
330
|
# License
|
|
305
331
|
|
|
306
332
|
Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/prompts",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Inquirer prompts, combined in a single package",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"typings": "./dist/cjs/types/index.d.ts",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
|
|
59
59
|
"tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
|
|
60
60
|
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
|
|
61
|
+
"dev": "tsc -p ./tsconfig.json --watch",
|
|
61
62
|
"attw": "attw --pack"
|
|
62
63
|
},
|
|
63
64
|
"engines": {
|
|
@@ -76,18 +77,18 @@
|
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
"dependencies": {
|
|
79
|
-
"@inquirer/checkbox": "^2.3.
|
|
80
|
-
"@inquirer/confirm": "^3.1.
|
|
81
|
-
"@inquirer/editor": "^2.1.
|
|
82
|
-
"@inquirer/expand": "^2.1.
|
|
83
|
-
"@inquirer/input": "^2.1.
|
|
84
|
-
"@inquirer/password": "^2.1.
|
|
85
|
-
"@inquirer/rawlist": "^2.1.
|
|
86
|
-
"@inquirer/select": "^2.3.
|
|
80
|
+
"@inquirer/checkbox": "^2.3.4",
|
|
81
|
+
"@inquirer/confirm": "^3.1.8",
|
|
82
|
+
"@inquirer/editor": "^2.1.8",
|
|
83
|
+
"@inquirer/expand": "^2.1.8",
|
|
84
|
+
"@inquirer/input": "^2.1.8",
|
|
85
|
+
"@inquirer/password": "^2.1.8",
|
|
86
|
+
"@inquirer/rawlist": "^2.1.8",
|
|
87
|
+
"@inquirer/select": "^2.3.4"
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
|
-
"@inquirer/type": "^1.3.
|
|
90
|
+
"@inquirer/type": "^1.3.2"
|
|
90
91
|
},
|
|
91
92
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/prompts/README.md",
|
|
92
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "a2d925494f290e9c491457413c9f792e24d85c91"
|
|
93
94
|
}
|