Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace/fork enquirer? #402

Open
parkerault opened this issue Jul 6, 2022 · 4 comments
Open

Replace/fork enquirer? #402

parkerault opened this issue Jul 6, 2022 · 4 comments

Comments

@parkerault
Copy link

Enquirer seems to be dead. The last substantial commits were in January 2020, and there are open PRs from several years ago (including this one, which I really need: enquirer/enquirer#272). It might be a good idea to create a fork for hygen so updates/improvements can be made.

@jondot
Copy link
Owner

jondot commented Jul 6, 2022

Thanks, do you have a suggestion to replace?
Or better still -- can offer a PR that replaces with something better?

@parkerault
Copy link
Author

Hah, that's a fair question. I just thought I'd bring it up for discussion. I don't think it would be a good idea to completely replace it with something else since you'd either have to write an adapter for backwards compatibility, or require the entire community to rewrite their prompt.js files. Creating a jondot/enquirer fork would probably be the most pragmatic choice; that would at least allow you to merge PRs that the upstream maintainers have abandoned. If you do decide to create your own fork, I'd be happy to make a PR with the fix for autocomplete that allows custom user input, since that's the issue I'm dealing with at the moment.

@jondot
Copy link
Owner

jondot commented Jul 6, 2022

I'm tracking prompts but i'm not sure it's as generalistic as enquirer, which is itself was a replacement for inquirer

@katm201
Copy link

katm201 commented Feb 16, 2023

Enquirer was built on top of inquirer, which is still very much alive. They've got much the same API, so the level of effort should be a lot lower compared to a complete rip and replace.

Given the last release from enquirer was 3 years ago and I've been starting to run into some serious bugs with it, I've been considering switching to a different boilerplate generator like plop (which is built on inquirer instead), if this continues to go unaddressed.

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

No branches or pull requests

3 participants