@inquirer/prompts 5.3.5 → 5.3.6
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 +18 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -365,6 +365,24 @@ option, <enter> to select option)
|
|
|
365
365
|
(Use arrow keys to reveal more options)
|
|
366
366
|
```
|
|
367
367
|
|
|
368
|
+
[**File Selector Prompt**](https://github.com/br14n-sol/inquirer-file-selector)<br/>
|
|
369
|
+
A file selector, you can navigate freely between directories, choose what type of files you want to allow and it is fully customizable.
|
|
370
|
+
|
|
371
|
+
```sh
|
|
372
|
+
? Select a file:
|
|
373
|
+
/main/path/
|
|
374
|
+
├── folder1/
|
|
375
|
+
├── folder2/
|
|
376
|
+
├── folder3/
|
|
377
|
+
├── file1.txt
|
|
378
|
+
├── file2.pdf
|
|
379
|
+
└── file3.jpg (not allowed)
|
|
380
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
381
|
+
Use ↑↓ to navigate through the list
|
|
382
|
+
Press <esc> to navigate to the parent directory
|
|
383
|
+
Press <enter> to select a file or navigate to a directory
|
|
384
|
+
```
|
|
385
|
+
|
|
368
386
|
# License
|
|
369
387
|
|
|
370
388
|
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.3.
|
|
3
|
+
"version": "5.3.6",
|
|
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",
|
|
@@ -76,21 +76,21 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@inquirer/checkbox": "^2.4.
|
|
80
|
-
"@inquirer/confirm": "^3.1.
|
|
81
|
-
"@inquirer/editor": "^2.1.
|
|
82
|
-
"@inquirer/expand": "^2.1.
|
|
83
|
-
"@inquirer/input": "^2.2.
|
|
84
|
-
"@inquirer/number": "^1.0.
|
|
85
|
-
"@inquirer/password": "^2.1.
|
|
86
|
-
"@inquirer/rawlist": "^2.2.
|
|
87
|
-
"@inquirer/search": "^1.0.
|
|
88
|
-
"@inquirer/select": "^2.4.
|
|
79
|
+
"@inquirer/checkbox": "^2.4.5",
|
|
80
|
+
"@inquirer/confirm": "^3.1.20",
|
|
81
|
+
"@inquirer/editor": "^2.1.20",
|
|
82
|
+
"@inquirer/expand": "^2.1.20",
|
|
83
|
+
"@inquirer/input": "^2.2.7",
|
|
84
|
+
"@inquirer/number": "^1.0.8",
|
|
85
|
+
"@inquirer/password": "^2.1.20",
|
|
86
|
+
"@inquirer/rawlist": "^2.2.2",
|
|
87
|
+
"@inquirer/search": "^1.0.5",
|
|
88
|
+
"@inquirer/select": "^2.4.5"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@inquirer/type": "^1.5.1"
|
|
92
92
|
},
|
|
93
93
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/prompts/README.md",
|
|
94
94
|
"sideEffects": false,
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "8be69de6107bed7d85a7f2bfe99353d106d9c3bf"
|
|
96
96
|
}
|