@inquirer/prompts 5.3.5 → 5.3.7

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.
Files changed (2) hide show
  1. package/README.md +18 -0
  2. package/package.json +13 -13
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.5",
3
+ "version": "5.3.7",
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.4",
80
- "@inquirer/confirm": "^3.1.19",
81
- "@inquirer/editor": "^2.1.19",
82
- "@inquirer/expand": "^2.1.19",
83
- "@inquirer/input": "^2.2.6",
84
- "@inquirer/number": "^1.0.7",
85
- "@inquirer/password": "^2.1.19",
86
- "@inquirer/rawlist": "^2.2.1",
87
- "@inquirer/search": "^1.0.4",
88
- "@inquirer/select": "^2.4.4"
79
+ "@inquirer/checkbox": "^2.4.6",
80
+ "@inquirer/confirm": "^3.1.21",
81
+ "@inquirer/editor": "^2.1.21",
82
+ "@inquirer/expand": "^2.1.21",
83
+ "@inquirer/input": "^2.2.8",
84
+ "@inquirer/number": "^1.0.9",
85
+ "@inquirer/password": "^2.1.21",
86
+ "@inquirer/rawlist": "^2.2.3",
87
+ "@inquirer/search": "^1.0.6",
88
+ "@inquirer/select": "^2.4.6"
89
89
  },
90
90
  "devDependencies": {
91
- "@inquirer/type": "^1.5.1"
91
+ "@inquirer/type": "^1.5.2"
92
92
  },
93
93
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/prompts/README.md",
94
94
  "sideEffects": false,
95
- "gitHead": "b89972b992a65005afd6397b57aa4635010a5ef7"
95
+ "gitHead": "056e26aa6497e0036864d032f9eb8d821de821e7"
96
96
  }