I been using golang lately to replace shells.
Pros:
* LSP
* faster compile times than the node startup time
* cross-platform
* strong types
* great std + many libs available
* not bash script
* fits easily in CI
Cons: * not bash script :-)