Releases: br14n-sol/inquirer-file-selector
Releases · br14n-sol/inquirer-file-selector
0.6.1 (2024-12-01)
QoL's
- Added a
./
option in the explorer when the selection type is'directory'
or'file+directory'
. This allows for quicker selection of the current directory. #36 @pastacolsugo
Other Changes
- build(deps): update @inquirer/core to 10.1.0 #35
- build(deps): update @inquirer/figures to 1.0.8 #35
- build(deps-dev): update @inquirer/select to 4.0.2 #35
- build(deps-dev): update @inquirer/type to 3.0.1 #35
- refactor: remove unnecessary type cast in
usePrefix
#35 - chore: set up commit hooks with husky #37
- refactor: add
SelectionType
type bb7804c - chore: update .node-version to 18.20.5 d78b915
0.6.0 (2024-10-30)
Features
- Add the possibility to select directories. #24
Refactors
Other Changes
- build(deps-dev): update typescript to 5.6.3 #34
- build(deps-dev): update tsup to 8.3.5 #34
- build(deps-dev): update @biomejs/biome to 1.9.4 #34
- build(deps-dev): update @inquirer/type to 3.0.0 #34
- build(deps-dev): update @inquirer/select to 4.0.1 #34
- build(deps): update @inquirer/core to 10.0.1 #34
- build(deps): update @inquirer/figures to 1.0.7 #34
- docs: update README.md
- docs: add
type-selection
example - docs: update
recursive
example
0.5.0 (2024-10-22)
Features
- Add the
filter
option. #27- Now
match
option are deprecated and will be completely removed in version 0.6.0
- Now
Warning
Unlike the match
option, filter
allows you to filter directories as well, so it should be used with caution as it may break the navigation, preventing you from moving forward in the directory tree.
- Add the
showExcluded
option. #27- Now
hideNonMatch
option are deprecated and will be completely removed in version 0.6.0
- Now
Note
As its name indicates showExcluded
works the other way around than hideNonMatch
.
- Add support for custom prefix based on the status of the prompt. #31
- Add loop boolean property to allow loops in file list. #32
Refactors
- Remove deprecated option
noFilesFound
,path
andcanceledLabel
#23
Other Changes
- build(deps-dev): update @inquirer/select to 2.5.0 #26
- build(deps-dev): update @biomejs/biome to 1.9.1 #28
- build(deps-dev): update typescript to 5.6.2 #28
- build(deps-dev): update tsup to 8.3.0 #28
- build(deps-dev): update @inquirer/type to 2.0.0 #28
- build(deps): update @inquirer/figures to 1.0.6 #28
- build(deps): update @inquirer/core to 9.2.1 #28
- docs: update README.md
0.4.0 (2024-08-20)
Features
- Add the
emptyText
andcancelText
options with their respective theme options. #13- Now
noFilesFound
andcanceledLabel
options are deprecated and will be completely removed in version 0.5.0 - Now
noFilesFound
theme option has been deprecated and will be removed completely in version 0.5.0
- Now
- Add the
basePath
option. #17- Now
path
option has been deprecated and will be removed completely in version 0.5.0
- Now
Fixes
- In node versions >= 18 and < 18.20.0,
dirent.parentPath
does not exist. #15
Refactors
Other Changes
- docs: update README.md
0.3.1 (2024-08-11)
Fixes
- Loss focus of the active item when
hideNonMatch
isfalse
and the first item in the list is disabled. #10
0.3.0 (2024-08-08)
Features
- Add the
hideNonMatch
option to hide files that do not match theextensions
option or thematch
option, if provided. #5 - Add
match
option. #7- Now the
extensions
option has been deprecated and will be removed completely in version 0.4.0
- Now the
- Add the
allowCancel
option to allow the user to cancel the selection by pressing theEsc
key. #8- Now to go to the parent directory you must press the
Backspace
key.
- Now to go to the parent directory you must press the
Other Changes
0.2.1 (2024-08-04)
0.2.0 (2024-07-29)
Features
- Add support for custom themes (43e3c94)
Other Changes
- build(deps): update @inquirer/core to v9.0.6 (9e8284e)
- lint: update @biomejs/biome rules (3406104)
- build(deps-dev): add @tsconfig/node18 (48309e8)
- refactor: remove ansi-escapes and add CURSOR_HIDE constant (52f422e)
- refactor: replace yoctocolors with chalk (f6ea985)
- refactor: move types to separate file (013c049)
- refactor: move utils and constants to separate file (719aad8)
- feat: add ensureTrailingSlash(), stripAnsiCodes() and getMaxLength() utils (a1e12a1)
- build(deps-dev): add @inquirer/type (8101a92)
- docs: update README.md (07b269d)
- chore: update preview.gif (54c974d)
0.1.1 (2024-07-28)
0.1.0 (2024-07-27)
Initial release.