Skip to content

Conversation

@nathanjsharpe
Copy link

@nathanjsharpe nathanjsharpe commented Nov 12, 2025

Updates from inquirer to @inquirer/prompts and uses search for region select rather than a raw list.

search

If you have a lot of regions, the region select can be tedious. I know you can specify files to reduce the regions available, but it's nice to not have to, especially when running interactively and combining requests from different files.

I used fuzzysort for the search because it's tiny, fast, has no dependencies, and provides all the functionality that we would reasonably need.

I gave up on figuring out the magic incantation to make dynamic imports work with the new packages in tests. Instead, I just injected them so I could pass mocks for tests.

@nathanjsharpe nathanjsharpe changed the title Inquirer prompts feat: update to @inquirer/prompts, use search for region select Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant