Closed Falieson closed 5 years ago
Hey Falieson, thanks for the issue.
Would it be possible for you to make a wrapper script with inquirer.js
and trigger release on callback? Related: https://github.com/SBoudrias/Inquirer.js/issues/684
At least for nps, this sounds like a feature request to support an async function as a script. It's something that we've discussed in the past and have decided not to implement, to avoid overcomplicating nps, see #184. Sorry about that.
I through this on stack overflow last summer, and it remains unanswered. https://stackoverflow.com/questions/50770212/adding-a-inquirer-confirmation-prompt-to-nps-package-scripting
essentially, how do I have nps call a prompt that calls a nps script? I get the error about scripts resolving to strings.
Thanks!
Somewhat relates to https://github.com/kentcdodds/nps/issues/123