@inquirer/prompts 7.5.0 → 7.5.2
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 +24 -1
- package/package.json +14 -15
package/README.md
CHANGED
|
@@ -372,7 +372,7 @@ Find out more: [@inquirer-cli](https://github.com/fishballapp/inquirer-cli).
|
|
|
372
372
|
|
|
373
373
|
# Community prompts
|
|
374
374
|
|
|
375
|
-
If you created a cool prompt, [send us a PR adding it](https://github.com/SBoudrias/Inquirer.js/edit/main/README.md) to the list below!
|
|
375
|
+
If you created a cool prompt, [send us a PR adding it](https://github.com/SBoudrias/Inquirer.js/edit/main/packages/prompts/README.md) to the list below!
|
|
376
376
|
|
|
377
377
|
[**Interactive List Prompt**](https://github.com/pgibler/inquirer-interactive-list-prompt)<br/>
|
|
378
378
|
Select a choice either with arrow keys + Enter or by pressing a key associated with a choice.
|
|
@@ -461,6 +461,29 @@ Press <esc> to navigate to the parent directory
|
|
|
461
461
|
Press <enter> to select a file or navigate to a directory
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
+
[**Select Prompt with Stateful Banner**](https://github.com/patik/inquirer-select-with-state)<br/>
|
|
465
|
+
The same as built-in select prompt, but it also displays a banner above the prompt which can be updated with a `setState` function. For example, it can display the results of a long-running command without making the user wait to see the prompt.
|
|
466
|
+
|
|
467
|
+
Initial display:
|
|
468
|
+
|
|
469
|
+
```
|
|
470
|
+
Directory size: loading...
|
|
471
|
+
? Choose an option
|
|
472
|
+
❯ Rename
|
|
473
|
+
Copy
|
|
474
|
+
Delete
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
A moment later:
|
|
478
|
+
|
|
479
|
+
```
|
|
480
|
+
Directory size: 123M
|
|
481
|
+
? Choose an option
|
|
482
|
+
❯ Rename
|
|
483
|
+
Copy
|
|
484
|
+
Delete
|
|
485
|
+
```
|
|
486
|
+
|
|
464
487
|
# License
|
|
465
488
|
|
|
466
489
|
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": "7.5.
|
|
3
|
+
"version": "7.5.2",
|
|
4
4
|
"description": "Inquirer prompts, combined in a single package",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -76,21 +76,20 @@
|
|
|
76
76
|
"tsc": "tshy"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@inquirer/checkbox": "^4.1.
|
|
80
|
-
"@inquirer/confirm": "^5.1.
|
|
81
|
-
"@inquirer/editor": "^4.2.
|
|
82
|
-
"@inquirer/expand": "^4.0.
|
|
83
|
-
"@inquirer/input": "^4.1.
|
|
84
|
-
"@inquirer/number": "^3.0.
|
|
85
|
-
"@inquirer/password": "^4.0.
|
|
86
|
-
"@inquirer/rawlist": "^4.1.
|
|
87
|
-
"@inquirer/search": "^3.0.
|
|
88
|
-
"@inquirer/select": "^4.2.
|
|
79
|
+
"@inquirer/checkbox": "^4.1.7",
|
|
80
|
+
"@inquirer/confirm": "^5.1.11",
|
|
81
|
+
"@inquirer/editor": "^4.2.12",
|
|
82
|
+
"@inquirer/expand": "^4.0.14",
|
|
83
|
+
"@inquirer/input": "^4.1.11",
|
|
84
|
+
"@inquirer/number": "^3.0.14",
|
|
85
|
+
"@inquirer/password": "^4.0.14",
|
|
86
|
+
"@inquirer/rawlist": "^4.1.2",
|
|
87
|
+
"@inquirer/search": "^3.0.14",
|
|
88
|
+
"@inquirer/select": "^4.2.2"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@arethetypeswrong/cli": "^0.
|
|
92
|
-
"@inquirer/type": "^3.0.
|
|
93
|
-
"@repo/tsconfig": "workspace:*",
|
|
91
|
+
"@arethetypeswrong/cli": "^0.18.1",
|
|
92
|
+
"@inquirer/type": "^3.0.7",
|
|
94
93
|
"tshy": "^3.0.2"
|
|
95
94
|
},
|
|
96
95
|
"engines": {
|
|
@@ -113,5 +112,5 @@
|
|
|
113
112
|
"optional": true
|
|
114
113
|
}
|
|
115
114
|
},
|
|
116
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "85d4642b4a7a2229ea60167fc7cc25fe6fea2f18"
|
|
117
116
|
}
|