rushstack
rushstack copied to clipboard
[heft] Run shell script action
Sometimes, running an arbitrary shell script is all you need for success.
runScript
is complicated, not documented and hella strict. I just want to run an arbitrary script like a package.json script would do it.
also need run binary in node_modules/.bin
Putting together a plugin to run a shell script would be pretty easy. Would you be interested in contributing that as an official plugin?
Hmm... Maybe? Not sure when I'll have the time, so this is up for grabs for the moment, but I'll keep that in mind for when I might want to code outside of work. Somewhat weird to start heft plugin with @D4N14L's work in progress...
@Faithfinder plugin differences aren't that big, so migration (especially for a plugin with this functionality) would be quick to accomplish. Having said that, runScript
can be used with a dev-provided .js
file which simply spawns some process. Though I can understand wanting a plugin to simply run a CLI command in some dir.